diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2016-12-27 00:44:55 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-01-02 22:20:31 +0000 |
commit | b0cb0935aef4ced9c82d7972ed61f636e9036055 (patch) | |
tree | 64421d4a8e01b686df42492f76ec43bd644fb890 /meta-netboot/README | |
parent | 135d7caa25d35f81da9d4806b98181fc750fceda (diff) |
Fix to get netboot activated also for renesas gen3
Change-Id: I9b512a907398de9c96dc46111c74bed4059f7b8e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'meta-netboot/README')
-rw-r--r-- | meta-netboot/README | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-netboot/README b/meta-netboot/README index 130477751..c1bb6a164 100644 --- a/meta-netboot/README +++ b/meta-netboot/README @@ -62,3 +62,25 @@ saveenv # optional: saves env in flash run bootcmd # boots the board, executed automatically after power up ------------------------------------------------------------------ +About Renesas Gen3 board, u-boot is updated and environment is more like : + +------------------------------------------------------------------ +setenv bootargs_console 'console=ttySC0,115200 ignore_loglevel' +setenv bootargs_extra 'rw rootfstype=ext4 rootwait rootdelay=2' +setenv bootargs_root 'root=/dev/ram0 ramdisk_size=16384 ip=dhcp' +setenv bootargs_video 'vmalloc=384M video=HDMI-A-1:1920x1080-32@60' +setenv serverip '<your_serverip>' +setenv 'bootdaddr' '0x48000000' +setenv 'bootdfile' 'Image-r8a7795-h3ulcb.dtb' +setenv 'bootdload_net' 'tftp ${bootdaddr} h3ulcb/${bootdfile}' +setenv 'bootkaddr' '0x48080000' +setenv 'bootkfile' 'Image' +setenv 'bootkload_net' 'tftp ${bootkaddr} h3ulcb/${bootkfile}' +setenv 'bootiaddr' '0x5C3F9520' +setenv 'bootifile' 'initramfs-netboot-image-h3ulcb.ext4.gz' +setenv 'bootiload_net' 'tftp ${bootraddr} h3ulcb/${bootrfile}' +setenv 'load_net' 'run bootkload_net; run bootdload_net; run bootiload_net; setenv initrd_size ${filesize}' + +setenv 'bootcmd' 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root} ${bootargs_extra} nbd.server=${serverip}; run load_net; booti ${bootkaddr} ${bootiaddr}:${initrd_size} ${bootdaddr}' +------------------------------------------------------------------ + |