Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Lukasz Tekieli <tekieli.lukasz@gmail.com>
Cc: Francois Dugast <francois.dugast.foss@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 2/2] board/visionfive2: enable u-boot
Date: Sat, 23 Mar 2024 21:25:11 +0100	[thread overview]
Message-ID: <874jcwitlk.fsf@48ers.dk> (raw)
In-Reply-To: <20240208211517.9234-3-tekieli.lukasz@gmail.com> (Lukasz Tekieli's message of "Thu, 8 Feb 2024 22:15:17 +0100")

>>>>> "Lukasz" == Lukasz Tekieli <tekieli.lukasz@gmail.com> writes:

 > Enables U-Boot and required OpenSBI builds for the VisionFive2. Changes
 > the sdcard.img to use GPT and adds the SPL and U-Boot to partitons
 > specified in U-Boot's documentation for the board.

Hmm, so to use that we need to change the boot mode to SD, otherwise the
SBI/U-Boot in the SPI flash will still be used - So we should add a note
about that.

I gave it a quick try here and it does boot, but USB is broken in U-Boot
and Linux, is that a known issue?

[    8.728592] xhci_hcd 0000:01:00.0: Error while assigning device slot ID
[    8.735301] xhci_hcd 0000:01:00.0: Max number of devices this xHCI host supports is 32.
[    8.743495] usb usb2-port2: couldn't allocate usb_device
[    8.748984] xhci_hcd 0000:01:00.0: Error while assigning device slot ID
[    8.755660] xhci_hcd 0000:01:00.0: Max number of devices this xHCI host supports is 32.
[    8.763686] usb usb1-port1: couldn't allocate usb_device

 > U-Boot config uses BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME with value
 > "u-boot.itb". Using BR2_TARGET_UBOOT_FORMAT_ITB fails, because the
 > build does not support u-boot.itb make target.

Hmm, odd.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-03-23 20:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08 21:15 [Buildroot] [PATCH v2 0/2] board/visionfive2: enable u-boot Lukasz Tekieli
2024-02-08 21:15 ` [Buildroot] [PATCH v2 1/2] board/visionfive2: fix genimage.cfg path Lukasz Tekieli
2024-03-23 20:22   ` Peter Korsgaard
2024-03-25  7:57     ` Peter Korsgaard
2024-02-08 21:15 ` [Buildroot] [PATCH v2 2/2] board/visionfive2: enable u-boot Lukasz Tekieli
2024-03-23 20:25   ` Peter Korsgaard [this message]
2024-03-24  7:35     ` Łukasz Tekieli
2024-03-24  7:58       ` Peter Korsgaard
2024-03-24  8:19         ` Łukasz Tekieli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jcwitlk.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=francois.dugast.foss@gmail.com \
    --cc=tekieli.lukasz@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox