Repository navigation
Conversation
The *v100 arm sent fh8626v100 the 3.0.8 kernels' spi_flash MTD id; its kernel (fullhan-fh8852v200) names the flash spi0.0, so the mtdparts were ignored and the board's built-in partitions mounted no root.
PR Summary by QodoUse spi0.0 for FH8626V100 QEMU boot partitions
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
It writes the mtdparts= into the generated image's U-Boot environment and maps every *v100 SoC to spi_flash too, so an FH8626V100 image booted from its own bootargs had the same unmountable root.
|
Qodo's finding is right, and the fix is in 4fe304c: |
Understood. Finding 1 is resolved by commit |
test-fullhan-boot.shgives any SoC name ending inv100the 3.0.8 kernels'spi_flashMTD id. FH8626V100's kernel is 4.9.129 (OpenIPC/linuxfullhan-fh8852v200, OpenIPC/linux#53), and there the flash isspi0.0. Themtdparts=was therefore ignored, the board's built-in partitions were used, and no root was mounted (VFS: Unable to mount root fs on unknown-block(31,3)).With this change, an OpenIPC
fh8626v100_liteimage passes all five checks on thefh8626v100machine. The 3.0.8 boards (fh8852v100,fh8856v100,fh8833v100) still getspi_flash.