Thread: DIY - KeK
View Single Post
Old 07-20-2012, 03:37 PM   #108
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
binutils-2.20-uClibc

This one is almost painless.

Build notes:
Spoiler:

The content of my pset.sh file:
Code:
export PATH=/opt/qemu111/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
From the location of the AL install:
Code:
core2quad system-image-armv6l $ . pset.sh
core2quad system-image-armv6l $ ./dev-environment.sh
  * * * *
  Type exit when done.
(armv6l:1) /home # export PS1='(armv6l:1) \W \$ '
(armv6l:1) /home # export PATH=/home/bin:/bin:/sbin
(armv6l:1) /home # mkdir work/binutils
(armv6l:1) /home # cd work/binutils
(armv6l:1) binutils # wget http://drpbox.KnetConnect.com/KeK/binutils-2.22.tar.bz2
  Connecting to drpbox.KnetConnect.com (173.236.167.90:80)
(armv6l:1) binutils # mkdir bu-uclibc bu-glibc
(armv6l:1) binutils # mkdir /home/bu-222-uclibc /home/bu-222-glibc
(armv6l:1) binutils # cd bu-uclibc
(armv6l:1) bu-uclibc # CFLAGS='-mfloat-abi=softfp -mfpu=vfp -mcpu=arm1136jf-s \
 -O2 -fomit-frame-pointer' ../binutils-2.22/configure --prefix=/home \
 --disable-nls --disable-werror
(armv6l:1) bu-uclibc # make
(armv6l:1) bu-uclibc # make check
(Expect all tests to pass.)
(armv6l:1) bu-uclibc # make install
(This is how the tar-ball "release" gets made:)
(armv6l:1) bu-uclibc # DESTDIR=/home/bu-222-uclibc make install
(armv6l:1) bu-uclibc # cd /home/bu-222-uclibc/home
(armv6l:1) home # tar -cvzf ../binutils-2.22-uclibc.tar.gz .
(armv6l:1) home # cd
(armv6l:1) /home #


Installation:
Put tar-ball on /home (of the emulated environment) ;
tar -xf binutils-2.22-uclibc.tar.gz

Duh...
Going by the timestamps of the posts, it looks like our emulated armv6 running linux-3.4 got the job done in about an hour and a half.
Not bad.
Not good enough for me to try for a Kindle-OpenOffice though.
Attached Files
File Type: gz binutils-2.22-uclibc.tar.gz (5.66 MB, 518 views)

Last edited by knc1; 07-20-2012 at 04:00 PM.
knc1 is offline   Reply With Quote