150balbes / Jetson-Nano

Kernel Jetson Nano
Other
147 stars 125 forks source link

boot from internal mmc #12

Closed gcsuri closed 5 years ago

gcsuri commented 5 years ago

Hi 150balbes,

could you enable the following config options to the kernel, please? CONFIG_BLK_CMDLINE_PARSER=y CONFIG_CMDLINE_PARTITION=y CONFIG_MTD_CMDLINE_PARTS=y So with this options there can be boot the box from internal mmc with the old partition layout. example: blkdevparts=mmcblk1:0x0800000@0x027400000(env),0x0800000@0x02e400000(dtb),0x02000000@0x034400000(boot),0x080000000@0x036c00000(swap),0x02eca00000@0x0b7400000(data) root=/dev/mmcblk1p5 ...

thanks you best regards, Gabor

gcsuri commented 5 years ago

ps: sorry I wanted to write it into the build-armbian repo...

150balbes commented 5 years ago

CONFIG_CMDLINE_PARTITION=y

This option is not detected.

gcsuri commented 5 years ago

Hi 150balbes,

CONFIG_PARTITION_ADVANCED=y CONFIG_CMDLINE_PARTITION=y are needed for booting from cmdline defined mtd device. Thank you, Gabor

gcsuri commented 5 years ago

means CONFIG_PARTITION_ADVANCED=y is needed to detect CONFIG_CMDLINE_PARTITION=y