You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel
git clone git@github.com:cambridgehackers/device_xilinx_kernel.git
cd device_xilinx_kernel/
git checkout remotes/origin/december -b december
compile
cd s/git/device_xilinx_kernel/
git status
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- xilinx_zynq_portal_defconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
./scripts/dtc/dtc -I dts -O dtb -o foo.dtb arch/arm/boot/dts/zynq-zc702-bridge.dts
load
cp arch/arm/boot/zImage foo.dtb ~
Making new ramdisk8M.image.gz (kernel requires that it be zero-padded to exactly 256kb)
find . | cpio -H newc -o | gzip -9 -n > ../itemp
dd if=/dev/zero of=../izero bs=1024 count=256
cat ../izero >> ../itemp
dd if=../itemp of=../imagefile.image.gz bs=1024 count=256
rm ../itemp ../izero
To examine ramdisk8M.image.gz
gzip -cd ../imagefile.image.gz | cpio -imd
Debugging clocks
mount -t debugfs none /sys/kernel/debug/
ls -l /sys/kernel/debug/clk/PS_CLK/IOPLL/FPGA1_CLK