www.8devices.com
View unanswered posts | View active topics It is currently 28 Apr 2024, 23:15



Reply to topic  [ 1 post ] 
 Modify openwrt image 
Author Message

Joined: 17 May 2013, 17:50
Posts: 20
Hi,
I am trying to add modify/add some files inside an openwrt sysupgrade image using firmware modification kit. It seems to extract it fine, but
when I try to do ./build.firmware.sh which used 256kb blocksize for flashsquashfs, it says

ERROR: New firmware image will be larger than original image!
Building firmware images larger than the original can brick your device!
Try re-running with the -min option, or remove any unnecessary files.
REFUSING to create new firmware image.

So I try it with -min again, the image generated, does boot, but I get a lot of

[ 25.490000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a40018: 0xb0a2 instead

and get a kernel panic, unable to mount rootfs.

Is there something else I have to do to repack extracted images using FMK, or is there some other way to repack extracted rootfs?


09 Sep 2013, 11:09
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.