Re: [U-Boot-Users] Replacing AT91 u-boot

Now I have u-boot-1.1.3 on AT91RM9200DK, but something is still going wrong :-(
U-Boot 1.1.3 (Sep 30 2005 - 15:33:58)
U-Boot code: 21F00000 -> 21F172AC BSS: -> 21F1B968 RAM Configuration: Bank #0: 20000000 32 MB Atmel: AT49BV1614A (16Mbit) Flash: 2 MB DataFlash:AT45DB642 Nb pages: 8192 Page Size: 1056 Size= 8650752 bytes Logical address: 0xC0000000 Area 0: C0000000 to C0007FFF (RO) Area 1: C0008000 to C001FFFF (RO) Area 2: C0020000 to C0027FFF Area 3: C0028000 to C083FFFF In: serial Out: serial Err: serial U-Boot> printenv
bootdelay=3 baudrate=115200 ethaddr=00:02:a5:6e:3f:fd filesize=3638c0 fileaddr=21140000 netmask=255.255.255.0 ipaddr=192.168.0.184 serverip=192.168.0.11 bootargs=root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=15360 console=ttyS0,115200 mem=32M stdin=serial stdout=serial stderr=serial
Environment size: 294/8188 bytes U-Boot> tftp 21000000 uImage
TFTP from server 192.168.0.11; our IP address is 192.168.0.184 Filename 'uImage'. Load address: 0x21000000 Loading: *################################################################# ############################################################## done Bytes transferred = 646841 (9deb9 hex) U-Boot> tftp 21100000 ramdisk
TFTP from server 192.168.0.11; our IP address is 192.168.0.184 Filename 'ramdisk'. Load address: 0x21100000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################# done Bytes transferred = 3553472 (3638c0 hex) U-Boot> bootm 21000000
## Booting image at 21000000 ... Image Name: Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 646777 Bytes = 631.6 kB Load Address: 20008000 Entry Point: 20008000 Verifying Checksum ... OK Uncompressing Kernel Image ... [here is freezed]
Maybe into boot.bin there were some setting necessary for the system ? AFAIK nobody (either Atmel) uses u-boot stored at the beginning of the flash (as many others ARM board producers do), but AT91 uses a pre-bootloader. FYI, I have ParallelFlash: AT49BV1614A DataFlash: AT45DB642
Any help will be appreciated TIA

In message INPD6P$312004E151C9812F7DD3EEB54320D940@libero.it you wrote:
Now I have u-boot-1.1.3 on AT91RM9200DK, but something is still going wrong :-(
Yes. The problem is: You did not read the manual.
U-Boot> tftp 21000000 uImage
...
U-Boot> tftp 21100000 ramdisk
So it seems you want to boot a Linux kernel with root file system in a ramdisk image, but then...
U-Boot> bootm 21000000
...I did not see where you defined your "bootargs" variable, and the correct boot comand for using a ramdisk has two arguments instead of one.
May be into boot.bin there were some setting necessary for the system ?
Nargh. Please forget boot.bin. You will not need it any more.
AFAIK nobody (either Atmel) uses u-boot stored at the beginning of the flash (as many others ARM board producers do), but AT91 uses a pre-bootloader.
I don't know where you got this "knowledge" from, but it is plain wrong.
Any help will be appreciated
Help yourself. Read the manual.
Best regards,
Wolfgang Denk
participants (2)
-
kentropy
-
Wolfgang Denk