• 0
mihai5

U-boot error on kernel load

Question

Hi,

  I try to use petalinux 2017.2 to create a linux kernel for running on zedboard. I copied all the files from <petalinux_project_created>/images/linux$ and also <petalinux_project_created>/pre-built/linux/images$ into a fat32 partion on sdcard. At power on, I expected to get automatically into bootloader and just to run the command "run bootcmd" to get into linux OS, but it doesn't.

   I dowloded the bitstream and the u-boot.elf to get there. In this way i get into the u-boot but i get a strange error ...

Zynq> run bootcmd
Device: sdhci@e0100000
Manufacturer ID: 74
OEM: 4a60
Name: USD   
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** Invalid partition 1 **

I have 2 partions on my sdcard (BOOT - 450MB - FAT32 and ROOTFS-7GB-ext4). Did anyone meet this error?

Thanks,

Mihai

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Hi @jpeyron

         Meanwhile i solved my problem. The problem was that through a windows machine i tried to partition my sdcard into 2 partitions (boot + rootfs), but it partitioned into 4 partitions, from which 2 sub partitions(my desired partitions).
Trying to boot from the first partition which was a ext4 type rised this error.

Thanks,

Mihai

Share this post


Link to post
Share on other sites
  • 0

Hi @mihai5,

I do not have much experience with embedded linux. I reached out to my co-workers to see if they would have some input for you.

cheers,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now