ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
gnufan has quit [Quit: Leaving.]
vstehle has quit [Ping timeout: 246 seconds]
nashpa has quit [Quit: Going away]
wzyy2 has joined #linux-rockchip
nighty- has joined #linux-rockchip
tl_lim has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-rockchip
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
adj__ has joined #linux-rockchip
<cb182d> https://github.com/xypron/debian-image-firefly-rk3399 This one is quite close to what I want.
<cb182d> But last time I tried this, it hangs when booting the kernel. No output on serial console after u-boot started the kernel.
rperier has quit [Remote host closed the connection]
<adj__> cb182d, I just connected, so maybe I lost a lot of context, but have you tried this http://opensource.rock-chips.com/wiki_Debian ?
<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.
<cb182d> https://en.opensuse.org/HCL:Firefly-RK3399 like this one, openSUSE HCL page.
<cb182d> I tried this recently, and the only result is a bricked device.
<cb182d> Then having to short the eMMC and flash the official Xubuntu img to restore the device.
afaerber has joined #linux-rockchip
<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"
wzyy2 has quit [Ping timeout: 256 seconds]
<rtp> fwiw, rockchip's solution is a little bit more complicated. they generate the its at build time: https://github.com/rockchip-linux/u-boot/blob/release/board/rockchip/evb_rk3399/mk_fit_atf.sh
<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?
<cb182d> Here is the gpt parameter: http://paste.ubuntu.com/26177097/
premoboss has joined #linux-rockchip
premoboss has quit [Ping timeout: 264 seconds]
wzyy2 has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
premoboss has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 272 seconds]
cb182d has quit [Quit: Leaving]
cb182d has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 256 seconds]
cb182d has quit [Remote host closed the connection]
cb182d has joined #linux-rockchip
premoboss has quit [Ping timeout: 250 seconds]
matthias_bgg has quit [Quit: Leaving]
tllim has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
BenG83 has joined #linux-rockchip
aalm has joined #linux-rockchip
adj__ has joined #linux-rockchip
tllim has quit [Read error: Connection reset by peer]
Substring has joined #linux-rockchip
topi` has quit [*.net *.split]
PoueT has quit [*.net *.split]
Esmil has quit [*.net *.split]
Esmil has joined #linux-rockchip
PoueT has joined #linux-rockchip
topi` has joined #linux-rockchip
mcan has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
mcan has joined #linux-rockchip
leah2 has quit [Ping timeout: 250 seconds]
Esmil has quit [Ping timeout: 240 seconds]
leah2 has joined #linux-rockchip
Esmil has joined #linux-rockchip
gnufan has joined #linux-rockchip
Substring has quit [Quit: Leaving]
gnufan has quit [Quit: Leaving.]
BenG83 has quit [Quit: Leaving]
vagrantc has joined #linux-rockchip
BenG83 has joined #linux-rockchip