Created
October 21, 2013 11:47
-
-
Save SvenDowideit/7082580 to your computer and use it in GitHub Desktop.
playing around with my udoo quad on my sick weekend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ala http://kencochrane.net/blog/2013/05/running-docker-on-a-raspberrypi/ | |
apt-get install git | |
darn; | |
root@imx6-qsdl:/data# git clone https://github.com/UDOOboard/Kernel_Unico.git | |
Cloning into Kernel_Unico... | |
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none w | |
hile accessing https://github.com/UDOOboard/Kernel_Unico.git/info/refs | |
fatal: HTTP request failed | |
grabbing source on another computer and scping it over. | |
$ apt-get install ncurses-dev | |
mmm, ok, so thats a 3.0.35 ancient thing | |
lets go get | |
root@imx6-qsdl:/data# git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stab | |
le.git | |
and see what happens | |
#probably just brings in things that are not needed | |
apt-get install kernel-package | |
#3.11 needs 'bc' | |
apt-get install bc | |
mmm, apt-get install kexec didn't help, trying the bleed version from | |
git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git | |
mmm, need | |
apt-get install u-boot-tools | |
sven@x61:~/src/docker$ more udoo_docker.txt | |
ala http://kencochrane.net/blog/2013/05/running-docker-on-a-raspberrypi/ | |
apt-get install git | |
darn; | |
root@imx6-qsdl:/data# git clone https://github.com/UDOOboard/Kernel_Unico.git | |
Cloning into Kernel_Unico... | |
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/UDOOboard/Kernel_Un | |
ico.git/info/refs | |
fatal: HTTP request failed | |
grabbing source on another computer and scping it over. | |
$ apt-get install ncurses-dev | |
mmm, ok, so thats a 3.0.35 ancient thing | |
lets go get | |
root@imx6-qsdl:/data# git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git | |
and see what happens | |
#probably just brings in things that are not needed | |
apt-get install kernel-package | |
#3.11 needs 'bc' | |
apt-get install bc | |
mmm, apt-get install kexec didn't help, trying the bleed version from | |
git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git | |
mmm, need | |
apt-get install u-boot-tools | |
so i can | |
make uImage | |
aha, there's a dtbs commited recently to the arm tree, so I'll have to go clone a whole new kernel tree | |
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/269270 | |
http://u-boot.10912.n7.nabble.com/PATCH-udoo-Add-initial-support-for-mx6q-udoo-board-td164161.html | |
so trying | |
git clone https://git.linaro.org/gitweb?p=people/shawnguo/linux-2.6.git;a=summary | |
AAAARGH | |
I need the dtc compiler - see http://xillybus.com/tutorials/device-tree-zynq-1 | |
git clone git://www.jdl.com/software/dtc.git dtc | |
for which i need flex&bison | |
apt-get install flex bison | |
make dtc | |
ln -s /data/dtc/dtc scripts/dtc/dtc (in the linux kernel dir...) | |
root@imx6-qsdl:/data/linaro-shawnguo (for-next)# make imx6q-udoo.dtb | |
DTC arch/arm/boot/dts/imx6q-udoo.dtb | |
AAARGH again! | |
(for-next)# /usr/local/sbin/kexec --dtb arch/arm/boot/dts/imx6q-udoo.dt -l arch/arm/boot/uImage -append="root=/dev/mmcblk0p1 mem=768M arm_freq=996" | |
imx6q-udoo.dtb imx6q-udoo.dts | |
root@imx6-qsdl:/data/linaro-shawnguo (for-next)# /usr/local/sbin/kexec --dtb arch/arm/boot/dts/imx6q-udoo.dtb -l arch/arm/boot/uImage -append="root=/dev/mmcb | |
lk0p1 mem=768M arm_freq=996" | |
DTB too large! | |
Cannot load arch/arm/boot/uImage | |
ok, so maybe i have to work out how to build the dtc in the kernel source? | |
oooo, http://www.cadence.com/Community/blogs/sd/archive/2013/10/09/combining-the-linux-device-tree-and-kernel-image-for-arm.aspx?utm_source=feedburner&utm_med | |
ium=feed&utm_campaign=Feed:+cadence/community/blogs/sd+%28Cadence+System+Design+and+Verification+Blogs%29&sf18256790=1 | |
maybe i can just use that to append the dts? | |
--------------------- | |
TODO: | |
1. set up a PXE boot docker image (mmm, so dhcp, dns, tftp, just need to cfg and go?) | |
2. or not - build something similar that uses kexec.. http://www.ibm.com/developerworks/linux/library/l-kexec/index.html | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment