2013.09.24. 23:57 keltezéssel, Flávio Silveira írta: > > Jacek Kikiewicz wrote: > >> Don't you have to have partition called rootfs in your definition? >> Then it should pick it up... >> Regards, >> Jacek > > Hi Jacek, thanks for your quick answer. > > I don't know, ít's not what I'm seeing in others dts files and when I was > starting to port this device I was told to keep only u-boot, u-boot-env and > devdata partitions from stock firmware, but I decided to put u-boot-env > together > with devdata. > > Here is stock boot log: http://codepad.org/stXQWQSQ > > Looking at https://dev.openwrt.org/changeset/38114 it seems the parser is > disabled for anything else besides ar71xx.
Yes, it is disabled by default because it is only tested on ar71xx so far. However it should work on ramips as well, and it will be enabled once I have a chance to test it on the DIR-645. If you want to try it on the DIR-610, you can enable it in the kernel config: 'Device Drivers > Memory Technology Device (MTD) support > OpenWrt specific MTD options > Seama firmware parser' > Also, when I look at the parser code itself, it seems that it searches for > rootfs in firmware partition, after the kernel > > https://dev.openwrt.org/browser/trunk/target/linux/generic/files/drivers/mtd/mtdsplit_seama.c?rev=38114 Correct. The Seama images are starting with the kernel and the rootfs is placed after that. At least on the devices I have. -Gabor _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
