Hello Banana Pi team,
Can you please help me to understand the Kernel build and install process the Banana Pi M4, and verify that the Kernel posted in GitHub actually works?
Here are the steps I take:
-
Download an official Banana Pi M4 image (I choose Ubuntu, but it does not matter really), and flash it to SD Card. Insert into BPI M4, and power up, to confirm that the board is good, and, the BPI-M4 image file got burned to SD Card correctly. This works fine, so we know that the image is good. Now, I try a custom kernel, using a default kernel configuration, no changes made:
-
./build 1 This process takes a long time of course, but, it completes successfully.
-
Remove the SD Card I already burned and tested from the BPI-M4, and insert it back into my PC, and it get’s mounted at ‘/dev/sdc’
-
./build 7 This process completes successfully, it writes the kernel and u-boot to the SD Card.
-
Insert the SD Card back into the M4 board, and try to boot it again. It will not successfully boot, failing with kernel panics after a couple of seconds. Specifically, it makes it through the u-boot, the kernel begins to load, and it reaches a point where it attempts to perform an ‘fsck’. This always fails, and will either cause a kernel panic, or sometimes just drop to ‘initramfs’
So, as you can see in this process, I have not modified the kernel, it is simply cloned from GitHub, built, and then installed. And it does not work.
Or, am I missing a step and doing it incorrectly?
Thanks for any help you can provide.