1 Below are the environment variables that can be set in the u-boot console to boot the Renesas Gen3 ULCB boards.
3 Adjust board type with the following identifiers:
5 * 'm3ulcb' for Renesas Gen3 Starter Kit Pro
6 * 'h3ulcb' for Renesas Gen3 Starter Kit Premium
8 ################## Common options #####################
9 # these options are common to all configurations:
26 # or sdcard with initrd
30 # which sdcard slot to use
34 # replace <IP> and <NUM> by appropriate addresses
35 setenv ipaddr '<board_IP>'
36 setenv serverip '<server_IP>'
38 setenv ethaddr DE:AD:C0:FF:EE:<NUM>
40 ################## Internal variables #####################
43 setenv set_bootkfile 'setenv bootkfile Image'
44 setenv bootkaddr 0x48080000
47 setenv set_bootdfile 'setenv bootdfile Image-${soc}-${board}.dtb'
48 setenv bootdaddr 0x48000000
51 setenv set_bootifile 'setenv bootifile initramfs-netboot-image-${board}.ext4.gz'
52 setenv bootiaddr 0x5C3F9520
53 setenv bootisize 3A6AB6
56 setenv bootargs_console 'console=ttySC0,115200 ignore_loglevel'
57 setenv bootargs_video 'vmalloc=384M video=HDMI-A-1:1920x1080-32@60'
58 setenv bootargs_extra 'rw rootfstype=ext4 rootwait rootdelay=2'
61 setenv bootcmd 'run bootcmd_${bootmode}'
63 ################ Boot on MMC (SDcard) #################
65 setenv bootkload_sd 'ext4load mmc ${bootmmc} ${bootkaddr} boot/${bootkfile}'
66 setenv bootiload_sd 'ext4load mmc ${bootmmc} ${bootiaddr} boot/${bootifile}'
67 setenv bootdload_sd 'ext4load mmc ${bootmmc} ${bootdaddr} boot/${bootdfile}'
70 setenv bootargs_root_sd 'root=/dev/mmcblk1p1'
71 setenv bootload_sd 'run set_bootkfile; run bootkload_sd; run set_bootdfile; run bootdload_sd'
72 setenv bootcmd_sd 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root_sd} ${bootargs_extra}; run bootload_sd; booti ${bootkaddr} - ${bootdaddr}'
75 setenv bootargs_root_sdi 'root=/dev/ram0 ramdisk_size=16384'
76 setenv bootload_sdi 'run set_bootkfile; run bootkload_sd; run set_bootdfile; run bootdload_sd; run set_bootifile; run bootiload_sd'
77 setenv bootcmd_sdi 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root_sdi} ${bootargs_extra}; run bootload_sdi; booti ${bootkaddr} ${bootiaddr}:${bootisize} ${bootdaddr}'
79 ################ Netboot through TFTP+NBD ##################
81 setenv bootkload_net 'tftp ${bootkaddr} ${board}/${bootkfile}'
82 setenv bootdload_net 'tftp ${bootdaddr} ${board}/${bootdfile}'
83 setenv bootiload_net 'tftp ${bootiaddr} ${board}/${bootifile}'
85 setenv bootargs_root_net 'root=/dev/ram0 ramdisk_size=16384 ip=dhcp'
86 setenv bootload_net 'run set_bootkfile; run bootkload_net; run set_bootdfile; run bootdload_net; run set_bootifile; run bootiload_net'
88 setenv bootcmd_net 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root_net} ${bootargs_extra} nbd.server=${serverip}; run bootload_net; booti ${bootkaddr} ${bootiaddr}:${bootisize} ${bootdaddr}'