Usage

docker run ubuntu:12.04 cat /etc/issue
docker run -ti ubuntu:12.04 
cd $HOME
apt-get update ; apt-get install git ; apt-get upgrade
git clone -b avatar/devel https://github.com/tizenteam/buildroot && cd buildroot
$SHELL -x -e ./build.sh

Setup

docker run ubuntu:12.04 cat /etc/issue
docker run -ti ubuntu:12.04 
cd $HOME
apt-get update ; apt-get install git ;
git config --global user.name "Git user"
git config --global user.email "root@localhost.localdomain"
apt-get install etckeeper ; #TODO use git
cd /etc
git commit --amend --reset-author

apt-get install \
  screen sudo unp curl wget zile locales openssh-server

bash
screen

apt-get install \
 make rsync bzip2 unzip whois bc \
 ia32-libs-multiarch libncurses-dev\
 build-essential \
 g++ php5 \
 #eol

sed -b -e 's|^define|%define|g' -i /usr/share/i18n/locales/* # or just tr_TR

Rebuild from downstream

url=http://downloads.wdc.com/gpl/buildroot-GPL_1_01_09.tgz
wget $url # buildroot-GPL-FW1_07_02.tgz
curl $url | tar xfz -

cd buildroot-GPL*
# 2013.05-svn39-dirty

Rebuild from supported

url=http://downloads.wdc.com/gpl/buildroot-GPL-FW1_07_02.tgz
wget $url # b8f799970db9700a9148e82d72d9f59d  buildroot-GPL-FW1_07_02.tgz
curl $url | tar xfz -

cd buildroot-GPL*

git init
git add .
git commit -sam 'import' 

url=http://download.wdc.com/nas/MyPassportWireless_1.07.02.bin
wget $url

unp -c MyPassportWireless_1.07.02.bin 

mkdir -p output/target/etc/
cp -av ./fwupg_images/version.packages output/target/etc/
cp -av ./fwupg_images/version output/target/etc/


sh -x -e ./buildfwupg_img.sh

Rebuild from upstream

git clone -b am335xevm https://github.com/tizenteam/buildroot
cd buildroot
# ls ../buildroot-GPL dl
mkdir -p dl && cd dl

cat<<EOF>urls.lst
https://releases.linaro.org/archive/13.03/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
https://distfiles.dereferenced.org/pkgconf/pkgconf-0.8.9.tar.bz2
http://archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60.orig.tar.gz
http://lmde-mirror.gwendallebihan.net/latest/pool/main/n/net-tools/net-tools_1.60-25.diff.gz
http://museum.php.net/php5/php-5.4.19.tar.bz2
http://pkgs.fedoraproject.org/repo/pkgs/shadow-utils/shadow-4.1.5.1.tar.bz2/a00449aa439c69287b6d472191dc2247/shadow-4.1.5.1.tar.bz2
EOF

wget -i urls.lst

cat<<EOF>md5.lst && md5sum -c md5.lst
76321c891aaa74365c3a0260231d808e  gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
5ab1e2184d0fa6518031291138f2fc51  net-tools_1.60-25.diff.gz
ecaf37acb5b5daff4bdda77785fd916d  net-tools_1.60.orig.tar.gz
f06f99b9872b503758adab5ba7a7e755  php-5.4.19.tar.bz2
2273d8f5186e56886bc83454002c84ed  pkgconf-0.8.9.tar.bz2
a00449aa439c69287b6d472191dc2247  shadow-4.1.5.1.tar.bz2
EOF


# toolchain/toolchain-external/ext-tool.mk:TOOLCHAIN_EXTERNAL_SITE=https://releases.linaro.org/13.02/components/toolchain/binaries/

# TODO: repack relocate to git
# http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/06_00_00_00/exports//am335x-evm-sdk-src-06.00.00.00.tar.gz
# linux-3.2.0-psp04.06.00.11.tgz u-boot-2013.01.01-psp06.00.00.00.tgz #


cat<<EOF>missing.lst 
015f080c2e89ea9c45e372d500f64df0  u-boot-2013.01.01-psp06.00.00.00.tgz
5cdb9c2f0a86cfaaf701d6a5457206b6  linux-3.2.0-psp04.06.00.11.tgz
80b9322980a640a9beef89c27b6b970a  wilink8-utils-wl18xx-r8.a8.08.tgz
b391c2226c97463f309a30f910a62a4d  wilink8-wl18xx-r8.a8.08.tgz

257b08022800441eded54d7f35e979de  ufsd_utilites_Build_for__WD_Passport_wireless_k3.2.0_2013-10-15_lke_9.0.0_r230665_b17.tar.gz
f8bf789d10ef612f60f29c65abc55615  ufsd_driver_package_Build_for__WD_Passport_wireless_k3.2.0_2013-10-15_lke_9.0.0_r232673_b26.tar.gz

cb1bbbfd9448e09bee0c995c8fbd2528  western-digital-avatar-oem-7.3.1-8.zip
88be789897859a203215a324e5f6dbf5  ui-1.3.0-565.deb
a76cc3c0d820dde9ac8648c580508624  admin-rest-api-2.4.0-807.deb
d3110438f4b3da037e94a6327dcd5da4  wdnotifier-av-1.0.3-53.deb
da9d9d94d6caf2ce96f1d5878ea8e08c  wdmpserver-av-release-2.3.3-14.deb
EOF


cut -b40- missing.lst | while read file ; do ln -fs ../buildroot-GPL/dl/$file dl/$file ; done

sh -x -e ./buildfwupg_img.sh


cat<<EOF>todo.lst # Extra seems unused
# https://ftp.gnu.org/gnu/gawk/gawk-4.0.1.tar.gz
bab2bda483e9f32be65b43b8dab39fa5  gawk-4.0.1.tar.gz
# http://pkgs.fedoraproject.org/repo/pkgs/gd/gd-2.0.35.tar.bz2/6c6c3dbb7bf079e0bb5fbbfd3bb8a71c/gd-2.0.35.tar.bz2
6c6c3dbb7bf079e0bb5fbbfd3bb8a71c  gd-2.0.35.tar.bz2
# http://www.h5l.org/dist/src/heimdal-1.5.3.tar.gz
30b379e3de12f332fbd201131f02ffca  heimdal-1.5.3.tar.gz
# http://pkgs.fedoraproject.org/repo/extras/iftop/iftop-1.0pre2.tar.gz/fef521a49ec0122458d02c64212af3c5/iftop-1.0pre2.tar.gz
fef521a49ec0122458d02c64212af3c5  iftop-1.0pre2.tar.gz
397754ba49e9e0cf4e7c190da78dda05  jquery-1.9.1.min.js
# http://sources.buildroot.net/json-javascript-42c18c621a411c3f39a81bb0a387fc50dcd738d9.tar.gz
8960a01719642dc3afc753a65de8bbae  json-javascript-42c18c621a411c3f39a81bb0a387fc50dcd738d9.tar.gz
435a5b16ca6198eaf01155263d855756  libaio_0.3.109.orig.tar.gz
82f3fcbf9f8cf3c4e25e1bdd77d65164  libjson_7.6.1.zip
# http://files.virt2real.ru/packages/buildroot/libpng-1.4.12.tar.bz2
849b14d88e1240a1b9f2cb39dd39701e  libpng-1.4.12.tar.bz2
f82a315b3a233e52f40d174a63211320  multi-role-empty.tgz
76f2ae49bf0f5745d5cb5d9507774dc9  mxml-2.7.tar.gz
00df80a84ec9528fcfb09498075525bc  ntp-4.2.6p5.tar.gz
2db735bd7eb2fb256c76b472e45e6241  pskill-0.1.tgz
0f20e20a38baccb874d617e4abb47d01  rxdsk-2.11.tgz
a5dbfe87f4cb3d9d91e15e5df99a59a1  samba-4.1.3.tar.gz
c807f9db3dd7af175214be0d7fece494  sdparm-1.07.tgz
d310abe42cbe87e76ceb69e2c7003c92  tzdata2013h.tar.gz
e94e0f95969cd08215b1b5ddc416eaac  wddispatcher-av-1.0.2-20140224.214525-3.deb
EOF


Rebuild from latest

git describe # 2016.11.2
rm -rf output*
make list-defconfigs 
make oldconfig
make -k
git checkout am335xevm package/busybox/busybox-1.21AvatarFW.x.config # TODO
# BR2_PACKAGE_PHP=y
# BR2_PACKAGE_LIGHTTPD=y
git checkout am335xevm primax_patch/source_patch_dir/uboot
git checkout am335xevm primax_patch # TODO
rm primax_patch/rootfs_config_patch_dir/wd_lighttpd_conf.patch 
rm primax_patch/rootfs_config_patch_dir/wd_php_conf.patch 
rm primax_patch/rootfs_config_patch_dir/wd_samba_conf.patch
make

Linux kernel for Machine: am335xevm

BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="linux-3.2.0-psp04.06.00.11.tgz"
BR2_LINUX_KERNEL_PATCH="primax_patch/source_patch_dir/linux-primaxboard.patch"
make linux-menuconfig # `/root/buildroot/output/build/linux-custom'
BR2_LINUX_KERNEL_CUSTOM_VERSION=N # TODO
make linux-menuconfig
# linux-3.2.0-psp04.06.00.11-mod3/kernel/printk.c
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/rzr/linux/archive/ti.zip"

Sources for linux-3.2.0-psp04.06.00.11 ?

git remote add linux-am33x http://arago-project.org/git/projects/linux-am33x.git
git diff --stat v3.2_AM335xPSP_04.06.00.11
28 files changed, 1243 insertions(+), 31 deletions(-)
git diff --stat  v3.2 | tail -n1
791 files changed, 75400 insertions(+), 8197 deletions(-)
git diff --stat remotes/sitara-epos-kernel/master | tail -n1
117 files changed, 7725 insertions(+), 2630 deletions(-)
git diff --stat remotes/am335x/AM335XPSP_04.06.00.11~24
# 51 files changed, 15473 insertions(+), 31 deletions(-)
  • Upstream for board-am335xevm.c
  • Patches:

MisC:

avatar

wifi

MISC

MORE

buildroot.txt · Last modified: 2017/04/22 09:49 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki