README.txt 1.22 KB
Newer Older
1
2
3
4
5
6
7
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

8
9
optionally load kernel + initramfs before fel exe of u-boot. The default
environmen looks for a boot script @0x41000000 and sources this if found.
10
11
12
13

fel write 0x2000 fel-boot.bin
fel exe 0x2000
fel write 0x4a000000 u-boot.bin
14
fel write 0x41000000 ramboot.scr
15
16
17
18
19
20
21
fel write 0x43000000 ../script.bin
fel write 0x44000000 ../uImage
fel write 0x4c000000 ../initramfs.img
fel exe 0x4a000000

Build instructions:

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

24
1. Specify needed configuration when when running make
25

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

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

33
Defaults:
34

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

39
# Path to your tool chain
40
CROSS_COMPILE=$(HOME)/toolchains/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
41

42
# U-boot main source path
43
UBOOT=$(HOME)/SRC/u-boot/
44

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