Fix kernel-devsrc package failing during install
[AGL/meta-agl.git] / meta-netboot / README.renesas-gen3
1 Below are the environment variables that can be set in the u-boot console to boot the Renesas Gen3 ULCB boards.
2
3 Adjust board type with the following identifiers:
4
5 * 'm3ulcb' for Renesas Gen3 Starter Kit Pro
6 * 'h3ulcb' for Renesas Gen3 Starter Kit Premium
7
8 ################## Common options #####################
9 # these options are common to all configurations:
10
11 # choose board
12 setenv board m3ulcb
13 # or
14 setenv board h3ulcb
15
16 # kernel file
17 setenv set_bootkfile 'setenv bootkfile Image'
18 setenv bootkaddr 0x48080000
19
20 # dtb file
21 setenv set_bootdfile 'setenv bootdfile Image-r8a7796-${board}.dtb'
22 setenv bootdaddr 0x48000000
23
24 # initrd
25 setenv set_bootifile 'setenv bootifile initramfs-netboot-image-${board}.ext4.gz'
26 setenv bootiaddr 0x5C3F9520
27 setenv bootisize 3A6AB6
28
29 # kernel args
30 setenv bootargs_console 'console=ttySC0,115200 ignore_loglevel'
31 setenv bootargs_video 'vmalloc=384M video=HDMI-A-1:1920x1080-32@60'
32 setenv bootargs_extra 'rw rootfstype=ext4 rootwait rootdelay=2'
33
34 ################ Boot on MMC (SDcard) #################
35
36 setenv bootargs_root 'root=/dev/mmcblk1p1'
37 setenv bootmmc '0:1'
38 setenv bootkload_sd 'ext4load mmc ${bootmmc} ${bootkaddr} boot/${bootkfile}'
39 setenv bootdload_sd 'ext4load mmc ${bootmmc} ${bootdaddr} boot/${bootdfile}'
40 setenv bootload_sd 'run set_bootkfile; run bootkload_sd; run set_bootdfile; run bootdload_sd'
41 setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root} ${bootargs_extra}; run bootload_sd; booti ${bootkaddr} - ${bootdaddr}'
42
43 ################ Boot on MMC (SDcard) with initrd ######
44
45 setenv bootargs_root 'root=/dev/ram0 ramdisk_size=16384'
46 setenv bootmmc '0:1'
47 setenv bootkload_sd 'ext4load mmc ${bootmmc} ${bootkaddr} boot/${bootkfile}'
48 setenv bootdload_sd 'ext4load mmc ${bootmmc} ${bootdaddr} boot/${bootdfile}'
49 setenv bootiload_sd 'ext4load mmc ${bootmmc} ${bootiaddr} boot/${bootifile}'
50 setenv bootload_sd 'run set_bootkfile; run bootkload_sd; run set_bootdfile; run bootdload_sd; run set_bootifile; run bootiload_sd'
51
52 setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root} ${bootargs_extra}; run bootload_sd; booti ${bootkaddr} ${bootiaddr}:${bootisize} ${bootdaddr}'
53
54 ################ Netboot through TFTP+NBD ##################
55 # replace <IP> addresses by appropriate addresses
56
57 setenv ipaddr '<board_IP>'
58 setenv serverip '<server_IP>'
59 setenv ethact ravb
60 setenv ethaddr DE:AD:C0:FF:EE:01
61
62 setenv bootargs_root 'root=/dev/ram0 ramdisk_size=16384 ip=dhcp'
63 setenv bootkload_net 'tftp ${bootkaddr} ${board}/${bootkfile}'
64 setenv bootdload_net 'tftp ${bootdaddr} ${board}/${bootdfile}'
65 setenv bootiload_net 'tftp ${bootiaddr} ${board}/${bootifile}'
66 setenv bootload_net 'run set_bootkfile; run bootkload_net; run set_bootdfile; run bootdload_net; run set_bootifile; run bootiload_net'
67
68 setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root} ${bootargs_extra} nbd.server=${serverip}; run bootload_net; booti ${bootkaddr} ${bootiaddr}:${bootisize} ${bootdaddr}'
69
70