Le support aux utilisateurs et les demandes de création de comptes externes doivent être faites depuis les issues du projet GitLab HEFR (https://gitlab.forge.hefr.ch/forge-hefr/gitlab-hefr)

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

add a new boot script template

parent e45f542a
BUILD_DIR=build
sd-noip:
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d boot.script.tftp.sd.noip $(BUILD_DIR)/boot.scr.tftp.sd.noip
cp $(BUILD_DIR)/boot.scr.tftp.sd.noip boot.scr
sd:
mkdir -p $(BUILD_DIR)
mkimage -A arm -T script -C none -n "Boot Image" -d boot.script.sd $(BUILD_DIR)/boot.scr.sd
......
......@@ -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.
Example
======
Generate the tftp-nfs image
make tftp-nfs
Install it to the sd card
make install-sd
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'
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