Skip to content
Chris Brandt edited this page Nov 4, 2024 · 16 revisions

Welcome to the notes wiki!

RZ/G2L SMARC Boot

RZ/G2UL SMARC Boot

RZ/G2H HiHope Boot

RZ/V2L Avnet Boot

RZ/G3S SMARC Boot

Profile

profile

eMMC Setup

eMMC

BSP Builds

General Notes

xxx

TFTP Allow TFTP uploads from board to host

sudo vi /etc/default/tftpd-hpa


# TFTP PC -> board    (make sure file in /var/lib/tftpboot  has group read set, chmod +x xxxx)

$ tftp -g -r desktop-shell.so 10.10.10.30

$ tftp 10.10.10.30 -c get devmem2

$ tftp 10.10.10.30 -c put /tmp/link_reg.txt
                      put localfile remotefile

systemctl status tftpd-hpa.service


devmem2 read multiple

read.sh

#!/bin/bash

# Starting address
start_address=0x10860000

# Number of registers to read
num_registers=4096

# Size of each register (in bytes)
register_size=4

for (( i=0; i<$num_registers; i++ )); do
    address=$((start_address + i * register_size))
    value=$(devmem2 $address l | grep Read)
    echo "Register at 0x$address: $value"
done
./read.sh > /tmp/link_reg.txt
Clone this wiki locally