ubuntu: uClinux终于可以跑在skyeye下了。
首先确保root用户,let's go.
1.install skyeye_1_2_2_Rel
2.install cross-compiler
3.compile uClinux-dist-20060803
step1:
q: wish: Command not found,when make xconfig
a:need TK tookit package(TK8.4)
step2:
step3:
q:arm-linux-gcc: Command not found
a:change arm-linux- cross-compiler into arm-elf- in vendors/config/armnommu/config.arch
4.run the uClinux in skyeye
step1: add the skyeye.conf in director uClinux-dist/
skyeye.conf:
step2: for file=./boot.rom in skyeye.conf
step2: run uClinux
OK, >ls, 熟悉了吧,haha
q:backspace key is not suppot in uClinux?
a:ctrl+H
q:loading is stoped when $skyeye linux?
a:$skyeye -e linux, because the file:linux is ELF image.
note: 其他版本未测试,google应该能g出来,hehe。
首先确保root用户,let's go.
1.install skyeye_1_2_2_Rel
代码:
$make
(note: refer to skyeye/README, gcc4.1.2)
2.install cross-compiler
代码:
$chmod 777 arm-elf-tools-20030314.sh
$./arm-elf-tools-20030314.sh
$./arm-elf-tools-20030314.sh
3.compile uClinux-dist-20060803
step1:
代码:
$make xconfig
(note:choose GDB/ARMulator,kernel2.4,ucLibc)
q: wish: Command not found,when make xconfig
a:need TK tookit package(TK8.4)
step2:
代码:
$make dep
step3:
代码:
$make
(成功后生成linux-2.4-x/linux,images/boot.rom和linux)
q:arm-linux-gcc: Command not found
a:change arm-linux- cross-compiler into arm-elf- in vendors/config/armnommu/config.arch
4.run the uClinux in skyeye
step1: add the skyeye.conf in director uClinux-dist/
skyeye.conf:
代码:
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
step2: for file=./boot.rom in skyeye.conf
代码:
$ln -s images/boot.rom boot.rom
step2: run uClinux
代码:
$skyeye -e linux-2.4.x/linux
OK, >ls, 熟悉了吧,haha
q:backspace key is not suppot in uClinux?
a:ctrl+H
q:loading is stoped when $skyeye linux?
a:$skyeye -e linux, because the file:linux is ELF image.
note: 其他版本未测试,google应该能g出来,hehe。