User manual

5 Software Development
4. execute nc -l -p 5000 > /var/zImage this will start Netcat listening on the port 5000
5. on your development host execute netcat 192.168.254.254 5000 < arch/arm/boot/zImage
6. after the data transmission mount your CF and copy new kernel
7. mount /dev/hda1 /mnt
8. cp /var/zImage /mnt/boot
9. umount /mnt
10. reboot the OnRISC
OMAP3 based Devices
1. extract the microSD card and insert into a card reader connected to your host PC
2. mount the first partition
3. copy arch/arm/boot/uImage to this partition
4. unmount
5. reboot
5.2.4. Install Kernel Modules
Linux kernel provides means to create installation package. The most portable packaging type is
a tar package. After kernel compilation invoke:
make tar-pkg
This will create linux-x.y.z.tar file in the root of your kernel tree.
Copy this package to the OnRISC via scp and extract:
scp linux-x.y.z.tar root@192.168.254.254:/tmp
cd /
tar xf /tmp/linux-x.y.z.tar
You’ll now get /lib/modules/x.y.z folder created. Remove unneeded files from /boot like
System.map-x.y.z and vmlinux-x.y.z to save space.
May 2014 OnRISC User Manual 35