[Aboriginal] Hello world. / kernel 3.15
Rob Landley
rob at landley.net
Mon Aug 4 07:42:11 PDT 2014
On 07/30/14 23:47, Patrick Lauer wrote:
> On Wednesday 30 July 2014 22:03:06 Rob Landley wrote:
>
>> I did some toybox work during all this on my netbook, but almost no
>> aboriginal work. Next kernel release is almost out. I think I've missed
>> one.
>
> No worry, I hackpatched things to work with 3.15.
>
> Patches apply modulo one change in the sh4 config where an option got renamed.
"Patches apply" and "result works on all targets well enough to build
LFS" have historically had a shaky relationship, but thanks for the
heads up. :)
I've been poking at things like what binutils is doing with
-Bsymbolic-functions (not "the right thing") and getting toybox find so
it can drop in replace busybox find (now it needs -maxdepth).
I need to cut a release with the 3.15 kernel still using/defaulting
uClibc, but letting you use musl with a config symbol. Might just do
MUSL=1 for that, so:
MUSL=1 ./build.sh i586
(Of course how would it know that there's no musl support for sparc yet,
but it could _try_ to build...)
> toybox reliably fails to build iconv (missing iconv.h ), so I violently
> patched that out of the default config.
I fixed that in source control, next release should have that. Next
toybox release should be the end of the month, and I can do an
aboriginal with 3.16 then to catch up.
> Enjoy,
>
> Patrick
>
> diff -Naur ../../aboriginal-1669660a7a97/download.sh ./download.sh
> --- ../../aboriginal-1669660a7a97/download.sh 2014-07-12 22:04:12.000000000
> +0000
> +++ ./download.sh 2014-07-31 04:32:03.833672950 +0000
> @@ -29,8 +29,8 @@
> SHA1=aa6c4e58ee3524b961755fb8e491462ff8109fd6 \
> maybe_fork "download || dienow"
>
> -URL=ftp://kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.gz \
> -SHA1=23fde5cfe36e27eca54947744613b45e747d18e9 \
> +URL=ftp://kernel.org/pub/linux/kernel/v3.x/linux-3.15.7.tar.gz \
> +SHA1=19ca216acc59e5445566f7aff06db5651d1a8185 \
> maybe_fork "download || dienow"
>
>
> diff -Naur ../../aboriginal-1669660a7a97/sources/patches/linux-
> sh4noexpert.patch ./sources/patches/linux-sh4noexpert.patch
> --- ../../aboriginal-1669660a7a97/sources/patches/linux-sh4noexpert.patch
> 2014-07-12 22:04:12.000000000 +0000
> +++ ./sources/patches/linux-sh4noexpert.patch 2014-07-31 03:33:30.696424896
> +0000
> @@ -11,5 +11,5 @@
> - select EXPERT
> + select HAVE_PATA_PLATFORM
> select CLKDEV_LOOKUP
> - select HAVE_IDE if HAS_IOPORT
> + select HAVE_IDE if HAS_IOPORT_MAP
> select HAVE_MEMBLOCK
> diff -Naur ../../aboriginal-1669660a7a97/sources/patches/toybox-no-i18n.patch
> ./sources/patches/toybox-no-i18n.patch
> --- ../../aboriginal-1669660a7a97/sources/patches/toybox-no-i18n.patch
> 1970-01-01 00:00:00.000000000 +0000
> +++ ./sources/patches/toybox-no-i18n.patch 2014-07-31 04:06:48.503403651
> +0000
> @@ -0,0 +1,10 @@
> +--- toybox-0.4.8/Config.in
> ++++ toybox-0.4.8/Config.in
> +@@ -51,7 +51,7 @@
> +
> + config TOYBOX_I18N
> + bool "Internationalization support"
> +- default y
> ++ default n
> + help
> + Support for UTF-8 character sets, and some locale support.
I18N support and iconv aren't directly related. This lets wc -m work.
> diff -Naur ../../aboriginal-1669660a7a97/sources/patches/toybox-no-iconv.patch
> ./sources/patches/toybox-no-iconv.patch
> --- ../../aboriginal-1669660a7a97/sources/patches/toybox-no-iconv.patch
> 1970-01-01 00:00:00.000000000 +0000
> +++ ./sources/patches/toybox-no-iconv.patch 2014-07-31 04:24:18.106660446
> +0000
> @@ -0,0 +1,10 @@
> +--- toybox/toys/pending/iconv.c
> ++++ toybox/toys/pending/iconv.c
> +@@ -8,7 +8,7 @@
> +
> + config ICONV
> + bool "iconv"
> +- default y
> ++ default n
> + help
> + usage: iconv [-f FROM] [-t TO] [FILE...]
>
> _______________________________________________
> Aboriginal mailing list
> Aboriginal at lists.landley.net
> http://lists.landley.net/listinfo.cgi/aboriginal-landley.net
I think I've fixed that now.
I'll try to get a new release out this coming weekend.
Thanks,
Rob
More information about the Aboriginal
mailing list