[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Problem with 2nd stage bootloader (u-boot)



Hello together,

I am following the tutorial for the ML401 board on the petalogix website
(http://developer.petalogix.com/wiki/BoardGuides/Xilinx/ML401/Tutorial)
but I am stuck at section 4.3 (U-Boot board configuration).

U-Boot is getting loaded after sending it to the 1st stage bootloader.
The download of the configuration script works to and is stored in the
flash. One thing that seems strage for me is that it says: 

## Booting image at 280c0000 ...
Bad Magic Number

I have no network connection to the board so I am using kermit to
download the u-boot-s.bin. Instead of 

U-Boot> tftp $(clobstart) u-boot-s.bin

I send the file using kermit

U-Boot> loadb $(clobstart)
## Ready for binary (kermit) download to 0x10000000 at 115200 bps...
## Total Size      = 0x0001c894 = 116884 Bytes
## Start Addr      = 0x10000000

Like this.

The next steps in the tutorial and their results are:

U-Boot> protect off $(bootstart) +$(bootsize)
Un-Protected 1 sectors

This seems to work.

U-Boot> erase $(bootstart) +$(bootsize)

Flash erase error at address 28000000
 done
Erased 1 sectors

WTF? This seems not to work. I don't know why.

U-Boot> cp.b $(fileaddr) $(bootstart) $(filesize)
Usage:
cp      - memory copy

This does not work at all. I found out that the fileaddr variable is
empty. So I tried that:

U-Boot> cp.b $(clobstart) $(bootstart) $(filesize)
Copy to Flash... Flash write error at address 28000000
Outside available Flash

Again no success. 

I don't know what to do. Please help me!

Some remarks:

- I am new to all this.

- I used EDK 8.2.02i on Windows to create the bitfile and fs-boot
I used the Xilinx-ML401-uclinux-ref-edk82 design but because of the
service pack some parts had to be updated. I did not upgrade as much as
possible.

- I am using a slow linux machine to compile the petalogix distribution,
I copied the Xilinx-ML401-uclinux-ref-edk82 between the windows and
linux machine for the auto config.

- I am using HyperTerminal for the serial connection.

If you have any hints for me please let me know.

Best regards

Jarno Radde

PS: Sorry for the annoying footer, I cannot disable it. The mailserver
adds it automatically :(

 

This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message.
  
Thank you for your co-operation.



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/