[OpenWrt-Devel] Firmaware size MT7628

Baptiste Clenet bapclenet at gmail.com
Tue Oct 20 15:03:34 EDT 2015


2015-10-20 20:28 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
> Hi,
>
> I edited the firmware size of the MT7628 board from 4 to 16Mo because
> I've got 16Mo flash. I began with 8Mo ant it worked well but 16Mo
> seems to make the board crash at boot with error messages:
>
> [    0.859932] jffs2: Flash size not aligned to erasesize, reducing to 6720KiB
> [    0.874195] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00000000: 0x7368 instead
> [    0.892987] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00000004: 0x0551 instead
> ...
> [    1.043215] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00000030: 0xfb3a instead
> [    1.061987] jffs2: Further such events for this erase block will
> not be printed
> [    1.080861] jffs2: Empty flash at 0x00000038 ends at 0x00000040
> [    1.164315] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00010000: 0xadd7 instead
> [    1.183110] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00010004: 0x7f0d instead
> ...
> [    1.611456] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x00020024: 0xeae7 instead
> [    1.630228] jffs2: Further such events for this erase block will
> not be printed
> [    1.691809] jffs2: Old JFFS2 bitmask found at 0x000295cc
> [    1.702326] jffs2: You cannot use older JFFS2 filesystems with newer kernels
>
> I don't know if the problem comes from the flash driver or something
> else. Any input would be great if you have already encountered this
> problem?

I edited the Makefile in target/linux/ramips/image:
Image/Build/Profile/MT7628=$(call
BuildFirmware/Default4M/$(1),$(1),mt7628,MT7628)
To
Image/Build/Profile/MT7628=$(call
BuildFirmware/Default16M/$(1),$(1),mt7628,MT7628)
>
> Regards,
>
> --
> Baptiste



-- 
Baptiste
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list