Wednesday, November 24, 2021

[fedora-arm] Re: Booting arm installation iso

> >> I flashed my Radxa Rock Pi 4 SPI with Armbian mainline u-boot (I could not get it up and running with Fedora u-boot) and now I can boot Fedora ARM images from USB and NVMe seamlessly.
> >>
> >> Unfortunately, I am not able to boot from a USB stick created from the workstation ISO image (I want to try the installation feature to make non-US configuration easier). No boot media found. Is there no u-boot used or is it due to incompatible implementations?
> >
> > ...
> >
> > You'll need to provide more details and I'd sooner try and work out
> > the issues with the Fedora U-Boot TBH than try and debug what Armbian
> > is doing to theirs.
>
> Agreed! I also prefer a Fedora solution. Especially since we, as a server WG, are considering creating a list of reference boards that we care about in particular. And due to its characteristics, the Rock Pi would be a suitable candidate for such a list.

Well the Server WG considering a list of Arm reference boards is news
to me, please ensure you engage with the arm team about this, I don't
want to end up in a situation where you decide on a device we can't
work with you on supporting. I tend to find actually giving other
groups heads up rather than finding out in side comments on other
threads useful for the general community engagement.

> What I did:
>
> I studied your https://nullr0ute.com/2021/05/fedora-on-the-pinebook-pro/ and noted that Fedora provides 2 variants of itbloader for that board (*.img & *.spi). The same is true for some other Rockchip 3399 boards, but for Radxa Rock pi 4 there is only the one img variant. This left me a bit in doubt whether Fedora currently supports spi on Rock Pi. Before its hardware version 1.4, the Rock Pi did not have SPI soldered on. So there was nothing to test until now. And the described procedure is specific to pine and I couldn't find a way to get this to work on Rock Pi.

Well the .img file is explicitly intended for emmc/mSD so I would
entirely expect your results.

I haven't built SPI specific images because it wasn't clear to me from
their docs if SPI flash is shipped as their docs don't mention it on
any of the 3 variants of the Rock Pi 4:
https://rockpi.org/rockpi4
https://wiki.radxa.com/News/2018/11/introduce-the-new-rockpi-4-hardware

Also the wiki indicates there is solder pads for a SPI flash but it's
not populated by default:
https://wiki.radxa.com/Rockpi4/hardware/spi_flash

Also there's no config for SPI flash in either the upstream U-Boot
configs/DT or the upstream kernel DTs.

So is the SPI flash default, a build to order option or something
you've added yourself?

Peter

> Nevertheless, I studied user documentation of Radxa, Rockchip and u-boot and finally tried:
>
> rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin
> rkdeveloptool wl 0x40 /usr/share/uboot/rock-pi-4-rk3399/idbloader.img
> rkdeveloptool wl 0x4000 /usr/share/uboot/rock-pi-4-rk3399/u-boot.itb
> rkdeveloptool rd
>
> and also a newer version rk3399_loader_spinor_v1.20.126.bin
>
> Nothing visible happened after reboot and unfortunately I don't have a serial terminal at hand. I couldn't find any information about the file u-boot-rockchip.bin in Fedora so I didn't try anything with that, and gave up for the time being.
>
>
> Thanks
> Peter
>
> _______________________________________________
> arm mailing list -- arm@lists.fedoraproject.org
> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment