Date: Sat, 12 Jun 2021 12:16:39 +0000 From: Dan Kotowski <dan.kotowski@a9development.com> To: Dmitry Salychev <dsl@mcusim.org> Cc: bzeeb-lists@lists.zabbadoz.net, freebsd-arm@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: U-Boot for HoneyComb LX2 Message-ID: <_31rYm0hKlOPZ9FvQ0EqZmig8gGICEKyq9meNvnA29wDK5dpKs0KFnFBgBr3mJ6L_ufrceojMNgSi1Z_-TqjYh7Vem28hWkffAVCMnkb1cs=@a9development.com> In-Reply-To: <YMODAvmx0ShXZfe5@x230.ds> References: <YLTXteOeRpEu2qNT@x230.ds> <198F84BF-5932-4E58-BCE3-CC33B185923A@lists.zabbadoz.net> <YLeBQKgRLQBPNpX6@x230.ds> <mPwd48q_Av17Yu7heo463B4vhf_QcoyJ67hcN3Ej2AoKtYW9BnC4f0oNaI1mtz_F3f7UIEFG-D-5sJJKrhxsk6kGlc9HPL6jhcYgJpjTC5M=@a9development.com> <YMODAvmx0ShXZfe5@x230.ds>
next in thread | previous in thread | raw e-mail | index | archive | help
> (well, I had to configure DKIM long ago... done finally) > > Personally, I'd be glad to use any bootloader which provided a firmware f= or > > DPAA2 MC. I checked SolidRun's script [1] to build a UEFI image briefly a= nd > > didn't find anything about MC firmware, DPL or DPC. However, similar scri= pt > > with U-Boot [2] has them written to the resulted image: > > # DPAA2-MC at 0x5000 > > dd if=3D$ROOTDIR/build/qoriq-mc-binary/lx216xa/${MC} of=3Dimages/${IMG} b= s=3D512 seek=3D20480 conv=3Dnotrunc > > # DPAA2 DPL at 0x6800 > > dd if=3D$ROOTDIR/build/mc-utils/config/lx2160a/CEX7/${DPL} of=3Dimages/${= IMG} bs=3D512 seek=3D26624 conv=3Dnotrunc > > # DPAA2 DPC at 0x7000 > > dd if=3D$ROOTDIR/build/mc-utils/config/lx2160a/CEX7/${DPC} of=3Dimages/${= IMG} bs=3D512 seek=3D28672 conv=3Dnotrunc > > Do you know how MC is initialized in case of UEFI? > > Regards, > > Dmitry > > [1] https://github.com/SolidRun/lx2160a_uefi/blob/master/runme.sh > > [2] https://github.com/SolidRun/lx2160a_build/blob/master/runme.sh DPL and DPC are tied to the SERDES config: if [ "x${SERDES:0:3}" =3D=3D "x13_" ]; then =09DPC=3Ddpc-dual-100g.dtb =09DPL=3Ddpl-eth.dual-100g.19.dtb fi if [ "x${SERDES:0:2}" =3D=3D "x8_" ]; then =09DPC=3Ddpc-8_x_usxgmii.dtb =09DPL=3Ddpl-eth.8x10g.19.dtb fi if [ "x${SERDES:0:2}" =3D=3D "x4_" ]; then =09DPC=3Ddpc-8_x_usxgmii.dtb =09DPL=3Ddpl-eth.8x10g.19.dtb fi if [ "x${SERDES:0:3}" =3D=3D "x20_" ]; then =09DPC=3Ddpc-dual-40g.dtb =09DPL=3Ddpl-eth.dual-40g.19.dtb fi Right now we're mostly working with 8_5_2, but I know Jon is doing some mor= e work to get things sorted. IIRC he's waiting on some PRs to get merged up= stream in the Tianocore EDK2 repos. I think someone was working on porting the lx2160a_uefi repo but I haven't = heard much about it in a while. If you're a Discord user, Jon Nettleton - one of SolidRun's engineers - and= a handful of others who are playing with Honeycombs in different capacitie= s are also collaborating here: https://discord.gg/tgHuG4Cq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?_31rYm0hKlOPZ9FvQ0EqZmig8gGICEKyq9meNvnA29wDK5dpKs0KFnFBgBr3mJ6L_ufrceojMNgSi1Z_-TqjYh7Vem28hWkffAVCMnkb1cs=>