Busybox 1.21.0 with f2fs support

I already posted about Busybox compiled statically for the initrd, for both ARM and x86:
http://bkhome.org/blog2/?viewDetailed=00132

I have now compiled the larger (more applets) Busybox, using shared libs, for both armv7 and x86.

The PETs (401K, 415K):
http://distro.ibiblio.org/quirky/pet_packages-common/busybox-1.21.0-patched_f2fs-x86.pet
http://distro.ibiblio.org/quirky/arm/pet_packages-armv7/busybox-1.21.0-patched_f2fs-armv7.pet

The x86 compile was in Wary 5.3.92, and the armv7 compile in my Mele A1000, Ubuntu 10.04.

On the Mele, there was a compile error, gcc ran out of registers. This is apparently, a bug in some versions of gcc on the ARM platform.

I fixed it by doing this before running "make":
# export CFLAGS='-O2 -fno-schedule-insns -fomit-frame-pointer'

I think that the key option is "-fno-schedule-insns". I didn't try it, but I read another report that dropping down to "-O1" works, so this might work:
# export CFLAGS='-O1 -fomit-frame-pointer'

Note, if you want the '.config' file, open up the PET, and run "./busybox bbconfig".

Another note, this is the first time that I have enabled wide-character support. It seems like a sensible thing to do, but never enabled it before. Previous PETs do have locale support.


Posted on 18 Feb 2013, 19:30


No comments posted yet.