Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Quartz64



Built-in SATA support is planned, but not trivial. It requires a runtime config option because you have to sacrifice the USB3 port to use it. This complicates things because the board doesn’t have SPI flash. For a config option I need a place to store environment variables and the only place left is the boot device (SD or eMMC). Having UEFI env vars on SD or eMMC means a sacrifice has to be made - either breaking RT services, or hiding the booted card from the OS since there is no way to arbitrate card access between the OS and firmware.

The RK3568 TRM is available and covers everything found in the RK3566.

> On Feb 2, 2022, at 12:39 PM, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> 
> 
> Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>> I didn't find a way to make UEFI and arm64.img coexist on the same media 
>> since the Rockchip bootloader has very specific partition requirements. 
>> You could probably manually assemble an image that contained both.
> 
> The UEFI firmware does still start up if there are also EFI and
> netbsd-root partitions on the same SD or eMMC device.
> 
> But...
> 
>> UEFI will load from either SD or eMMC. NetBSD can be on either USB 
>> storage, PCIe attached SATA, or NVMe. Next UEFI release will add support 
>> for booting from SD and eMMC.
> 
> Not much point putting the NetBSD bits on an eMMC device if the firmware
> can't load them.
> 
> With NetBSD and EFI on an external USB disk containing a SATA SSD the
> Quartz64 does boot.
> 
> Have you got any plans to get the builtin SATA controller to work?
> 
> I also asked whether there is a Reference Manual for the SoC. I'm not
> asking you for a copy if there is one, just whether it exists or if we
> need to look at the Linux sources.
> 
> Robert Swindells



Home | Main Index | Thread Index | Old Index