tl_lim has quit [Read error: Connection reset by peer]
nashpa has joined #linux-rockchip
cyteen_ has quit [Ping timeout: 248 seconds]
stdint has quit [Read error: Connection reset by peer]
cyteen_ has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
stdint has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 248 seconds]
lurchi_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-rockchip
lurchi_ has quit [Client Quit]
lurchi_ has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-rockchip
cnxsoft1 is now known as cnxsoft
lurchi_ is now known as lurchi__
lurchi_ has joined #linux-rockchip
vstehle has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 272 seconds]
utente0043 has quit [Ping timeout: 255 seconds]
premoboss has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
premoboss has quit [Ping timeout: 264 seconds]
cb182d has joined #linux-rockchip
premoboss has joined #linux-rockchip
premoboss has quit [Ping timeout: 256 seconds]
nighty- has quit [Quit: Disappears in a puff of smoke]
rtp has joined #linux-rockchip
cb182d has quit [Quit: Leaving]
cb182d has joined #linux-rockchip
<cb182d>
Hello, any one playing with Firefly RK3399 here?
<Ke>
many people
<Ke>
just ask your question
<cb182d>
Is there any guide or docs to get u-boot spl and extlinux working? I'm tired of flashing kernel.img every time I need to update the kernel.
<Ke>
why not EFI boot and grub, though I don't have that working at all
<cb182d>
EFI & grub are also great, what I'm looking for is some method to allow the Linux distro (such as Debian flash-kernel) managing the kernel updating.
<cb182d>
but there's even less docs about EFI booting on RK3399 platform
<Ke>
u-boot can also do EFI boot, but I have not seen that working anywhere
<cb182d>
u-boot UEFI seems to be preferred by Fedora and openSUSE
<cb182d>
rootfs is not a problem for me, I'm already running a Debian buster rootfs.
<cb182d>
My question is about the boot process and kernel, can I use a more standardized boot method, like extlinux or grub, instead of having to use rkdeveloptool to flash kernel.img/resource.img every time I want to update the kernel?
afaerber has quit [Quit: Leaving]
<Ke>
definitely just u-boot supports loading from a filesystem
adj__ has quit [Ping timeout: 248 seconds]
<maz>
I think cb182d has a valid question here: is there a documented way for installing mainline u-boot together with ATF on a firefly. so far, all I've seen are partial scripts and not much in the way of synthetic documentation.
<mmind00>
again also only a partial script though :-)
<rtp>
mmind00: the uboot fit image is not necessary at 0x200. It depend on CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in uboot, which is 0x4000 nowadays.
<mmind00>
rtp: see the slightly older uboot base on there ... I try to limit time spent on uboot, as the maskrom wiggling is so tedious ;-)
<mmind00>
so it was more meant as "that was working for me in the past"
<beeble>
you can configure the payload offset also via the dts with u-boot,mmc-env-offset
premoboss has joined #linux-rockchip
<rtp>
btw, is there any difference between rk3399 evb and sapphire board ? I see in mainline kernel a rk3399-evb.dts and a rk3399-sapphire.dtsi. If they're the same board, which the rk3399-evb.dts doesnt only include the rk3399-sapphire.dtsi ?
<rtp>
s/which/why/
<mmind00>
rtp: you'll need to ask that someone from Rockchip
<rtp>
mmind00: hm. which will be hard as I've no contact with them. I only bought a board at vamrs store.
<mmind00>
rtp: but I'd think it is very much possible for more than one generation of eval-boards to exist ... I remember having an evb way before the chip being on the market, so it's very much possible that sapphire/excavator are newer designs
wzyy2 has joined #linux-rockchip
<cb182d>
mmind00: So after build & flash the u-boot-rockchip branch (tmp/rk3399-firefly), it will load boot.scr from the bootable ext2 partition?
<mmind00>
cb182d: on the board that is using this, I'm using extlinux, so the standard extlinux/extlinux.conf thingy
<cb182d>
mmind00: One more question, is firefly flash mode (entered by holding recovery key and press reset key) available after flashing this bootloader? or only MaskRom mode is available to flash OS images on a PC?
cb182d has left #linux-rockchip ["Leaving"]
cb182d has joined #linux-rockchip
<mmind00>
cb182d: most likely not ... I remember seeing patches for the rockusb stuff on the uboot mailinglists ... but that I'm currently using is older
rperier has joined #linux-rockchip
rperier has quit [Changing host]
rperier has joined #linux-rockchip
aalm has quit [Quit: xyz 1.9.1]
wzyy2 has quit [Ping timeout: 272 seconds]
premoboss has quit [Ping timeout: 240 seconds]
cb182d has quit [Remote host closed the connection]
<beeble>
rockusb is not yet merged
<beeble>
and i c&p the wrong option above. it's u-boot,spl-payload-offset not u-boot,mmc-env-offset
cnxsoft has quit [Quit: cnxsoft]
kaspter has quit [Quit: kaspter]
premoboss has joined #linux-rockchip
cb182d has joined #linux-rockchip
premoboss has quit [Ping timeout: 248 seconds]
<cb182d>
mmind00: Just now I followed the steps of your commit description, built & flashed the idbspl.img and bl3.itb, as well as an ext2 boot partition which contains extlinux/extlinux.conf, kernel, and a rootfs partition. But when I boot up the system, the serial console prints "U-Boot SPL board initphy_dll_bypass_set: phy regs at 0xffa82000" and hangs. Are there anything wrong with my steps?