of 29
Jan.31.2020
Reset the board, you will see the boot messages followed by a log on prompt. This can take quite a
while.
rzn1d400-db login:
Log on with username root.
Now you have Linux running, you can ping your PC’s NIC.
ping 192.168.1.30
You have now successfully started U-Boot and Linux on the Cortex A7. To run software on Cortex M3, you
need to use IAR Embedded Workbench, that you hopefully installed already.
If you wish to use Ethernet within Linux, but do not have an Extension Board, you should use a special
Device Tree file that allows Linux to use GMAC2 via the 5-Port Switch on the RZ/N1 device. Where this
document tells you to use uImage-rzn1d400-db.dtb, instead use uImage-rzn1d400-db-no-cm3.dtb. Note
that the Linux driver for the 5-Port Switch simply configures it as an unmanaged switch. When using this
DTB, connect CN1 on the board to a dedicated Network Interface Card (NIC) on your PC.
NOTE: this setup does not correspond to the default use case of RZ/N1 in industrial switch applications and
with the *-no_cm3.dtb, Cortex M3 (communication core) cannot use industrial ethernet interfaces.
•If you wish to use Ethernet, and are using the Extension Board, you can connect J22 of the
Extension Board to a dedicated Network Interface Card (NIC) on your PC. This is used to access
GMAC1 on the RZ/N1 device.
By default, the board uses static IP addresses, so please ensure your host’s NIC is set up with a static IP
address of 192.168.1.30. This address is set by default in the U-Boot serverip environment variable.
3.2 Running a sample application with IAR EWARM
In the previous section we saw how you can run Linux on Cortex A7. We can now proceed with running a
sample application on the Cortex M3. You need to follow the steps below to load Cortex M3 image in SRAM
and execute it from there. Additionally, you can write the images in flash and load them to SRAM after reset,
by setting the corresponding U-Boot parameters, as described in chapter 3.3.
3.2.1 Run and debug Cortex M3 software from RAM with IAR Debugger
1. Power the board and open a serial terminal to U-Boot as explained in the previous chapters and
reset the board - SW4
2. Open the IAR EWARM 8.30.2 that you previously installed
3. Click on File -> Open Workspace as depicted below