Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Boot the board from SD card (see above).

  2. Note the board IP address (192.168.0.204):

    Code Block
    root@rzv2hevkalpha:~$ ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 12:25:99:0E:D7:97
              inet addr:192.168.0.204  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::1025:99ff:fe0e:d797/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:796 errors:0 dropped:11 overruns:0 frame:0
              TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:300897 (293.8 KiB)  TX bytes:8794 (8.5 KiB)
              Interrupt:158
    
    root@rzv2hevkalpha:~$
  3. Give the default user account rights to write block devices:

    Code Block
    root@rzv2hevkalpha:~$ sudo usermod -aG disk user
  4. On the host, copy images to the board:

    Code Block
     psl@VL-4006:~$ zstd -dc image-ubuntu-desktop-rzv2h-evk-alpha-emc.wic.zst | ssh user@192.168.0.204 'catdd > of=/dev/mmcblk0 bs=64M conv=fdatasync'
     psl@VL-4006:~$ ssh user@192.168.0.204 '/bin/sync && /sbin/resize2fs /dev/mmcblk0p2'
     ...
  5. Reboot the board and stop at U-Boot prompt:

    Code Block
    ...
    U-Boot 2021.10-g444ac845c0 (Jun 07 2023 - 20:16:28 +0900)
    CPU: Renesas Electronics CPU rev 1.0
    Model: Renesas EVK Alpha based on r9a09g057h4
    DRAM: 15.9 GiB
    MMC: mmc@15c00000: 0, mmc@15c10000: 1
    Loading Environment from MMC... OK
    In: serial@11c01400
    Out: serial@11c01400
    Err: serial@11c01400
    Net:
    Error: ethernet@15c30000 address not set.
    No ethernet found.
    Hit any key to stop autoboot:
    =>
  6. Select eMMC as the boot source and boot the images:

    Code Block
    => setenv mmc_dev 0
    => saveenv
    => run bootcmd
    ...
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
    [    0.000000] Linux version 5.10.145-cip17-yocto-standard (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 8.3.0, GNU ld (GNU Binutils) 2.31.1) #1 SMP PREEMPT Sat Feb 27 02:21:18 UTC 2021
    [    0.000000] Machine model: Renesas EVK Alpha based on r9a09g057h4
    [    0.000000] earlycon: scif0 at MMIO 0x0000000011c01400 (options '115200n8')
    ....

...