Re: [问题] mtdblock 到 file system的大小变化

楼主: qsort (Cos)   2014-11-05 12:46:39
: [ 0.710000] Creating 5 MTD partitions on "spi0.0":
: [ 0.720000] 0x000000000000-0x000000020000 : "u-boot"
: [ 0.720000] 0x000000020000-0x00000012ed38 : "kernel"
: [ 0.730000] mtd: partition "kernel" must either start or end on erase
: block boundary or be smaller than an erase block
作者: filiaslayers (司马云)   2014-11-05 12:57:00
我一直很想问,这种piggy back的打包方式,kernel要如何知道rootfs在哪里?
楼主: qsort (Cos)   2014-11-05 13:10:00
piggy back有很多种方式,最常用的是前面有super headerkernel可以自己读super header, 或是bootloader带参数给kernel, 至于detail,要去trace gen image的source code.例如: mkimage
作者: filiaslayers (司马云)   2014-11-05 20:13:00
了解,感谢

Links booklink

Contact Us: admin [ a t ] ucptt.com