Lines Matching +full:boot +full:- +full:serial +full:- +full:test

5 base on RISC-V architecture.
10 AX25-AE350
13 AX25-AE350 is the SoC with AE350 hardcore CPU.
19 If you want to boot this system from SPI ROM and bypass e-bios (the
20 other boot loader on ROM). You should undefine CONFIG_SKIP_LOWLEVEL_INIT
21 in "include/configs/ax25-ae350.h".
23 Build and boot steps
28 2. Use `make ae350_rv[32|64]_defconfig` in u-boot root to build the image for 32 or 64 bit.
45 1. Define CONFIG_SKIP_LOWLEVEL_INIT to build u-boot which is loaded via gdb from ram.
46 2. Undefine CONFIG_SKIP_LOWLEVEL_INIT to build u-boot which is booted from spi rom.
48 4. Scan sd card and copy u-boot image which is booted from flash to ram by sd driver.
49 5. Burn this u-boot image to spi rom by spi driver
50 6. Re-boot u-boot from spi flash with power off and power on.
52 Messages of U-Boot boot on AE350 board
54 U-Boot 2018.01-rc2-00033-g824f89a (Dec 21 2017 - 16:51:26 +0800)
59 In: serial@f0300000
60 Out: serial@f0300000
61 Err: serial@f0300000
63 Warning: mac@e0100000 (eth0) using random MAC address - be:dd:d7:e4:e8:10
66 RISC-V # version
67 U-Boot 2018.01-rc2-00033-gb265b91-dirty (Dec 22 2017 - 13:54:21 +0800)
69 riscv32-unknown-linux-gnu-gcc (GCC) 7.2.0
72 RISC-V # setenv ipaddr 10.0.4.200 ;
73 RISC-V # setenv serverip 10.0.4.97 ;
74 RISC-V # ping 10.0.4.97 ;
78 RISC-V # mmc rescan
79 RISC-V # fatls mmc 0:1
80 318907 u-boot-ae350-64.bin
82 328787 u-boot-ae350-32.bin
86 RISC-V # sf probe 0:0 50000000 0
89 RISC-V # sf test 0x100000 0x1000
90 SPI flash test:
95 Test passed
101 RISC-V # fatload mmc 0:1 0x600000 u-boot-ae350-32.bin
102 reading u-boot-ae350-32.bin
105 RISC-V # sf erase 0x0 0x51000
108 RISC-V # sf write 0x600000 0x0 0x50453
112 RISC-V # crc32 0x600000 0x50453
115 RISC-V # crc32 0x80000000 0x50453
117 RISC-V #
119 *** power-off and power-on, this U-Boot is booted from spi flash ***
121 U-Boot 2018.01-rc2-00032-gf67dd47-dirty (Dec 21 2017 - 13:56:03 +0800)
126 In: serial@f0300000
127 Out: serial@f0300000
128 Err: serial@f0300000
130 Warning: mac@e0100000 (eth0) using random MAC address - ee:4c:58:29:32:f5
132 RISC-V #
135 Boot bbl and riscv-linux via U-Boot on QEMU
137 1. Build riscv-linux
138 2. Build bbl and riscv-linux with --with-payload
140 4. Creating OS-kernel images
141 ./mkimage -A riscv -O linux -T kernel -C none -a 0x0000 -e 0x0000 -d bbl.bin bootmImage-bbl.bin
144 Image Type: RISC-V Linux Kernel Image (uncompressed)
149 4. Copy bootmImage-bbl.bin and ae350.dtb to qemu sd card image
150 5. Message of booting riscv-linux from bbl via u-boot on qemu
152 U-Boot 2018.03-rc4-00031-g2631273 (Mar 13 2018 - 15:02:55 +0800)
155 main-loop: WARNING: I/O thread spun for 1000 iterations
157 Loading Environment from SPI Flash... *** Warning - spi_flash_probe_bus_cs() failed, using default …
159 Failed (-22)
160 In: serial@f0300000
161 Out: serial@f0300000
162 Err: serial@f0300000
164 Warning: mac@e0100000 (eth0) using random MAC address - 02:00:00:00:00:00
166 RISC-V # mmc rescan
167 RISC-V # mmc part
169 Partition Map for MMC device 0 -- Partition Type: DOS
172 RISC-V # fatls mmc 0:0
173 17901268 bootmImage-bbl.bin
178 RISC-V # fatload mmc 0:0 0x00600000 bootmImage-bbl.bin
180 RISC-V # fatload mmc 0:0 0x2000000 ae350.dtb
182 RISC-V # setenv bootm_size 0x2000000
183 RISC-V # setenv fdt_high 0x1f00000
184 RISC-V # bootm 0x00600000 - 0x2000000
187 Image Type: RISC-V Linux Kernel Image (uncompressed)
196 [ 0.000000] OF: fdt: Ignoring memory range 0x0 - 0x200000
197 [ 0.000000] Linux version 4.14.0-00046-gf3e439f-dirty (rick@atcsqa06) (gcc version 7.1.1 2017050…
201 [ 0.000000] DMA [mem 0x0000000000200000-0x000000007fffffff]
205 [ 0.000000] node 0: [mem 0x0000000000200000-0x000000007fffffff]
206 [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
210 [ 0.000000] Kernel command line: console=ttyS0,38400n8 earlyprintk=uart8250-32bit,0xf0300000 deb…
213 [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
215 …56K kernel code, 204K rwdata, 532K rodata, 12076K init, 756K bss, 47272K reserved, 0K cma-reserved)
216 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
223 [ 0.004000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
224 [ 0.004000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
236 [ 0.100000] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
242 [ 1.244000] io scheduler mq-deadline registered
244 [ 1.360000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
246 [ 1.372000] f0300000.serial: ttyS0 at MMIO 0xf0300020 (irq = 10, base_baud = 1228800) is a 16550A
260 [ 1.456000] ftsdc010 f0e00000.mmc: mmc0 - using hw SDIO IRQ
275 Boot bbl and riscv-linux via U-Boot on AE350 board