> Date: Mon, 26 Feb 2018 13:43:28 +1100 > From: Jonathan Gray <j...@jsg.id.au> > > On Mon, Feb 26, 2018 at 12:08:22PM +1100, Jonathan Gray wrote: > > On Sun, Feb 25, 2018 at 09:37:50PM +0100, Mark Kettenis wrote: > > > Ordered myself one of these: > > > > > > https://www.pine64.org/?page_id=7147 > > > > > > and it arrived yesterday. Got the basics working already. Gigabit > > > Ethernet doesn't quite work yet and the device tree in mainline Linux > > > is broken and causes the USB bus not to be powered. > > > > If you are using U-Boot master and Ethernet doesn't work from > > U-Boot you will likely need a patch to unbreak it. At least > > I did on RK3288. > > > > https://patchwork.ozlabs.org/patch/869785/ > > > > Though it seems there still isn't a config in U-Boot for this board. > > Are you using a custom config or a different tree such as > > https://github.com/ayufan-rock64/linux-u-boot ? > > > > > > > > Firmware situation isn't ideal as it currently relies on closed source > > > components from Rockchip that have a license that doesn't allow > > > redistribution. Apparently patches for U-Boot exist to avoid those > > > but those haven't landed in mainline U-Boot yet. > > There is no SPL support for RK3328 in U-Boot master yet, > patch series for it is > https://patchwork.ozlabs.org/cover/830462/
Right. But even that patch series doesn't include the actual SDRAM initialization code yet. > Which seems to be included in the previously mentioned ayufan-rock64 tree. Which allgedly does include SDRAM code. For now I'm using firmware extracted from the "Artful Minimal Image" (Ubuntu 17.10) listed on the Rock64 page of the Pine64 wiki. A bit of a hassle as I had to download a 250MB image just to extract the bootloader components. I'll have to streamline this and create an image that mere mortals can work with. It probably is a good idea to move the msdos partition to sector 32768 (or beyond) in our installer and the images, such that we can use the layout shown in: http://opensource.rock-chips.com/wiki_Boot_option The boot.img/kernel block shown there is actually the msdos filesystem. > Given the rock64 has spi flash if U-Boot were written there it should > be possible to just boot the standard miniroot and install without > having to mess around further. Right. Unfortunately it seems there is no support for doing that yet.