通过Hitool烧录 hihope_uboot.bin 后,
使用tftp2emmc命令进行以下网口烧录:
tftp2emmc 0x0 u-boot-hi3559av100.bin
tftp2emmc 0x800 uImage_hi3559av100_big-little
tftp2emmc 0x6800 rootfs_hi3559av100_96M.ext4
tftp2emmc 0x36800 sample_vio.bin
tftp2emmc 0x44800 sample.bin
bootarges设置:
setenv bootargs 'mem=512M console=ttyAMA0,115200 clk_ignore_unused root=/dev/mmcblk0p3 rootfstype=ext4 rw init=/linuxrc rootwait blkdevparts=mmcblk0:1M(boot),12M(kernel),96M(rootfs),-(user)'
bootm设置:
setenv bootcmd 'mmc read 0 0x45000000 0x36800 0x8000; go_a53up 0x45000000; config_m7; mmc read 0 0x42000000 0x44800 0x800; cp.b 0x42000000 0x19000000 0x100000; go_m7; mmc read 0 0x42000000 0x800 0x6000;bootm 0x42000000'
重启以后出现问题:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)
串口打印如图所示:
寻求解决方案
更多回帖