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