blob: 4443133e1a121c1a8352b0607c82d29ee245d089 [file] [log] [blame]
liu haoe3aafef2019-10-31 07:51:08 +00001Here is the step-by-step to boot U-Boot on phytium durian board.
2
3Compile U-Boot
4==============
5 > make durian_defconfig
6 > make
7
8Get the prebuild binary about BPF
9=================================
10 > cd ../
11 > git clone https://github.com/phytium-durian/bpf.git
12
13Package the image
14=================
15 > cd bpf
16 > cp ../u-boot/u-boot.bin ./
17 > ./dopack
18
19 The fip-all.bin is the final image.
20
21Flash the image into the spi nor-flash
22======================================
23 Any spi nor-flash and appropriate tool can be used to flash.
24 For example, we choose the S25FL256 chip that produced from
25 SPANSION company and EZP_XPro V1.2.
26
27Reset the board, you can get U-Boot log message from boot console:
28
29Power on...
30Start pcie setup!
31End pcie setup!
32Start ddr setup!
33End ddr setup!
34Jump to entrypoint: 0x500000
35
36U-Boot 2019.10-00594-g9ccc1b17ea-dirty (Oct 18 2019 - 00:17:09 +0800)
37
38DRAM: 1.9 GiB
39In: uart@28001000
40Out: uart@28001000
41Err: uart@28001000
42scanning bus for devices...
43Target spinup took 0 ms.
44SATA link 1 timeout.
45SATA link 2 timeout.
46SATA link 3 timeout.
47AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
48flags: 64bit ncq led only pmp fbss pio slum part sxs
49 Device 0: (0:0) Vendor: ATA Prod.: ST1000DM010-2EP1 Rev: CC43
50 Type: Hard Disk
51 Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
52SATA link 0 timeout.
53SATA link 1 timeout.
54SATA link 2 timeout.
55SATA link 3 timeout.
56AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
57flags: 64bit ncq led only pmp fbss pio slum part sxs
58Hit any key to stop autoboot: 0
59durian#