8. Write U-Boot to QSPI. On your host PC run:
sudo dfu-util -a "sf_uboot" -D u-boot-rzn1s324-db.bin.spkg
Wait until it completes, the U-Boot console will prompt you to press Ctrl-C when done.
Note:
The "sf_uboot" DFU target corresponds to the second region of the QSPI Flash. If there
is a valid SPKG written into the first region ("sf_spl"), the BootROM will load this instead of
U-Boot. Otherwise the BootROM will output messages whilst it looks for the first valid SPKG,
similar to:
STATUS: Valid SPKG header not found (100 QSPI Flash 256-byte blocks read)
9. Press switch SW9 to reset the board, the BootROM will load and run U-Boot showing the
following output on the terminal:
** BOOTLOADER STAGE0 for RZN1 **
Boot source: QSPI
00 BOOTLOADER STAGE0 Success
*** Bootloader stage0 END ***
*** Execute 2nd Stage Bootloader which has been loaded and verified ***
U-Boot 2017.01
Model: RZ/N1S-DB board
DRAM: 4 MiB
MMC: sdhci@0x40100000: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB,
total 32 MiB, mapped at 10000000
In: serial@0x40060000
Out: serial@0x40060000
Err: serial@0x40060000
Net: dwmac.44000000, dwmac.44002000
Hit any key to stop autoboot: 0
=>
2.3 Setup U-Boot environment variables
This sets up the U-Boot environment variables for your board. From U-Boot, set the MAC
addresses corresponding to the MAC address sticker on the board, for example:
setenv -f ethaddr
74:90:50:02:00:FD
setenv -f eth1addr
74:90:50:02:00:FE
Save the environment variables:
saveenv
Summary of Contents for RZ/N1S-DB
Page 9: ...RZ N1S DB Board U Boot ...