2015-03-19 20:14 GMT+03:00 Moritz Warning <[email protected]>:
> 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?
>>>>>>>
>>>>
>>>> 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
>>
>
> 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)
>

Here you go. mkfwimage could not build image for NS5 since the total
size of kernel + rootfs is greater than available space.

On this board, according to mkfsimage sources, you have 3735552
(390000h) bytes for kernel + rootfs. In your case, total size is
3801088 bytes (2752512 bytes of rootfs plus 1048576 bytes of kernel).

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

Reply via email to