Title: Buildroot uSD image fails to boot due to MMC errors? [Print This Page] Author: brianm Time: 11/14/2020 14:18 Title: Buildroot uSD image fails to boot due to MMC errors? Hi I'm building an SD card image for the Firefly RK3288 board using buildroot. Here are the steps I've followed to build the image.
... lots of compiling ...when finally finished, then write .../output/images/sdcard.img to high quality SanDisk class 10 uSD card
Preparation on the Firefly board were to image the board with the Firefly-RK3288-Reload_Ubuntu14.04_201803201147.img image and boot the board. Next I cleared the EMMC part so the board will boot from the uSD per the thread (https://bbs.t-firefly.com/forum.php?mod=viewthread&tid=1777&extra=&page=2) instructions with:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=4
Copy the code
I then insert the uSD card into the board and reset the board. It properly boots uBoot and then the Linux kernel, but the kernel can't ever get the root filesystem loaded due to what look like MMC errors reading the uSD card's filesytem.
I know the uSD card is good as I have tried several cards, all with the same results. I also have tried reading / writing the cards on the Firefly board when it is using the Factory Ubuntu image and that works as well.
Here is the boot output from the Firefly showing the failures in trying to mount the filesystem:
[ 13.460088] [<c0015638>] (__irq_svc) from [<c0010a28>] (arch_cpu_idle+0x40/0x4c)
[ 13.467574] [<c0010a28>] (arch_cpu_idle) from [<c0072ab0>] (default_idle_call+0x3c/0x40)
[ 13.475752] [<c0072ab0>] (default_idle_call) from [<c0072d80>] (cpu_startup_entry+0x26c/0x3f4)
[ 13.484447] [<c0072d80>] (cpu_startup_entry) from [<c00172c4>] (secondary_start_kernel+0x150/0x174)
[ 13.493565] [<c00172c4>] (secondary_start_kernel) from [<000095cc>] (0x95cc)
[ 13.500963] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.</font>
Copy the code
Any suggestions on what might be wrong here? I've tried several things, but can't seem to get a working image to boot with.
Thanks in advance for any help!!
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)