Modify

Opened 3 years ago

#18879 new defect

ImageGenerator: mkimage: invalid entry point 0x

Reported by: mrrhq Owned by: developers
Priority: response-needed Milestone:
Component: other Version: Trunk
Keywords: mkimage error trunk image builder Cc:

Description

Hi, I'm getting an error on my Debian Sid system when trying to use the Image Builder/Generator to make the images to flash on the NanoNote. Seems to fail on U-Boot stage, because mkimage is typically supposed to make the U-Boot image. I am targeting the XBurst Qi-Hardware Ben NanoNote (qi_lb60), but this could affect other systems that use mkimage.

I noticed OpenWrt uses the OS-supplied version of mkimage instead of their own supplied one in a symlink located at staging_dir/host/bin/mkimage, so maybe Debian needs this fix upstream? I dunno.

OpenWrt tarbell/trunk used:

http://downloads.openwrt.org/snapshots/trunk/xburst/generic/OpenWrt-ImageBuilder-xburst_qi_lb60-for-linux-x86_64.tar.bz2

Command line used:

make image FILES=files/

Make errors:

. . .

make[3]: Entering directory '/home/mrrhq/download/nanonote/openwrt-image/target/linux/xburst/image'
# Use symbolic permissions to avoid clobbering SUID/SGID/sticky bits
/home/mrrhq/download/nanonote/openwrt-image/staging_dir/host/bin/find /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.3
3.2/root-xburst -type f -not -perm +0100 -not -name 'ssh_host*' -not -name 'shadow' -print0 | xargs -r -0 chmod u+rw,g+r,o+r                                 /home/mrrhq/download/nanonote/openwrt-image/staging_dir/host/bin/find /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.3
3.2/root-xburst -type f -perm +0100 -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx                                                                              /home/mrrhq/download/nanonote/openwrt-image/staging_dir/host/bin/find /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.3
3.2/root-xburst -type d -print0 | xargs -r -0 chmod u+rwx,g+rx,o+rx                                                                                          install -d -m0755 /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/root-xburst/tmp /home/mrrhq/download/nanonote/op
enwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/root-xburst/overlay                                                                               chmod 1777 /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/root-xburst/tmp
gzip -9 -c /home/mrrhq/download/nanonote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-xburst_qi_lb60/vmlinux > /home/mrrhq/download/nan
onote/openwrt-image/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-xburst_qi_lb60/vmlinux.gz                                                           mkimage -A mips -O linux -T kernel -a 0x80010000 -C gzip -e 0x -n 'MIPS OpenWrt Linux-3.10.58' -d /home/mrrhq/download/nanonote/openwrt-image/build_dir/targe
t-mipsel_mips32_uClibc-0.9.33.2/linux-xburst_qi_lb60/vmlinux.gz /home/mrrhq/download/nanonote/openwrt-image/bin/xburst/openwrt-xburst-qi_lb60-uImage.bin     /home/mrrhq/download/nanonote/openwrt-image/staging_dir/host/bin/bundled/mkimage: invalid entry point 0x
Makefile:46: recipe for target 'kernel_prepare' failed
make[3]: *** [kernel_prepare] Error 1
make[3]: Leaving directory '/home/mrrhq/download/nanonote/openwrt-image/target/linux/xburst/image'
Makefile:158: recipe for target 'build_image' failed
make[2]: *** [build_image] Error 2
make[2]: Leaving directory '/home/mrrhq/download/nanonote/openwrt-image'
Makefile:100: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
make[1]: Leaving directory '/home/mrrhq/download/nanonote/openwrt-image'
Makefile:178: recipe for target 'image' failed
make: *** [image] Error 2

Uname:

Linux lt-worker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.