Discussion:
U-Boot for HoneyComb LX2
Dmitry Salychev
2021-05-31 12:33:57 UTC
Permalink
Hi,

I'm working on three ports to compile BL2, BL31, BL32 and BL33 (u-boot)
bootloaders for HoneyComb LX2 in FreeBSD. They're based on what NXP shared in
their Layerscape SDK and patches from SolidRun [1].

I've managed to compile Reset Configuration Word (rcw), u-boot and ARM trusted
firmware (atf) and write them to one of the existing images shared by
SolidRun [2].

However, my HoneyComb LX2 is on a way to me and this is why I cannot try to
boot the resulted image on my own. I'm really interested how far it'll go, but
I don't expect anything beyond u-boot. Could somebody who has HoneyComb do me
a favor and try to boot that image of mine? It should work with DDR4-3200
only:

ftp://mcusim.org/ftp/lx2160acex7_2000_700_3200_8_5_2-2fff64e_changed_bld.img.xz

If you want to take a look at the sysutils/rcw-lx2160acex7,
sysutils/u-boot-lx2160acex7 and sysutils/atf-lx2160acex7, here is the link:

https://github.com/mcusim/freebsd-ports

Thanks in advance.

Regards,
Dmitry

[1] https://github.com/SolidRun/lx2160a_build
[2] https://images.solid-run.com/LX2k/lx2160a_build/
Bjoern A. Zeeb
2021-05-31 13:22:57 UTC
Permalink
On 31 May 2021, at 12:33, Dmitry Salychev wrote:

Hi,
Post by Dmitry Salychev
I'm working on three ports to compile BL2, BL31, BL32 and BL33
(u-boot)
bootloaders for HoneyComb LX2 in FreeBSD. They're based on what NXP shared in
their Layerscape SDK and patches from SolidRun [1].
I've managed to compile Reset Configuration Word (rcw), u-boot and ARM trusted
firmware (atf) and write them to one of the existing images shared by
SolidRun [2].
However, my HoneyComb LX2 is on a way to me and this is why I cannot try to
boot the resulted image on my own. I'm really interested how far it'll go, but
I don't expect anything beyond u-boot. Could somebody who has
HoneyComb do me
a favor and try to boot that image of mine? It should work with DDR4-3200
ftp://mcusim.org/ftp/lx2160acex7_2000_700_3200_8_5_2-2fff64e_changed_bld.img.xz
If you want to take a look at the sysutils/rcw-lx2160acex7,
https://github.com/mcusim/freebsd-ports
That’s great news! I might give it a try.

I’ve got a local tree (on Jan 2021, needs updating to latest and
re-test before
submit) for the uEFI firmware (not u-boot).

/bz
Dmitry Salychev
2021-05-31 13:40:16 UTC
Permalink
Bjoern,
Post by Bjoern A. Zeeb
Hi,
Post by Dmitry Salychev
I'm working on three ports to compile BL2, BL31, BL32 and BL33 (u-boot)
bootloaders for HoneyComb LX2 in FreeBSD. They're based on what NXP shared in
their Layerscape SDK and patches from SolidRun [1].
I've managed to compile Reset Configuration Word (rcw), u-boot and ARM trusted
firmware (atf) and write them to one of the existing images shared by
SolidRun [2].
However, my HoneyComb LX2 is on a way to me and this is why I cannot try to
boot the resulted image on my own. I'm really interested how far it'll go, but
I don't expect anything beyond u-boot. Could somebody who has HoneyComb do me
a favor and try to boot that image of mine? It should work with DDR4-3200
ftp://mcusim.org/ftp/lx2160acex7_2000_700_3200_8_5_2-2fff64e_changed_bld.img.xz
If you want to take a look at the sysutils/rcw-lx2160acex7,
https://github.com/mcusim/freebsd-ports
That’s great news! I might give it a try.
I’ve got a local tree (on Jan 2021, needs updating to latest and
re-test before
submit) for the uEFI firmware (not u-boot).
/bz
You could try to boot SolidRun's own from SD card first:

lx2160acex7_2000_700_3200_8_5_2-2fff64e.img.xz

and see how it'll work and mine after. I wonder whether there'll be any
difference or not.

Regards,
Dmitry
Dmitry Salychev
2021-06-02 13:01:52 UTC
Permalink
Post by Bjoern A. Zeeb
I’ve got a local tree (on Jan 2021, needs updating to latest and
re-test before
submit) for the uEFI firmware (not u-boot).
Btw, do you have that tree available somewhere? Did you manage to
load a blob from NXP and initialize DPAA2 MC?

Regards,
Dmitry

Loading...