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

Re: [microblaze-uclinux] uClinux problem



Hi there,

U-Boot> protect off $(bootstart) + $(bootsize)
Usage:
protect - enable or disable FLASH write protection

U-Boot> erase $(bootstart) + $(bootsize)
Usage:
erase   - erase FLASH memory

U-Boot> cp.b $(fileaddr) $(bootstart) $(filesize)
Usage:
cp      - memory copy
The reason why there is no u-boot image in FLASH is because the FLASH unlock, erase and program commands did not complete successfully.

This is probably because you have not set up the u-boot environment correctly. Hence $(bootstart) evaluates to nothing.

A better start would be to follow the Working with Pre-built Design (follow the link below).

http://developer.petalogix.com/wiki/BoardGuides/Generic/prebuilt

This tutorial run you through the entire board bring up process. Refer to the Automated Board Bring-up section for references to what you are trying to do.

Let us know you go.

Cheers,
Benny

pantgom@xxxxxxx wrote:
Hi, it is the first time I use this list. So I hope that somebody could
help me. Sorry if we have sent messages in other emails.

I work in a project with other person and we are trying to put petalinux
in a Spartan 3e with the Petalogix tutorial. We have followed every step
in http://developer.petalogix.com but at finally when we reboot the board
there is no image loaded in the FLASH.

We don't know if there is some problem, or another method to download the
uclinux. We have probed to use XMD and download image.bin in DDR but it
keeps in a loop.

The output is:

FS-BOOT First Stage Bootloader (c) 2006 PetaLogix

=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: No existing image in FLASH.      <----------- I receive this when
I reboot the board.

FS-BOOT: Waiting for SREC image....




The command line is the next:

U-Boot> loadb 0x22000000
## Ready for binary (kermit) download to 0x22000000 at 115200 bps...

(Back at localhost.localdomain )
----------------------------------------------------
C-Kermit 8.0.211, 10 Apr 2004, for Linux
 Copyright (C) 1985, 2004,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/noelia/) C-Kermit>send /bin /tftpboot/ub.config.img
(/home/noelia/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x000003eb = 1003 Bytes
## Start Addr      = 0x22000000
U-Boot> autoscr $(fileaddr)
## Executing script at 00000000
Bad magic number
U-Boot> autoscr $(fileaddr)
## Executing script at 22000000
PetaLogix MicroBlaze-Auto Board Configuration
---------------------------------------------
Network Configuration:
MTD Configuration:
Clobber DRAM Configuration:
Bootloader Configuration:
Kernel Configuration:
Boot Configuration:
Saving Configurations...
Saving Environment to Flash...
Un-Protected 2 sectors
Erasing Flash...
.. done
Erased 2 sectors
Writing to Flash... done
Protected 2 sectors
Configuration Completed
U-Boot> loadb $(clobstart)
## Ready for binary (kermit) download to 0x22000000 at 115200 bps...

(Back at localhost.localdomain )
----------------------------------------------------
(/home/noelia/) C-Kermit>send /tftpboot/u-boot-s.bin
(/home/noelia/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x00018f58 = 102232 Bytes
## Start Addr      = 0x22000000
U-Boot> protect off $(bootstart) + $(bootsize)
Usage:
protect - enable or disable FLASH write protection

U-Boot> erase $(bootstart) + $(bootsize)
Usage:
erase   - erase FLASH memory

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

U-Boot> loadb $(clobstart)
## Ready for binary (kermit) download to 0x22000000 at 115200 bps...

(Back at localhost.localdomain )
----------------------------------------------------
(/home/noelia/) C-Kermit>send /tftpboot/image.ub
(/home/noelia/) C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x002ee040 = 3072064 Bytes
## Start Addr      = 0x22000000
U-Boot> protect off $(kernstart) + $(kernsize)
Usage:
protect - enable or disable FLASH write protection

U-Boot> erase $(kernstart) + $(kernsize)
Usage:
erase   - erase FLASH memory

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



___________________________
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/

___________________________
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/