Skip to contentSkip to conversation

Question about Zynq SPL

U-Boot Masahiro Yamada 2 participants 5 messages Feb 26, 2014

lore
Share & tools
lore
#0 lore raw

Hello Michal,

Please let me confirm if I am correctly understanding Zynq SPL added by commit d7e269c.

Before that commit, Zynq booted like follows
[1] Boot ROM
[2] First Stage Boot Loader (created by Xilinx SDK)
[3] U-Boot

Now, SPL replaces FSBL. So, now Zynq boots like follows
[1] Boot ROM
[2] U-Boot SPL
[3] U-Boot

Is this correct?

Best Regards
Masahiro Yamada

#1 lore raw

Hi Masahiro,

Quoted 11 lines · Masahiro Yamada

Hello Michal,

Please let me confirm if I am correctly understanding Zynq SPL added by commit d7e269c.

Before that commit, Zynq booted like follows
[1] Boot ROM
[2] First Stage Boot Loader (created by Xilinx SDK)
[3] U-Boot

Quoted 7 lines

Now, SPL replaces FSBL. So, now Zynq boots like follows
[1] Boot ROM
[2] U-Boot SPL
[3] U-Boot

Is this correct?

yes
or of course what SPL supports just directly to the OS

    [1] Boot ROM
    [2] U-Boot SPL
    [3] OS

any question regarding this?

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140226/df42c355/attachment.pgp>
#2 lore raw

Hello Michal,

Quoted 9 lines

yes
or of course what SPL supports just directly to the OS

    [1] Boot ROM
    [2] U-Boot SPL
    [3] OS

any question regarding this?

Thanks.

FSBL can download FPGA bit stream.
Is it supported by U-Boot SPL too?

If I don't have to launch Xilinx SDK to create FSBL, that'd be better.

Best Regards
Masahiro Yamada

#3 lore raw

Hi,

Quoted 10 lines · Masahiro Yamada

Hello Michal,

Quoted 8 lines

yes
or of course what SPL supports just directly to the OS

    [1] Boot ROM
    [2] U-Boot SPL
    [3] OS
Quoted 6 lines
Quoted 1 line

any question regarding this?

Thanks.

FSBL can download FPGA bit stream.
Is it supported by U-Boot SPL too?

Not by the version which is in currently in the mailine. But if you look at git.xilinx.com u-boot repo master-next branch you will see that loading bitstream from U-BOOT spl is there for MMC boot which I am using.

Quoted 2 lines

If I don't have to launch Xilinx SDK to create FSBL, that'd be better.

You just need to have ps7_init.c/h files or generate this setting out of SDK for your hardware project. Currently in our and in mainline repo are just weak functions because make no sense to push to the mainline setting which is just used by one hardware design.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140226/38514661/attachment.pgp>
#4 lore raw

Hello Michal,

Quoted 25 lines · On Wed, 26 Feb 2014 09:33:19 +0100 Michal Simek <[email protected]> wrote:

Hi,

Quoted 10 lines · Masahiro Yamada

Hello Michal,

Quoted 8 lines

yes
or of course what SPL supports just directly to the OS

    [1] Boot ROM
    [2] U-Boot SPL
    [3] OS
Quoted 6 lines
Quoted 1 line

any question regarding this?

Thanks.

FSBL can download FPGA bit stream.
Is it supported by U-Boot SPL too?

Not by the version which is in currently in the mailine. But if you look at git.xilinx.com u-boot repo master-next branch you will see that loading bitstream from U-BOOT spl is there for MMC boot which I am using.

Quoted 8 lines
Quoted 2 lines

If I don't have to launch Xilinx SDK to create FSBL, that'd be better.

You just need to have ps7_init.c/h files or generate this setting out of SDK for your hardware project. Currently in our and in mainline repo are just weak functions because make no sense to push to the mainline setting which is just used by one hardware design.

That's good to know.
I will give it a try. Thanks!

Best Regards
Masahiro Yamada