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

[microblaze-uclinux] Petalinux-v0.10-rc1 errors with U-Boot



Hello,

 

I’m a French engineer working on Xilinx FPGAs. I’ve been trying to get the rc1 Petalinux working with a Xilinx ML402 board (which is close to Xilinx ML401 board). I successfully built the hardware and software platforms. Then I successfully download and run the petalinux image using FS-Boot.

But I run into errors while trying to use the U-Boot to put the petalinux image into flash memory. When I run the ub.config.img script, U-Boot failed to save the environment to Flash. Step 6.4.3 of the “PetaLinux Platform From Scratch” tutorial (http://developer.petalogix.com/wiki/BoardGuides/Custom/Tutorial).

 

Here is my errors report:

 

=================================================

FS-BOOT First Stage Bootloader (c) 2006 PetaLogix

=================================================

FS-BOOT: System initialisation completed.

FS-BOOT: No existing image in FLASH.  Starting image download.

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

FS-BOOT: Image download successful.

FS-BOOT: Warning image location differ from default boot location. Image will not boot automatically after POR.

FS-BOOT: Press 'n' to boot old image.

FS-BOOT: Use new image.

FS-BOOT: Booting image...

SDRAM :

        U-Boot Start:0x27fc0000

        Malloc Start:0x27f80000

        Board Info Start:0x27f7ffd0

        Boot Parameters Start:0x27f6ffd0

FLASH:  8 MB

ETHERNET: MAC:<NULL>

 

*** Warning - bad CRC, using default environment

 

U-Boot> loadb $(clobstart)

## Ready for binary (kermit) download to 0x24000000 at 115200 bps...

 

(Back at localhost.localdomain)

----------------------------------------------------

(/export/TMP/leroyj/AETHER/uCLinux_ML402/petalinux-v0.10-rc1/) C-Kermit>send /bin /tftpboot/ub.config.img

(/export/TMP/leroyj/AETHER/uCLinux_ML402/petalinux-v0.10-rc1/) C-Kermit>connect

Connecting to /dev/ttyS0, 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      = 0x000003df = 991 Bytes

## Start Addr      = 0x24000000

U-Boot> autoscr $(fileaddr)

## Executing script at 24000000

PetaLogix MicroBlaze-Auto Board Configuration

---------------------------------------------

Network Configuration:

MTD Configuration:

Clobber DRAM Configuration:

Bootloader Configuration:

Kernel Configuration:

Boot Configuration:

Saving Configurations...

Saving Environment to Flash...

Error: end address not on sector boundary

U-Boot>                          

 

 

Can anyone give hints on what may be going wrong?

Thanks.