Re: LEAF for PC Engines APU1D Board

Jean-Roch Blais <[email protected]>
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hello Bob,

If this board behaves like my APU2C2, it can boot from a USB key or an SD card. If you have no SSD inserted, the USB key will be recognized as /dev/sda1, but if you are using a SD card in the SD card slot, it will be /dev/mmcplk0p1… This is what I meant by checking your LEAFCFG and PKGPATH variables in syslinux.cfg and in leaf.cfg… make them point to the right device.

I would suggest you boot from a USB key, generated with any x86_64_serial image and then use Erich’s “leafinstall” script to generate a dual boot on your SD card. The USB key will be detected as /dev/sda1 and this is what the tarball image uses by default. You can manually change /dev/sda1 to /dev/mmcblk0p1 but using “leafinstall” will do that for you.

Even though the whole documentation is not finished for LEAF 7.x, the part that describe how to install to a SD card or USB is basically completed. 
Have a look at https://bering-uclibc.zetam.org/wiki/Bering-uClibc_7.x_-_User_Guide_-_Installing_the_Disk_Image#Preparing_the_Flash_Media <https://bering-uclibc.zetam.org/wiki/Bering-uClibc_7.x_-_User_Guide_-_Installing_the_Disk_Image#Preparing_the_Flash_Media> specially at the last "A very important reminder here” paragraph.

You could also try https://sourceforge.net/projects/leaf/files/Bering-uClibc/7.0.1/Bering-uClibc_x86_ser.img/download <https://sourceforge.net/projects/leaf/files/Bering-uClibc/7.0.1/Bering-uClibc_x86_ser.img/download> and use this doc: "https://bering-uclibc.zetam.org/wiki/Bering-uClibc_7.x_-_User_Guide_-_Installing_the_Disk_Image#Simple_copy_for_USB_booting <https://bering-uclibc.zetam.org/wiki/Bering-uClibc_7.x_-_User_Guide_-_Installing_the_Disk_Image#Simple_copy_for_USB_booting>"

Let me… us know how it went !!!

bye

jrb.



> On May 11, 2021, at 10:03, Bob von Knobloch <[email protected]> wrote:
> 
> Hi all,
> is there a suitable image for this board?
> I've tried a few and each time the first partition (with the leaf files) is not recognised during boot, so no leaf files get loaded, although linux itself runs.
> 
> After boot, /dev/sda1 appears and can be mounted (by hand).
> Seems like a hardware to driver mismatch, unless anyone has a better idea?
> 
> Many thanks,
> 
> Bob
> -- 
> The Sun is out, the sky is blue, it's time to drive the MR2.
> 
> 
> ------------------------------------------------------------------------
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/


------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.