Some boot_stage2 of RP2350 still reference to SSI and its registers #2126

Open
opened 2024-12-05 08:21:55 -06:00 by matsobdev · 4 comments
matsobdev commented 2024-12-05 08:21:55 -06:00 (Migrated from github.com)

Those files are:
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_at25sf128a.S
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_is25lp080.S
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_w25x10cl.S

I guess, those devices are not commonly used and I think hardware RP2350's flash support might take care of them or at least boot2_generic_03h will be compatible, so I would call it a minor issue.

Those files are: https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_at25sf128a.S https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_is25lp080.S https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/boot_stage2/boot2_w25x10cl.S I guess, those devices are not commonly used and I think hardware RP2350's flash support might take care of them or at least `boot2_generic_03h` will be compatible, so I would call it a minor issue.
lurch commented 2024-12-05 08:26:02 -06:00 (Migrated from github.com)

I guess this wasn't noticed earlier, because RP2350 builds don't use a boot_stage2 by default; you have to explicitly request it.

I guess this wasn't noticed earlier, because RP2350 builds don't use a `boot_stage2` by default; you have to explicitly request it.
matsobdev commented 2024-12-05 08:31:59 -06:00 (Migrated from github.com)

I've just noticed, they have:

// todo port to QMI

so I think it is on somebody's mind already :D

I've just noticed, they have: ``` // todo port to QMI ``` so I think it is on somebody's mind already :D
michael-ring commented 2024-12-07 16:05:26 -06:00 (Migrated from github.com)

boot_stage2 was used as default for RP2040, what is used now for RP2350?

Am 05.12.24 um 15:26 schrieb Andrew Scheller:

I guess this wasn't noticed earlier, because RP2350 builds don't use a
|boot_stage2| by default; you have to explicitly request it.

—
Reply to this email directly, view it on GitHub
https://github.com/raspberrypi/pico-sdk/issues/2126#issuecomment-2520471436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP5KU55IMHSHZPFJNXU3DT2EBPBPAVCNFSM6AAAAABTCSP27WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRQGQ3TCNBTGY.
You are receiving this because you are subscribed to this
thread.Message ID:
@.***>

boot_stage2 was used as default for RP2040, what is used now for RP2350? Am 05.12.24 um 15:26 schrieb Andrew Scheller: > > I guess this wasn't noticed earlier, because RP2350 builds don't use a > |boot_stage2| by default; you have to explicitly request it. > > — > Reply to this email directly, view it on GitHub > <https://github.com/raspberrypi/pico-sdk/issues/2126#issuecomment-2520471436>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABP5KU55IMHSHZPFJNXU3DT2EBPBPAVCNFSM6AAAAABTCSP27WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRQGQ3TCNBTGY>. > You are receiving this because you are subscribed to this > thread.Message ID: > ***@***.***> >
lurch commented 2024-12-08 04:47:34 -06:00 (Migrated from github.com)

boot_stage2 was used as default for RP2040, what is used now for RP2350?

On page 649 of https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf in the release-notes for SDK 2.0.0 it says:

boot_stage2

  • There are now separate implementations for RP2040 and RP2350.
  • A boot_stage2 is not needed on RP2350, but one can be included via the define PICO_EMBED_XIP_SETUP=1.

You'll probably want to have a look at Chapter 5 and Section 12.14 of https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf for more information.

> boot_stage2 was used as default for RP2040, what is used now for RP2350? On page 649 of https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf in the release-notes for SDK 2.0.0 it says: **boot_stage2** * There are now separate implementations for RP2040 and RP2350. * A `boot_stage2` is not needed on RP2350, but one can be included via the define `PICO_EMBED_XIP_SETUP=1`. You'll probably want to have a look at Chapter 5 and Section 12.14 of https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf for more information.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#2126
No description provided.