Modify

Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#4152 closed defect (worksforme)

firmware image file disappeared

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

It appears that something has changed between r13040 and r13060 regarding the final build of the firmware image file when building for an Atheros 231X based Ubiquiti Nanostation 5. The '~bin/openwrt-atheros-ubnt5-jffs2-64k.bin' file is never generated. It used to be generated automatically from the '~bin/openwrt-atheros-root.jffs2-64k' and '~bin/openwrt-atheros-vmlinux.lzma' files (which are built). Has the philosophy as to whether or not to create this file changed, or is this a bug?

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by anonymous

Also, it looks like the mkfwimage command has changed as follows, probably causing a script to fail:

Version 1.2
Usage: mkfwimage [options]
-v <version string> - firmware version information, default: UNKNOWN
-o <output file> - firmware output file, default: firmware-image.bin
-k <kernel file> - kernel file
-r <rootfs file> - rootfs file
-h - this help

VERSUS

Version ??? Usage: mkfwimage [options]
-v <version string> firmware version information, default: UNKNOWN
-o <output file> firmware output file, default: firmware-image.bin
-i <input file> firmware layout file, default: none
-h this help

comment:2 Changed 9 years ago by anonymous

Here's output from make V=99 from a clean svn checkout of r13088 showing the problem.

/home/user/Desktop1/trunk/staging_dir/host/bin/mkfwimage -k /home/user/Desktop1/trunk/bin/openwrt-atheros-vmlinux.lzma -r /home/user/Desktop1/trunk/bin/openwrt-atheros-root.squashfs -v XS2.ar2316.OpenWRT -o /home/user/Desktop1/trunk/bin/openwrt-atheros-ubnt2-squashfs.bin
ERROR: Failed creating firmware layout description - error code: -2
make[5]: [install] Error 253 (ignored)
/home/user/Desktop1/trunk/staging_dir/host/bin/mkfwimage -k /home/user/Desktop1/trunk/bin/openwrt-atheros-vmlinux.lzma -r /home/user/Desktop1/trunk/bin/openwrt-atheros-root.squashfs -v XS5.ar2313.OpenWRT -o /home/user/Desktop1/trunk/bin/openwrt-atheros-ubnt5-squashfs.bin -s 0xBE030000
ERROR: Failed creating firmware layout description - error code: -2

comment:3 Changed 9 years ago by anonymous

It turns out the mkfwimage error was generated indirectly from performing a build that exceeded the flash size of the target device. Mkfwimage does some error checking and proceeds to throw an error rather than generate a ".bin" file if a user inadvertently exceeds the capacity of the target device. This Ticket has no need for further resolution.

comment:4 Changed 9 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.