On 03/19/2015 01:54 PM, Sergey Ryazanov wrote:
> 2015-03-19 15:33 GMT+03:00 Moritz Warning <[email protected]>:
>> On 03/19/2015 01:19 PM, Sergey Ryazanov wrote:
>>> 2015-03-19 15:14 GMT+03:00 Moritz Warning <[email protected]>:
>>>> On 03/19/2015 01:05 PM, Sergey Ryazanov wrote:
>>>>> 2015-03-19 14:48 GMT+03:00 Moritz Warning <[email protected]>:
>>>>>> Hi,
>>>>>>
>>>>>> i have been building my own images for some time already.
>>>>>> But what do I need to selected to build for the (rather old) Nanostation 
>>>>>> 5?
>>>>>>
>>>>>> A prebuild image can be found here:
>>>>>> http://downloads.openwrt.org/barrier_breaker/14.07/atheros/generic/openwrt-atheros-ubnt5-squashfs.bin
>>>>>>
>>>>>> What when I build the atheros images, this image file is not build, 
>>>>>> while many of the others are.
>>>>>>
>>>>>> Is there something I have missed?
>>>>>>
>>>>>
>>>>> 'atheros' target was renamed to 'ath25', so now you need
>>>>> openwrt-ath25-ubnt5-squashfs.bin file.
>>>>>
>>>>> Also, if you build image with some old .config, then you should check
>>>>> in menuconfig, that target system is 'Atheros AR231x'.
>>>>>
>>>>
>>>> ok,
>>>>
>>>> I use OpenWrt "Barrier Breaker" and have selected "Target System (Atheros 
>>>> AR231x/AR5312)"
>>>> and "Target Profile (Default)".
>>>
>>> BB should still call this target 'atheros', target was renamed in
>>> trunk few days ago.
>>>
>>>> But there is no image matching *ubnt5*.
>>>>
>>>> any ideas?
>>>>
>>>
>>> Could you show ls -l bin/atheros/ ?
>>>
>>
>> $ ls -l bin/atheros/
>> total 15548
>> -rw-r--r-- 1 mwarning mwarning     397 Mar 19 12:41 md5sums
>> -rw-r--r-- 1 mwarning mwarning 3866624 Mar 19 12:41 
>> openwrt-atheros-combined.squashfs.img
>> -rw-r--r-- 1 mwarning mwarning 2752512 Mar 19 12:41 
>> openwrt-atheros-root.squashfs
>> -rw-r--r-- 1 mwarning mwarning 3801496 Mar 19 12:41 
>> openwrt-atheros-ubnt2-pico2-squashfs.bin
>> -rwxr-xr-x 1 mwarning mwarning 2997584 Mar 19 12:41 
>> openwrt-atheros-vmlinux.elf
>> -rw-r--r-- 1 mwarning mwarning 1441792 Mar 19 12:41 
>> openwrt-atheros-vmlinux.gz
>> -rw-r--r-- 1 mwarning mwarning 1048576 Mar 19 12:41 
>> openwrt-atheros-vmlinux.lzma
>> drwxr-xr-x 5 mwarning mwarning    4096 Mar 18 23:33 packages
>>
> 
> Khm. All images should be built unconditionally. Looks like something
> went wrong.
> 
> Try to run image build in following manner:
> 
> make target/linux/install V=99
> 
> and you could see image creation command invocation, smth like:
> 
> ..../bin/mkfwimage -B XS5 -v XS5.ar2313.OpenWrt.1234 -k
> ..../openwrt-atheros-vmlinux.lzma -r
> ..../openwrt-atheros-root.squashfs -o
> .../openwrt-atheros-ubnt5-squashfs.bin
> 
> and after this line you could see errors, if any.
> 


I think I see it now:

/media/daten/openwrt/staging_dir/host/bin/mkfwimage -B XS5 -v 
XS5.ar2313.OpenWrt.r44874 -k 
/media/daten/openwrt/bin/atheros/openwrt-atheros-vmlinux.lzma -r 
/media/daten/openwrt/bin/atheros/openwrt-atheros-root.squashfs -o 
/media/daten/openwrt/bin/atheros/openwrt-atheros-ubnt5-squashfs.bin
board = XS5
ERROR: Failed creating firmware layout description - error code: -2
Makefile:62: recipe for target 'install' failed
make[5]: [install] Error 253 (ignored)
/media/daten/openwrt/staging_dir/host/bin/mkfwimage -B XS2-8 -v 
XS2.ar2316.OpenWrt.r44874 -k 
/media/daten/openwrt/bin/atheros/openwrt-atheros-vmlinux.lzma -r 
/media/daten/openwrt/bin/atheros/openwrt-atheros-root.squashfs -o 
/media/daten/openwrt/bin/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin
board = XS2-8
kernel: 1048576 0xa8030000
root: 6029312 0xa8130000
Firmware version: 'XS2.ar2316.OpenWrt.r44874'
Output file: 
'/media/daten/openwrt/bin/atheros/openwrt-atheros-ubnt2-pico2-squashfs.bin'
Part count: 2
     kernel:  1048576 bytes (free:        0)
     rootfs:  2752512 bytes (free:  3276800)
/media/daten/openwrt/staging_dir/host/bin/mkmylofw -B np25g 
-p0x020000:0x130000:ah:0x80041000:linux:/media/daten/openwrt/build_dir/target-mips_mips32_uClibc-0.9.33.2/linux-atheros/vmlinux.bin.gz
 
-p0x150000:0x2a0000:::rootfs:/media/daten/openwrt/bin/atheros/openwrt-atheros-root.squashfs
 /media/daten/openwrt/bin/atheros/openwrt-atheros-np25g-squashfs.bin
[mkmylofw] Error: file 
/media/daten/openwrt/build_dir/target-mips_mips32_uClibc-0.9.33.2/linux-atheros/vmlinux.bin.gz
 is too big
Makefile:62: recipe for target 'install' failed
make[5]: [install] Error 1 (ignored)


The interesting message is that "vmlinux.bin.gz is too big".
But I would claim that there should be still enough headroom even for a 4MB 
flash device.
Or is there a kernel partition and the kernel got too big?


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to