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 quit [Remote host closed the connection]
wzyy2 has joined #linux-rockchip
nighty- has joined #linux-rockchip
kever has joined #linux-rockchip
cyteen has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
<wzyy2> Myy, ok, i will try it in this weekend.
phinxy has quit [Quit: Leaving]
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-rockchip
sunxi_fan2 has joined #linux-rockchip
sunxi_fan1 has quit [Ping timeout: 268 seconds]
sunxi_fan1 has joined #linux-rockchip
sunxi_fan2 has quit [Ping timeout: 260 seconds]
cyteen has quit [Ping timeout: 240 seconds]
wadim_ has joined #linux-rockchip
sunxi_fan2 has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
sunxi_fan1 has quit [Ping timeout: 255 seconds]
sunxi_fan1 has joined #linux-rockchip
sunxi_fan2 has quit [Ping timeout: 255 seconds]
matthias_bgg has joined #linux-rockchip
sunxi_fan2 has joined #linux-rockchip
sunxi_fan1 has quit [Ping timeout: 240 seconds]
<rperier> did you ever test u-boot mainline on the geekbox rk3368 ?
<rperier> hi btw :)
<beeble> who is you? :)
<mmind00> was just writing to ask the same :-D
<beeble> rperier: there is a big patchset for rk3368 mainline spl/tpl on the list. if you could test that on geekbox that would be great, i lack the hardware for it
sunxi_fan1 has joined #linux-rockchip
<rperier> beeble: you => one of you here, the community
<rperier> mmind00: :=D
<rperier> and what is the process for testing this... you need to flash uboot to emmc or you can test from sdcard ? (like rk3288)
<beeble> works from sd card
<rperier> ah nice
<beeble> but you will have to add a geekbox config :)
<rperier> do you have a link ?
sunxi_fan2 has quit [Ping timeout: 260 seconds]
<MoeIcenowy> in fact I'm waiting for mainline spl/tpl for rk3328 ;-)
cyteen has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
<rperier> beeble: would you have a git repo or a branch with these patches ?
<beeble> rperier: https://git.theobroma-systems.com/kgoger/u-boot.git rk3368-tpl branch should include everything
BenG83 has joined #linux-rockchip
afaerber has quit [Remote host closed the connection]
nighty- has joined #linux-rockchip
afaerber has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 248 seconds]
perr has joined #linux-rockchip
perr has joined #linux-rockchip
<rperier> beeble: super, thanks !
wzyy2 has joined #linux-rockchip
<rperier> beeble: which toolchain are you using ? I get this... looks... weird... https://paste.debian.net/977508
<rperier> I am using a linaro toolchain
<rperier> with geekbox_defconfig and CONFIG_ARM64 is set
<rperier> ohhh, wait, I think I got it
<beeble> gcc (Debian 6.3.0-18) 6.3.0 20170516
<beeble> from gcc-6-aarch64-linux-gnu
<rperier> yeah, aarch64 is recommended in README.arm64 apparently
<rperier> which might explain the issue
kever has quit [Ping timeout: 260 seconds]
<rperier> works better
<rperier> ;)
cyteen has quit [Ping timeout: 246 seconds]
<rperier> mhhhh with geekbox_defconfig, SPL, TPL enabled... SERIAL_SUPPORT enabled... I get an undefined reference for panic.o and vsprintf.o
<rperier> (both are built)
<rperier> but that's a dependency issue for buitin.o for arch/arm/lib/interrupts_64.c:, I am investigating
<rperier> well, the defconfig is not complete enough
<rperier> :=D
<beeble> geekbox defconfig, enabling spl, make savedefconfig and comparing it to our defconfig shows a lot of differences
<rperier> yeah, indeed
cnxsoft1 has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
<rperier> and I am the only one to get a warning because the SPL is too big, or you too ?
<beeble> no warning here
<rperier> mhhhh
<beeble> what gcc version are you using?
<beeble> it's easy to run into size problems with pre 6.x gcc and spl
cyteen has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 240 seconds]
<rperier> beeble: yeah I am wondering if that's not the gcc version, because I get the same error with your defconfig...
<rperier> I am using lastest-7 gcc-aarch645-linux-gnu from linaro
<rperier> I will test quickly with 6.x
<rperier> same issue with 6.x....
<beeble> tried it with a 7.1 (baremetal) and it worked too
<rperier> you mean no linux-gnu
<rperier> aarch64-elf ?
<beeble> yeah, couldn't find a linux one on my machine
<rperier> interesting, testing
BenG83 has left #linux-rockchip ["Leaving"]
<rperier> beeble: you're using "tools/mkimage -n rk3368 -T rksd -d spl/u-boot-spl-dtb.bin out" ?
<rperier> :=D
<rperier> "Warning: SPL image is too large (size 0xc000) and will not boot"
<rperier> \o/
<beeble> you are holding it wrong :)
<beeble> tools/mkimage -n rk3368 -T rksd -d tpl/u-boot-tpl.bin spl-3368.img
<beeble> cat spl/u-boot-spl-dtb.bin >> spl-3368.img
* rperier => [ ]
<rperier> :=D
cnxsoft has quit [Quit: cnxsoft]
<rperier> ok thanks
<rperier> and then you concatate u-boot to this also ? (like for rk3288)
<beeble> no, i build a fit image
<beeble> maybe you want to take a look at board/theobroma-systems/lion_rk3368/README
<rperier> yes, thanks
perr has quit [Quit: Leaving]
sunxi_fan2 has joined #linux-rockchip
sunxi_fan1 has quit [Ping timeout: 240 seconds]
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-rockchip
wadim_ has quit [Remote host closed the connection]
<rperier> beeble: no need to clear the content of the emmc ? when the sdcard is plugged it should just start (like with rk3288), right ?
<beeble> boot order is emmc->sd
<beeble> so if you have a bootloader in the emmc it will executed
<beeble> +be
<rperier> ok, so makes sense. I have to erase emmc then
matthias_bgg has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 268 seconds]
BenG83 has joined #linux-rockchip
sunxi_fan1 has joined #linux-rockchip
sunxi_fan2 has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-rockchip
lkcl has joined #linux-rockchip
<mmind00> rperier: as an additional obstacle, uart2 shares its pins with the sdmmc controller (gpio2 pin5+6)
sunxi_fan2 has joined #linux-rockchip
sunxi_fan1 has quit [Ping timeout: 276 seconds]
<beeble> oh, thats bad, we are using uart0 and uart1
<beeble> looking at the schematics i just found, if you have the landingshop you could attach to uart1 on LCD_D16/17
lkcl has quit [Ping timeout: 255 seconds]
wzyy2 has joined #linux-rockchip
phinxy has joined #linux-rockchip
sunxi_fan1 has joined #linux-rockchip
sunxi_fan2 has quit [Ping timeout: 240 seconds]
wzyy2 has quit [Ping timeout: 276 seconds]
afaerber has quit [Quit: Leaving]
cyteen has quit [Ping timeout: 276 seconds]
afaerber has joined #linux-rockchip
jwerner has quit [Quit: leaving]
cyteen has joined #linux-rockchip