Imre Kaloz wrote:
> On Fri, 30 May 2008 13:46:53 +0200, Hinko Kočevar  
> <[EMAIL PROTECTED]> wrote:
> 
>> It does not matter - the objcopy creates 3GB file in both cases.
>> [EMAIL PROTECTED] ~/work/ws/linux-2.6-git $
>> /work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/bin/cris-linux-uclibc-objcopy
>> -O binary --remove-section=.bss  vmlinux arch/cris/boot/Image
>> [EMAIL PROTECTED] ~/work/ws/linux-2.6-git $ l arch/cris/boot/
>> total 6232
>> -rw-r--r-- 1 hinkok hinkok 3223320164 May 30 13:36 Image
>> -rw-r--r-- 1 hinkok hinkok        492 May 30 12:38 Makefile
>> drwxr-xr-x 2 hinkok hinkok       4096 May 30 13:33 compressed
>> drwxr-xr-x 2 hinkok hinkok       4096 May 30 13:33 rescue
>> drwxr-xr-x 2 hinkok hinkok       4096 May  7 10:05 tools
>> -rw-r--r-- 1 hinkok hinkok    4257154 May 30 13:33 zImage
>>
>> I'll checkout the fresh openwrt trunk and rebuild everything from  
>> scratch.
>>
>> Also - what gcc + binutils + uClibc are you using? I've been using so  
>> far:
>> gcc 4.2.3
>> binutils 2.18
>> uClibc 0.9.29
>>
> 
> Ehm, maybe take a look at  
> https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/patches-2.6.23/910-arm_binutils_build_id_fix.patch?rev=10079&format=txt
>   
> for a hint ;)
> 

great job Imre!!! It boots now that I've added '-O binary -R .note -R 
.note.gnu.build-id -R .comment -S' to the objcopy line in 
arch/cris/arch-v10/boot/Makefile!!!

Using above tools in uClibc toolchain and generated cris-foo-elf seems to work 
now too, since I've been using cris-foo-elf to make final (z)Image!!!

I've changed the gcc-elf build a little - You might want to try it out on your 
own - the patches are on http://4thway.0catch.com/!

Thanx,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to