Custom for Pocketbook 624, is it possible?
Good day. It all started with the fact that the sd card died in the reader (internal! On it and the firmware is recorded). So the data from it is read, not written. In fact - there are 2 options:
1) Official poketbook service. 450 rubles for rebuilding the firmware. Not very interesting
2) Change the SDSN card and transfer all that remains on the card to a new carrier. Happened. Bootlup Probably there are some other bindings besides SDSN.
And then suddenly a thought came to mind - I decided to hook up to the reader according to uart and see what she was thinking there.
So, according to uart we have a full shell.
Actually, what I'm driving to is having a fully-fledged linux, it remains to find (write?) An application to display data on the screen. So far only a program for displaying text has been found, it works!
Essentially:
1) How does graphics work in linux? I know about framebuffer, but I don’t know how to use it. I tried to write random data to it - it does not work ... Especially interesting are the features for specific devices, for example, for AV output, or the same EINK display
2) Maybe someone has a ready lib / program for output to eink? Or can it pull from the drain?
-----------
UPD: I decided to start from scratch, that is, build a normal clean distribution from scratch. Collected Uboot from the OLinuXino project. But it stops:
U-Boot SPL 2016.09 (Sep 15 2016 - 15:46:03)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI / AHB / APB: 3/2/2
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
I understand that the loader has a confusion with the cards. Hardware can connect two cards to hardware, so most projects have a card on port 0, and I have a 2. I can't understand how the u-boot configuration is configured? On the other hand, the percent has already loaded the preloader, it is strange why it starts to search not there.
It may also be that the bootloader is trying to load the kernel, but are they trying to access the bootloader console or not ...
Post has been editedDr. Mario - 06.10.16, 12:44