Re: [OpenWrt-Devel] Firmaware size MT7628

2015-10-20 Thread Baptiste Clenet
2015-10-20 20:28 GMT+02:00 Baptiste Clenet :
> 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 0x: 0x7368 instead
> [0.892987] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x0004: 0x0551 instead
> ...
> [1.043215] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x0030: 0xfb3a instead
> [1.061987] jffs2: Further such events for this erase block will
> not be printed
> [1.080861] jffs2: Empty flash at 0x0038 ends at 0x0040
> [1.164315] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
> not found at 0x0001: 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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Firmaware size MT7628

2015-10-20 Thread Baptiste Clenet
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 0x: 0x7368 instead
[0.892987] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
not found at 0x0004: 0x0551 instead
...
[1.043215] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
not found at 0x0030: 0xfb3a instead
[1.061987] jffs2: Further such events for this erase block will
not be printed
[1.080861] jffs2: Empty flash at 0x0038 ends at 0x0040
[1.164315] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
not found at 0x0001: 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?

Regards,

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


Re: [OpenWrt-Devel] Firmaware size MT7628

2015-10-20 Thread Baptiste Clenet
2015-10-20 21:03 GMT+02:00 Baptiste Clenet :
> 2015-10-20 20:28 GMT+02:00 Baptiste Clenet :
>> 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 0x: 0x7368 instead
>> [0.892987] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
>> not found at 0x0004: 0x0551 instead
>> ...
>> [1.043215] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
>> not found at 0x0030: 0xfb3a instead
>> [1.061987] jffs2: Further such events for this erase block will
>> not be printed
>> [1.080861] jffs2: Empty flash at 0x0038 ends at 0x0040
>> [1.164315] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985
>> not found at 0x0001: 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

Found out my problem by editing the .dts file



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