Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to select SDCARD is failing with latest release #5

Open
ombhilare999 opened this issue Jul 5, 2024 · 3 comments
Open

Attempting to select SDCARD is failing with latest release #5

ombhilare999 opened this issue Jul 5, 2024 · 3 comments

Comments

@ombhilare999
Copy link

ombhilare999 commented Jul 5, 2024

Hello,

When I am using the reference design from the latest release 2024.06 and the linux image from 2024.04, I am not able to load the linux on to the board.

Any help would be really appreciated. Please use following steps to reproduce, also kindly let me know if I am doing anything wrong.

  1. Get the reference design from the latest release [2024.06]
wget https://github.com/polarfire-soc/polarfire-soc-discovery-kit-reference-design/releases/download/v2024.06/MPFS_DISCOVERY.zip
unzip MPFS_DISCOVERY.zip
FPExpress
#Load the job in FPExpress and program the board
  1. HSS version upon programming the latest release job:
    image

  2. Preparing SDCARD with the linux image:
    A quick question here, does 2024.06 release was supposed to come with its own compatible linux version?

#Download the linux image from 2024.04 release as 2024.06 does not contain linux image in it.
wget https://github.com/polarfire-soc/polarfire-soc-discovery-kit-reference-design/releases/download/2024.04/MPFS_DISCOVERY_LINUX_IMAGE.zip
unzip MPFS_DISCOVERY_LINUX_IMAGE.zip
gunzip core-image-minimal-dev-mpfs-disco-kit-20240426091646.rootfs.wic.gz  #extract wic.gz to wic
bmaptool copy core-image-minimal-dev-mpfs-disco-kit-20240426091646.rootfs.wic /dev/sda1
sudo bmaptool copy core-image-minimal-dev-mpfs-disco-kit-20240426091646.rootfs.wic /dev/sda1
sudo fdisk /dev/sda1 #Followed steps from: https://github.com/polarfire-soc/meta-polarfire-soc-yocto-bsp?tab=readme-ov-file#copy-the-created-disk-image-to-flash-device-usb-mmc-flashsdusd
  1. Result:
    image
@ombhilare999 ombhilare999 changed the title Attempting to select SDCARD is Failing with latest release Attempting to select SDCARD is failing with latest release Jul 5, 2024
@ombhilare999
Copy link
Author

Hi,

I have tried the older HSS version (v2024.02.1) as well with the board. It still doesn't seem to work in my case.

  1. HSS v2024.02.1 version obtained from the HSS repo
    image
    HSS boot log from the board:
    image

  2. Linux Image from the same release (v2024.02.1) of the yocto repo release:
    image

  3. Used usbimager to flash as it was shown in some of the tutorials:
    image

  4. I have also confirmed that the board jumpers are correctly configured.

But still the SDCARD selection fails:
image

[4.54457] Attempting to select SDCARD ... Failed
[12.592443] Boot Image NULL, ignoring
[12.597695] validation failed for Hart bitmask 1e

How can I debug this error in depth? I tried searching about "Hart bitmask 1e" error on microchip forums but could not found anything releated.

Thank you.

@hughbreslin
Copy link
Member

Hi @ombhilare999 there is an asset available in the 2024.06 Yocto release. I updated the RN to link to it. Have you tried this? Could you also let me know what SD card you're using and if this was working before and is now no longer working?

@ombhilare999
Copy link
Author

Hello @hughbreslin ,
Thank you for the follow-up. I'll try this release as well; could you perhaps tell me which HSS version I should test it with?

Also, I'm using a typical 16 GB Micro SD HC card, which works, but I'll try it with another SDCARD as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants