Skip to content

Pivosgroup/aml-original-linux-buildroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building the rootfs is complicated because the tarball
that amlogic supplies is defective but we can use their
binary release instead. But we still need to build the
rootfs part as we need the include/libs to be able to
build xbmc from scratch.

The bootable rootfs is assumed to be going to /opt/aml-root.
Also the cross toolchain is assumed to be at /opt/arm-2010q1
with a symlink to /opt/CodeSourcery/Sourcery_G++_Lite.

On Ubuntu distros, they use dash instead of bash. Buildroot
requires bash, so 'sudo dpkg-reconfigure dash' and choose bash.

Fetch and install binary rootfs:
 wget http://openlinux.amlogic.com/download/linux/ARM/filesystem/arm-rootfs-2011-08-31-14.00--svn2033.tar.gz
 tar xf arm-rootfs-2011-08-31-14.00--svn2033.tar.gz
 sudo mkdir -p /opt/aml-rootfs
 sudo cp -r arm-rootfs-2011-08-31-14.00--svn2033/* /opt/aml-rootfs
 sudo mkdir -p /opt/aml-rootfs/opt/xbmc-aml

Build rootfs for includes/libs:
 export PATH=/opt/arm-2010q1/bin:$PATH
 cp buildroot.config buildroot-2010.05/.defconfig
 cp busybox.config buildroot-2010.05/busybox.config
 cd buildroot-2010.05
 make defconfig
 make
 go to lunch, it will take some time to fetch and build

Normally, one would use the built image to populate the rootfs but that is
currently broke :(
 sudo tar -C /opt/aml-rootfs -xf output/images/rootfs.tar.gz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published