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
nighty-- has joined #linux-rockchip
kaspter has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
cyteen has quit [Read error: Connection reset by peer]
jkstrick has joined #linux-rockchip
jkstrick has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 268 seconds]
nots has quit [Quit: Page closed]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-rockchip
cnxsoft1 is now known as cnxsoft
vstehle has quit [Ping timeout: 260 seconds]
jkstrick has joined #linux-rockchip
jkstrick has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-rockchip
lurchi_ has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-rockchip
JohnDoe_71Rus has quit [Client Quit]
vstehle has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
aalm has joined #linux-rockchip
afaerber has joined #linux-rockchip
afaerber has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-rockchip
cyteen has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
afaerber has quit [Quit: Leaving]
anarsoul|2 has quit [Ping timeout: 252 seconds]
PoueT has quit [Quit: Ping timeout (120 seconds)]
PoueT has joined #linux-rockchip
afaerber has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
<topi`> I'm compiling u-boot (master branch) for Geekbox (rk3368), but the compiler says this:
<topi`> cc1: warning: unknown register name: x18
<topi`> does this actually mean that the uboot is configured to be targeting aarch64, but my native compiler is armhf? (the compile host is a scaleway ARM node)
<BenG83> sounds like architecture mismatch
<topi`> {standard input}:36: Error: bad instruction `b.ne 1b'
<topi`> yes, it definitely sounds like it
<beeble> yes, use a aarch64 compiler
<topi`> I'll try with an aarch64 cross compiler
<topi`> or maybe spin up an ARM64 node from scaleway, they have these THunderX slices nowadays
<topi`> in which mode does the RK series processors start up? We all know Intels start in 16-bit mode.
<topi`> I mean RK33 series, which are all 64-bit
<BenG83> I only have RK3328 and RK3399
<BenG83> but they do start in aarch64
<topi`> sounds like no legacy support :)
<beeble> getting a arm64 crosscompiler isn't that hard
<topi`> ok I have now an ARM64 node, using the native gcc and uboot is now compiling fine
<BenG83> well they can run armhf stuff and even reduced THUMB
<topi`> beeble: that's true, I just need to hunt down the correct .deb package ;)
<BenG83> if you are in a hurry, use one of the Linaro binary distributions of the toolchain
<beeble> debian: install gcc-6-aarch64-linux-gnu, other distros probably too, otherwise get a build from linaro, or free electrons
<BenG83> put that into /opt
<topi`> that's plenty of work ;)
<topi`> I'm notorious for building natively
<BenG83> downloading and extracting a tarball :P
<BenG83> otherwise Gentoo and Arch can build toolchains from scratch
<topi`> my only x86 based machine is running OSX, so I prefer compiling stuff on my ARM nodes
<topi`> handling with Virtualbox or VMware is such a pain
<topi`> now I need to learn how the SPL stuff works for Rockchips
<BenG83> it's not gcc8
<topi`> i'm only familiar with building spl+uboot for i.MX6 platform
<BenG83> but 7.2 works for most things
<BenG83> SPL usually gets build with u-boot
<topi`> I know there's a MaskROM mode where the RK33 goes out to look for firmware from USB
<BenG83> yes
<topi`> but isn't it just possible to write suitable sectors to a microSD card and boot from that somehow?
<BenG83> but you need either the flash tool or the rkdevelop tool to make use of it
<beeble> topi`: yes
<topi`> I have both u-boot.bin and u-boot.img ... which one is suitable for microSD?
<BenG83> where is your device tree?
<beeble> topi`: you are missing stuff
<topi`> u-boot-dtb.img
cyteen has quit [Ping timeout: 268 seconds]
<beeble> it isn't ready for geekbox as it isn't tpl enabled yet
<beeble> but otherwise board/theobroma-systems/lion_rk3368/README
<topi`> what is TPL?
<BenG83> tertiary program loader
<topi`> u-boot-tpl.bin
<topi`> of course ;) need to have SPL, and then TPL
<topi`> next one QPL
<BenG83> there is a size restriction on SPL since that usually runs from SRAM
<BenG83> which is in short supply :)
<topi`> so a FIT image is something which can be created with mkimage?
<topi`> mkimage -T rksd right?
<beeble> that one is for creating the bootheader
<beeble> the fit image will be generated with mkimage too, but thats another command
<beeble> or you have already the make target make u-boot.itb
<topi`> so the u-boot.itb is the FIT image?
<topi`> sh: 1: dtc: not found
<topi`> hmm, isn't this the device tree compiler?
<beeble> yes
<beeble> apt install device-tree-compiler :)
<topi`> yes, apt-get install device-tree-compiler
<topi`> working on it ;)
<topi`> sorry for asking questions before thinking
<topi`> beeble: so this Lion thing is another board from Theobroma? is it similar to the rk3368 reference design which Geekbox is based on?
<beeble> it's a bit different. but of course there are similarities
<topi`> would you guess that the arm-trusted-firmware from theobroma git would work as-is on the Geekbox?
<topi`> I have one GB here running android, might as well have something better use for it
<beeble> i think the debug uart is the only hardware specific change thats in that tree
<beeble> but haven't looked at it for some time
<BenG83> anything preventing you from using upstream ATF?
<topi`> well I can boot blindly :)
<BenG83> support seems to be in place
<topi`> I'm not very knowledgeable about atf except that I once had to compile that stuff myself while trying to get a macchiatobin board to boot :)
<beeble> BenG83: depends on if you require libftd support or not
cyteen has joined #linux-rockchip
cyteen has quit [Ping timeout: 252 seconds]
<BenG83> btw is anyone coming to FOSDEM next week?
<BenG83> I will hang around with the Pine64 booth in building AW and at the sunxi dinner on saturday
<BenG83> you can also find me at the hackerspace party on saturday
nighty-- has quit [Quit: Disappears in a puff of smoke]
cyteen has joined #linux-rockchip
<beeble> BenG83: will be there. if i catch you i will say hello
<BenG83> beelbe :)
<BenG83> I will be with Tl and some other contributors at the Pine64 table
<BenG83> beeble, do you come to sunxi dinner?
<BenG83> Sunxi dinner at Fosdem 2018 (sat 3 Feb 8PM at Amadeo)
<BenG83> or
cyteen has quit [Ping timeout: 265 seconds]
cyteen has joined #linux-rockchip
<beeble> BenG83: not sure yet what my plans are
aalm has quit [Ping timeout: 260 seconds]
ayaka has quit [Ping timeout: 240 seconds]
ayaka has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
cnxsoft has quit [Quit: cnxsoft]
jkstrick has joined #linux-rockchip
<gab> hi, does anyone here knows how to build the libmali-rk-midgard-t86x debian packages for arm64 from the rockchip-linux/libmali git repo ?
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
wadim_ has quit [Ping timeout: 265 seconds]
wadim_ has joined #linux-rockchip
lkcl has quit [Read error: No route to host]
lkcl has joined #linux-rockchip
BenG83 has joined #linux-rockchip
Easyfab has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 264 seconds]
wadim_ has quit [Quit: Leaving.]
matthias_bgg has joined #linux-rockchip
JohnDoe5 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
vagrantc has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
BenG83 has quit [Ping timeout: 248 seconds]
kaspter has joined #linux-rockchip
BenG83 has joined #linux-rockchip
topi` has quit [Ping timeout: 240 seconds]
topi` has joined #linux-rockchip
muvlon has joined #linux-rockchip
Substring has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 240 seconds]
JohnDoe5 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
vagrantc has quit [Quit: leaving]
Easyfab has quit [Quit: Leaving]
Substring has quit [Quit: Leaving]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
chichak has quit [Remote host closed the connection]
vagrantc has joined #linux-rockchip
jkstrick_ has joined #linux-rockchip
jkstrick has quit [Ping timeout: 240 seconds]
jkstrick_ has quit [Ping timeout: 252 seconds]
nighty- has quit [Quit: Disappears in a puff of smoke]