01:33
karlp_ is now known as karlp
02:12
robogoat has quit [Ping timeout: 260 seconds]
02:15
robogoat has joined #linux-rockchip
02:31
naobsd has quit [Quit: naobsd]
02:51
Ueno_Otoko has joined #linux-rockchip
03:38
mmind00_ has joined #linux-rockchip
03:38
jkstrick has quit [Remote host closed the connection]
03:39
philhug has quit [Ping timeout: 264 seconds]
03:39
daniels has quit [Ping timeout: 264 seconds]
03:39
rperier_ has joined #linux-rockchip
03:39
Helle_ has joined #linux-rockchip
03:39
mmind00 has quit [Ping timeout: 264 seconds]
03:40
cnxsoft has joined #linux-rockchip
03:40
philhug has joined #linux-rockchip
03:42
diego71_ has joined #linux-rockchip
03:42
mrueg_ has joined #linux-rockchip
03:45
Helle has quit [*.net *.split]
03:45
em|biketron has quit [*.net *.split]
03:45
RayFlower has quit [*.net *.split]
03:45
rperier has quit [*.net *.split]
03:45
xcasex has quit [*.net *.split]
03:45
mrueg has quit [*.net *.split]
03:45
Danukeru has quit [*.net *.split]
03:45
tnn has quit [*.net *.split]
03:45
diego71 has quit [*.net *.split]
03:45
sunxi_fan has quit [*.net *.split]
03:45
tyler-baker has quit [*.net *.split]
03:45
robogoat has quit [*.net *.split]
03:45
pulser has quit [*.net *.split]
03:45
topi` has quit [*.net *.split]
03:45
Ueno_Otoko has quit [*.net *.split]
03:45
Kruppe has quit [*.net *.split]
03:45
ganbold has quit [*.net *.split]
03:45
leming has quit [*.net *.split]
03:45
sunilmohan_w_ has quit [*.net *.split]
03:47
em|biketron has joined #linux-rockchip
03:51
xcasex has joined #linux-rockchip
03:53
bbelos has quit [Ping timeout: 250 seconds]
03:55
bbelos has joined #linux-rockchip
03:56
robogoat has joined #linux-rockchip
03:56
pulser has joined #linux-rockchip
03:56
topi` has joined #linux-rockchip
03:56
Ueno_Otoko has joined #linux-rockchip
03:56
leming has joined #linux-rockchip
03:56
Kruppe has joined #linux-rockchip
03:56
ganbold has joined #linux-rockchip
03:56
sunilmohan_w_ has joined #linux-rockchip
03:59
sunxi_fan has joined #linux-rockchip
04:35
jkstrick has joined #linux-rockchip
04:38
tnn has joined #linux-rockchip
04:38
Danukeru has joined #linux-rockchip
04:40
jkstrick has quit [Ping timeout: 265 seconds]
05:24
daniels has joined #linux-rockchip
06:01
tyler-baker has joined #linux-rockchip
06:01
Ueno_Otoko has quit [Ping timeout: 255 seconds]
06:51
Ueno_Otoko has joined #linux-rockchip
06:58
jkstrick has joined #linux-rockchip
07:03
jkstrick has quit [Ping timeout: 246 seconds]
07:58
GriefNorth has joined #linux-rockchip
08:15
cnxsoft has quit [Ping timeout: 260 seconds]
08:25
nashpa has quit [Ping timeout: 260 seconds]
08:35
Ueno_Otoko has quit [Ping timeout: 255 seconds]
08:56
cristian_c has joined #linux-rockchip
08:58
jas-hacks has joined #linux-rockchip
09:10
nashpa has joined #linux-rockchip
09:19
cristian__c has joined #linux-rockchip
09:22
cristian__c has quit [Read error: No route to host]
09:22
cristian_c has quit [Ping timeout: 240 seconds]
09:41
cristian_c has joined #linux-rockchip
10:10
Ueno_Otoko has joined #linux-rockchip
10:56
jas-hacks has quit [Remote host closed the connection]
10:57
rubensm has quit [Ping timeout: 240 seconds]
11:04
Ueno_Otoko has quit [Ping timeout: 272 seconds]
11:10
rubensm has joined #linux-rockchip
11:30
Ueno_Otoko has joined #linux-rockchip
11:55
ssvb has quit [Ping timeout: 265 seconds]
12:01
<
sjoerd >
mmind00_: just managed to load upstream u-boot via maskrom mode \o/ :)
12:06
ssvb has joined #linux-rockchip
12:20
cristian_c has quit [Ping timeout: 276 seconds]
12:30
<
xming >
is it wrong?
12:33
dlezcano has quit [Ping timeout: 265 seconds]
12:36
dlezcano has joined #linux-rockchip
12:46
<
xming >
$ ./firefly/tools/mkimage -T rksd -d firefly/spl/u-boot-spl-dtb.bin spl.bin
12:46
<
xming >
Warning: SPL image is too large (size 0x8e61) and will not boot
12:54
mrueg_ is now known as mrueg
13:00
<
sjoerd >
xming: hrm always forget about that
13:01
<
sjoerd >
older toolchains have an issue with the resulting binary size ending up just too big
13:01
<
xming >
gcc 4.9 and binutils 2.25.1 here
13:02
<
xming >
not the most recent but neither ancient
13:02
<
xming >
do I need gcc 5.x?
13:05
irsol has quit [Ping timeout: 260 seconds]
13:07
irsol has joined #linux-rockchip
13:16
cnxsoft has joined #linux-rockchip
13:21
markm has joined #linux-rockchip
13:25
c0d3z3r0 has quit [Ping timeout: 272 seconds]
13:27
c0d3z3r0 has joined #linux-rockchip
13:28
<
sjoerd >
that or disable some stuff in the spl
13:28
cristian_c has joined #linux-rockchip
13:43
mmind00_ is now known as mmind00
13:43
<
mmind00 >
sjoerd: the whole thing not only the spl? ... \o/
13:43
cnxsoft has quit [Quit: cnxsoft]
14:12
<
sjoerd >
mmind00: yeah
14:12
<
sjoerd >
though now it feels to load a kernel
14:18
Ueno_Otoko has quit [Ping timeout: 246 seconds]
14:22
ssvb has quit [Ping timeout: 246 seconds]
14:35
gb_master has joined #linux-rockchip
14:36
gb_master has quit [Remote host closed the connection]
15:13
libv_ is now known as libv
15:20
ssvb has joined #linux-rockchip
15:40
jkstrick has joined #linux-rockchip
15:44
jkstrick has quit [Ping timeout: 272 seconds]
15:55
cristian_c has quit [Ping timeout: 244 seconds]
16:03
cristian_c has joined #linux-rockchip
16:04
<
diego71_ >
hi, how can I boot from sdcard on the firefly?
16:05
cristian_c has quit [Read error: Connection reset by peer]
16:11
<
diego71_ >
also, I've tried to use rkflashkit, but never found the device. Even if I power on the board with recovery key pressed, it just boots up...
16:22
cristian_c has joined #linux-rockchip
16:24
cristian_c has quit [Read error: Connection reset by peer]
16:53
<
sjoerd >
ah the kernel not booting is an indepdent issue.. maskrom ddr init -> spl -> direct u-boot load from SD fails to boot the kernel, while loading the exact same spl from SD works fine
16:59
Apocx_ has joined #linux-rockchip
17:01
Apocx has quit [Ping timeout: 252 seconds]
18:01
c0d3z3r0 has quit [Ping timeout: 265 seconds]
18:04
c0d3z3r0 has joined #linux-rockchip
18:24
RayFlower has joined #linux-rockchip
18:25
cristian_c has joined #linux-rockchip
19:06
markm has quit [Ping timeout: 265 seconds]
19:33
markm has joined #linux-rockchip
20:01
irsol has quit [Ping timeout: 250 seconds]
20:02
irsol has joined #linux-rockchip
20:32
markm has quit [Ping timeout: 250 seconds]
20:40
markm has joined #linux-rockchip
21:15
GriefNorth has quit [Ping timeout: 264 seconds]
21:17
cristian_c has quit [Read error: Connection reset by peer]
21:26
cristian_c has joined #linux-rockchip
21:35
<
xming >
sjoerd: it's still too large with gcc-5.2, 33673 bytes
21:36
markm has quit [Ping timeout: 276 seconds]
21:46
naobsd has joined #linux-rockchip
21:50
markm has joined #linux-rockchip
21:54
robogoat has quit [Ping timeout: 276 seconds]
22:02
robogoat has joined #linux-rockchip
22:13
<
naobsd >
spl becomes too large with gcc (Ubuntu/Linaro 5.2.1-23ubuntu1~14.04.2) 5.2.1 20151031
22:16
<
naobsd >
v2015.10 is fine
22:16
<
naobsd >
master is too large
22:16
<
naobsd >
I guess recent changes such as NS16550_SERIAL and/or RK3036 support causes it
22:17
<
naobsd >
^about u-boot
22:17
<
xming >
v2015.10 of what? uboot or gcc
22:17
<
naobsd >
u-boot v2015.10
22:17
<
xming >
uboot-rockchip is smaller than upstream
22:18
<
naobsd >
it supports rk3288 well
22:18
<
xming >
upstream is 36K and uboot-rockchip is 33K
22:19
<
xming >
ah uboot is tagged in git with those v2015.10 alikes
22:19
<
sjoerd >
naobsd: yeah the spl has always uncomfortably close to the limit :/
22:20
<
xming >
tried to disable some functions but it's too large
22:20
<
xming >
and -Os didn't make any difference
22:20
<
naobsd >
probably uart/timer/ddr should be enough as like as rk3036...
22:21
<
naobsd >
sjoerd: about your patch which supports saving u-boot env on SD
22:21
<
sjoerd >
naobsd: btw i managed to load u-boot through maskrom mode.. Unfortunately evne just loading the spl via maskrom and letting it pull u-boot from SD card causes the kernel not to boot :(
22:21
* sjoerd
needs to figure out if some exception handlers/interrupt handlers/cache setups needs to be undone
22:22
<
naobsd >
when u-boot is loaded by mask rom, it should be placed just after spl, so env@96k might not be good
22:22
<
xming >
what do I miss (feature wise) if I use v2015.10?
22:22
<
sjoerd >
naobsd: the @96 k is where it's put on the SD card not memoery
22:23
<
naobsd >
sjoerd: I recommend to use just before @1M for env
22:23
<
naobsd >
now: header@32k spl@36k- env@96k uboot@128k
22:23
<
xming >
32497 bytes iwth v2015.10
22:24
<
naobsd >
future: header@32k spl@36k- uboot@??? env@???(96k is too near)
22:24
<
naobsd >
checking u-boot-dtb.bin size...
22:25
<
naobsd >
v2015.10 u-boot-dtb.bin is 265k
22:26
<
xming >
v2016.01-rc1 doesn't build
22:27
<
sjoerd >
naobsd: why is it to near ?
22:27
<
sjoerd >
naobsd: the spl can be a maximun of 32k, so it extens to at most 68bytes from the start of storage, so 96k is nicely behind that
22:27
<
naobsd >
header@32k spl@36k-68k uboot@68k-333k env@???
22:28
<
naobsd >
I'm talking
22:28
<
sjoerd >
ans between 96 - 128k there is32 kilobyte of space for the environment which more then enough
22:28
<
naobsd >
"when u-boot is loaded by mask rom"
22:28
<
sjoerd >
then the environemne is not relevant
22:28
<
sjoerd >
those setting are purely related to positoins on
_storage_
22:29
<
naobsd >
if my understanding is correct, when loading u-boot by mask rom(after loading spl from SD), u-boot need to be placed just after spl on SD
22:29
<
naobsd >
or can we specify where is 2nd binary blod in header on SD?
22:29
<
naobsd >
s/blod/blob/
22:29
<
naobsd >
I'm talking about
_storage_
22:30
<
sjoerd >
naobsd: for 3288, the spl itself loads u-boot from mmc
22:30
<
naobsd >
I'm talking about
_future_
22:30
<
sjoerd >
i don't think that's going to change :)
22:31
<
naobsd >
how about rk3036?
22:31
<
sjoerd >
that one is quite different
22:31
<
naobsd >
we use quite different SD layout for same rockchip family?
22:31
<
sjoerd >
i don't know where its rom loads the second stage from, from ther epatches though it seems the header has a offset for a second spote
22:32
<
sjoerd >
naobsd: not really the same family is it though :)
22:32
<
naobsd >
ok, same rockchip brand
22:32
<
naobsd >
I thought there is offset parameter for 2nd blob
22:33
<
naobsd >
if my memory is correct rockchip person who added rk3036 support make it zero
22:33
<
naobsd >
sorry, I have to go out soon
22:34
<
naobsd >
I'll check rk3036 code again
22:34
<
sjoerd >
naobsd: could well be
22:34
<
sjoerd >
naobsd: and the neys for 3036 both u-boot itself and its environment need to live in different spots
22:34
<
naobsd >
what I want to recommend is use same SD layout as much as possible
22:34
<
sjoerd >
then on 3288
22:34
<
naobsd >
between Rockchip SoCs
22:36
<
sjoerd >
submit patches ? :)
22:36
<
sjoerd >
tbh i don't know if the spl knows its own side
22:41
<
naobsd >
my idea is only if mask rom loads u-boot from SD just after spl location
22:41
<
naobsd >
if mask rom understand offset for u-boot in header, current layout (env@96k, uboot@128k) should be good
22:42
<
naobsd >
I'm not sure
22:42
<
naobsd >
I know threre is offset for 2nd blob in header@64k but I guess it might be unused
22:43
<
naobsd >
if it's used, no problem
22:43
<
naobsd >
check it later...
22:43
naobsd has quit [Quit: naobsd]
23:41
naobsd has joined #linux-rockchip
23:42
naobsd has quit [Client Quit]
23:42
naobsd has joined #linux-rockchip
23:45
naobsd has quit [Client Quit]
23:54
cristian_c has quit [Quit: Bye]