4443133e1a121c1a8352b0607c82d29ee245d089
[oweals/u-boot.git] / README
1 Here is the step-by-step to boot U-Boot on phytium durian board.
2
3 Compile U-Boot
4 ==============
5   > make durian_defconfig
6   > make
7
8 Get the prebuild binary about BPF
9 =================================
10   > cd ../
11   > git clone https://github.com/phytium-durian/bpf.git
12
13 Package 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
21 Flash 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
27 Reset the board, you can get U-Boot log message from boot console:
28
29 Power on...
30 Start pcie setup!
31 End pcie setup!
32 Start ddr setup!
33 End ddr setup!
34 Jump to entrypoint: 0x500000
35
36 U-Boot 2019.10-00594-g9ccc1b17ea-dirty (Oct 18 2019 - 00:17:09 +0800)
37
38 DRAM:  1.9 GiB
39 In:    uart@28001000
40 Out:   uart@28001000
41 Err:   uart@28001000
42 scanning bus for devices...
43 Target spinup took 0 ms.
44 SATA link 1 timeout.
45 SATA link 2 timeout.
46 SATA link 3 timeout.
47 AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
48 flags: 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)
52 SATA link 0 timeout.
53 SATA link 1 timeout.
54 SATA link 2 timeout.
55 SATA link 3 timeout.
56 AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
57 flags: 64bit ncq led only pmp fbss pio slum part sxs
58 Hit any key to stop autoboot:  0
59 durian#