Modify

Opened 4 years ago

Last modified 4 years ago

#14096 new defect

AA not create wpe72 image

Reported by: neryba@… Owned by: developers
Priority: normal Milestone: Attitude Adjustment 12.09.1
Component: base system Version: Attitude Adjustment 12.09
Keywords: Cc:

Description

downloaded from SVN last AA branch. Selected WPE72 board and luci, all compile without any errors, but no image files created.

Attachments (1)

compex-partition-table-update.patch (676 bytes) - added by neryba 4 years ago.
myloader partition table patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by neryba@…

cp /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/root.squashfs-64k /home/user/wpe72-12.09.1/bin/ar71xx/openwrt-ar71xx-generic-root.squashfs-64k
/home/user/wpe72-12.09.1/staging_dir/host/bin/padjffs2 /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/root.squashfs 4 8 64 128 256
padding image to 001f2000
padding image to 00200000
dd if=/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/root.squashfs of=/home/user/wpe72-12.09.1/bin/ar71xx/openwrt-ar71xx-generic-root.squashfs bs=128k conv=sync
16+1 records in
17+0 records out
2228224 bytes (2.2 MB) copied, 0.0563012 s, 39.6 MB/s
cp /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/vmlinux /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72
/home/user/wpe72-12.09.1/staging_dir/host/bin/patch-cmdline /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 "console=ttyS0,115200"
/home/user/wpe72-12.09.1/staging_dir/host/bin/lzma e /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 -lc1 -lp2 -pb2  /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
/home/user/wpe72-12.09.1/staging_dir/host/bin/mkmylofw -B wpe72 -s 0x400000 -p0x030000:0xe0000:al:0x80060000:kernel:/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma -p0x110000:0:::rootfs:/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/root.squashfs-64k /home/user/wpe72-12.09.1/bin/ar71xx/openwrt-ar71xx-generic-wpe72-squashfs-4M-factory.img
[mkmylofw] Error: file /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma is too big
make[5]: [install] Error 1 (ignored)
cp /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/vmlinux /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72
/home/user/wpe72-12.09.1/staging_dir/host/bin/patch-cmdline /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 "console=ttyS0,115200"
/home/user/wpe72-12.09.1/staging_dir/host/bin/lzma e /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 -lc1 -lp2 -pb2  /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
/home/user/wpe72-12.09.1/staging_dir/host/bin/mkmylofw -B wpe72 -s 0x800000 -p0x030000:0xe0000:al:0x80060000:kernel:/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma -p0x110000:0:::rootfs:/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/root.squashfs-64k /home/user/wpe72-12.09.1/bin/ar71xx/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img
[mkmylofw] Error: file /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma is too big
make[5]: [install] Error 1 (ignored)
cp /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/vmlinux /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72
/home/user/wpe72-12.09.1/staging_dir/host/bin/patch-cmdline /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 "console=ttyS0,115200"
/home/user/wpe72-12.09.1/staging_dir/host/bin/lzma e /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72 -lc1 -lp2 -pb2  /home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma

comment:2 Changed 4 years ago by neryba@…

same error when no additional packages selected.

comment:3 Changed 4 years ago by anonymous

Cannot build image from trunk.

comment:4 Changed 4 years ago by neryba@…

OK, I have changed Myloader partition table and now all works fine

define Image/Build/MyLoader
	-$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s $(4) \
		-p0x030000:0x100000:al:0x80060000:kernel:$(KDIR_TMP)/vmlinux-$(2).bin.lzma \
		-p0x130000:0:::rootfs:$(KDIR)/root.$(1) \
		$(call imgname,$(1),$(2))-$(5)-factory.img
endef

comment:5 Changed 4 years ago by anonymous

In which file do I add/amend this code segment to fix the partition table def in the trunk? I am using a 16MB NOR flash but any kernel size > 1MB, the make fails to build image ..

comment:6 Changed 4 years ago by neryba@…

trunk/target/linux/ar71xx/image/Makefile this file

comment:7 Changed 4 years ago by anonymous

thank you mate! fixed :)

Changed 4 years ago by neryba

myloader partition table patch

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.