Hello list,
Here are the step's that I took to get the uClinux dist. to compile and 
run under the skyeye emulator on Kubuntu 9.04. 
Hope it helps.....
James

1) install kubuntu 9.04                                         (get the 
disk from www.kubuntu.org)
2) install all updates using update notifier            (little gear on 
the lower right toolbar)
3) start a shell... "K"->applications->system->terminal
4) sudo apt-get install skyeye libncurses5-dev genromfs 
5) cd /tmp
6) wget 
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20070808.tar.gz
7) cd /
8) sudo tar -zxvf /tmp/arm-linux-tools-20070808.tar.gz
9) cd ~
10) wget 
http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20080808.tar.bz2
11) tar -jxvf uClinux-dist-20080808.tar.bz2
12) cd uClinux-dist
13) make menuconfig
14) choose Vendor/Product Selection
15) choose Vendor and select GDB
16) choose Products and select SkyEye
17) choose exit
18) choose exit
19) choose yes to save new kernel configuration.
20) issue "make"
21) cd to images
22) create a skyeye.conf with the following info...
#------
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

23) run skyeye 
   skyeye -e linux -c skyeye.conf

that's it.....

<terminal dump>
robin...@robinsoj1-vm1:~/uClinux-dist/images$ skyeye -e linux -c 
skyeye.conf 
big_endian is false.  
arch: arm  
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0  
mach info: name at91, mach_init addr 0x8057550  
uart_mod:0, desc_in:, desc_out:, converter:  
SKYEYE: use arm7100 mmu ops  
Loaded ROM   ./boot.rom  
start addr is set to 0x01008000 by exec file.  
Linux version 2.6.25-uc0 (robin...@robinsoj1-vm1) (gcc version 4.2.1) #2 
Mon Jun 22 21:02:12 EDT 2009  
CPU: Atmel-AT91M40xxx [14000040] revision 0 (ARMvundefined/unknown), 
cr=00000000
Machine: Atmel AT91 EB01  
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064 
 
Kernel command line:  
PID hash table entries: 64 (order: 6, 256 bytes)  
console [ttyS0] enabled  
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)  
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)  
Memory: 16MB = 16MB total  
Memory: 15284KB available (820K code, 74K data, 60K init)  
Mount-cache hash table entries: 512  
io scheduler noop registered (default)  
Atmel USART driver version 0.99  
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART  
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART  
brd: module loaded
uclinux[mtd]: RAM probe address=0x1400000 size=0xff000
Creating 1 MTD partitions on "ROM":
0x00000000-0x000ff000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 60K
Shell invoked to run file: /etc/rc
Command: hostname GDB-ARMulator
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram0 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: cat /etc/motd
Welcome to
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

GDB/ARMulator support by <[email protected]>
For further information check:
http://www.uclinux.org/

Execution Finished, Exiting

Sash command shell (version 1.1.1)
/>

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to