Commit 228fe074 authored by papauxg's avatar papauxg
Browse files

add a new boot script template

parent e45f542a
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d $(BUILD_DIR)/
cp $(BUILD_DIR)/ boot.scr
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d $(BUILD_DIR)/
......@@ -22,6 +22,7 @@ All is controlled by the provided Makefile.
Following targets are available:
- sd: kernel+dtb+rootfs from sdcard
- sd-noip: kernel+dtb+rootfs from sdcard, but no ip is given in the bootargs (eth0 card will not be configured during kernel boot)
- tftp-nfs: kernel+dtb from tftp, rootfs from nfs
- tftp-sd: kernel+dtb from tftp, rootfs from sdcard
- install-tftp: copy the generated boot script to /tftpboot folder
......@@ -32,3 +33,14 @@ Compiled boot script are created in the build/ subfolder.
IP configuration is set in the boot script file. Modify according to your needs.
Generate the tftp-nfs image
make tftp-nfs
Install it to the sd card
make install-sd
usb start; setenv ipaddr; setenv serverip
mmc part
tftp 0x825f0000 omap5-uevm.dtb
tftp 0x80300000 uImage
setenv bootargs 'elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk1p2 rw rootwait earlyprintk fixrtc'
setenv fdt_high 0x84000000
bootm 0x80300000 - 0x825f0000
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment