
101
Linux and U-Boot Packages
DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018
Synopsys, Inc.
May 2017
In: serial0@e0022000
Out: serial0@e0022000
Err: serial0@e0022000
Net:
Warning: ethernet@e0018000 (eth0) using random MAC address - d2:83:38:6d:af:37
eth0: ethernet@e0018000
AXS#
Depending on the
bootcmd
variable, U-Boot may automatically execute the boot sequence.
To prevent it press any key within three seconds to stop the countdown.
U-Boot is controlled with its specific set of commands. You can list the available commands
using the
?
or
help
commands.
You can also create scripts of commands. A script with the name
bootcmd
is automatically
executed after boot delay expires and may be saved into EEPROM with the
saveenv
command.
8.7.3.2 Linux Execution with U-Boot Started Manually
To run a Linux image from the SD-card, do the following:
1. Rename the
uImage_axs103
file to
uImage
.
2. Copy
uImage
to the SD card.
3. Insert the SD card
4. Run the following U-Boot commands:
setenv bootcmd fatload mmc 0\; bootm
boot
Result
You see following log in the serial console:
AXS# setenv bootcmd fatload mmc 0\; bootm
AXS# boot
reading uImage
13670495 bytes read in 2323 ms (5.6 MiB/s)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-4.10.9
Image Type: ARC Linux Kernel Image (gzip compressed)
Data Size: 13670431 Bytes = 13 MiB
Load Address: 80000000
Entry Point: 809c0000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 4.10.9 (abrodkin@ru20arcgnu1) (gcc version 6.2.1 20160824 (Buildroot
2017.02-00002-gce00ac569) ) #2 SMP PREEMPT Tue Apr 11 11:55:47 MSK 2017
Memory @ 80000000 [512M]