README.txt 1.1 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
fel-boot.bin is a FEL bootstrap program.

fel write 0x2000 fel-boot.bin
fel exe 0x2000
fel write 0x4a000000 u-boot.bin
fel exe 0x4a000000

optionally load kernel + initramfs before fel exe of u-boot

fel write 0x2000 fel-boot.bin
fel exe 0x2000
fel write 0x4a000000 u-boot.bin
fel write 0x43000000 ../script.bin
fel write 0x44000000 ../uImage
fel write 0x4c000000 ../initramfs.img
fel exe 0x4a000000

Build instructions:

20
0. You need to build u-boot sunxi-current SPL first for the your board.
21

22
1. Specify needed configuration when when running make
23

24
25
26
27
	BOARD=		boardname
	CROSS_COMPILE=	compiler prefix
	UBOOT=		u-boot sources
	UBOOTOBJ=	u-boot built tree
28

29
make BOARD=cubieboard CROSS_COMPILE=arm-linux-gnueabihf- UBOOT=~/SRC/u-boot/ UBOOTOBJ=~/SRC/u-boot/build/'$(BOARD)'/
30

31
Defaults:
32

33
34
35
# Target board name. This should match the dram_<boardname>.c in
# u-boot/board/sunxi/
BOARD=eoma68
36

37
38
# Path to your tool chain
CROSS_COMPILE=ikk/toolchains/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
39

40
41
# U-boot main source path
UBOOT=/home/henrik/SRC/u-boot/
42

43
44
# U-boot object path (O=... when building u-boot).
UBOOTOBJ=$(UBOOT)build/$(BOARD)/