[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Petalinux-v0.10-rc1 errors with U-Boot
LEROY Jean-Loup wrote:
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
Saving Environment to Flash...
Error: end address not on sector boundary
Physically, flash memory is arranged into sectors. Logically, we
arrange the flash into partitions. One such partition contains u-boot's
U-boot is complaining because the partition nominated for this saved
environment is not aligned to a physical sector boundary. This is a
problem because sectors are the minimum unit for flash erase operations.
If you go into the main menuconfig, under user/vendor settings -> system
configuration -> flash partition table, you will see the default flash
You need to make sure that the sizes of these partitions, is setup in
such a way that the boundaries of each partition aligns with the
physical flash sector size.
Given the similarities among the ML40x boards, you would probably do
well to copy the partition settings that we have provided for the ML401
Have a look at the file
petalinux-dist/vendor/Xilinx/ML401/config.vendor, near the top are the
config strings that define the default partition sizes.
Once you've updated these for your platform, you'll need to rebuild
u-boot, and try again.
I hope this helps,
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/