Commit 755ef52c authored by papauxg's avatar papauxg
Browse files

adding the boot scripts to version control

parent f7d60fa9
BUILD_DIR=build
sd:
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d boot.script.sd $(BUILD_DIR)/boot.scr.sd
cp $(BUILD_DIR)/boot.scr.sd boot.scr
tftp-nfs:
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d boot.script.tftp.nfs $(BUILD_DIR)/boot.scr.tftp.nfs
cp $(BUILD_DIR)/boot.scr.tftp.nfs boot.scr
tftp-sd:
mkdir -p ($BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d boot.script.tftp.sd $(BUILD_DIR)/boot.scr.tftp.sd
cp $(BUILD_DIR)/boot.scr.tftp.sd boot.scr
install-tftp:
cp boot.scr /tftpboot/boot.scr
install-sd:
sudo cp boot.scr /media/boot/boot.scr
mmc part
fatload mmc 0:1 0x825f0000 omap5-uevm.dtb
fatload mmc 0:1 0x80300000 uImage
setenv bootargs 'elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc ip=dhcp'
setenv fdt_high 0x84000000
bootm 0x80300000 - 0x825f0000
usb start; setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.15
mmc part
tftp 0x825f0000 omap5-uevm.dtb
tftp 0x80300000 uImage
setenv bootargs 'root=/dev/nfs nfsroot=192.168.1.15:/workspace/omap5/sdk/yocto/targetfs console=ttyO2,115200n8 earlyprintk rw ip=192.168.1.10'
setenv fdt_high 0x84000000
bootm 0x80300000 - 0x825f0000
usb start; setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.15
mmc part
tftp 0x825f0000 omap5-uevm.dtb
tftp 0x80300000 uImage
setenv bootargs 'elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk1p2 rw rootwait earlyprintk fixrtc ip=192.168.1.10'
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