00:03
_whitelogger has joined #linux-rockchip
00:24
lurchi_ is now known as lurchi__
00:31
r1kaomsk has quit []
00:38
vagrantc has quit [Quit: leaving]
00:42
lurchi__ is now known as lurchi_
00:47
ted_ has joined #linux-rockchip
00:48
phinxy has quit [Read error: Connection reset by peer]
00:52
ted_ has left #linux-rockchip [#linux-rockchip]
00:54
gnufan has quit [Ping timeout: 252 seconds]
01:03
gnufan has joined #linux-rockchip
01:07
lurchi_ is now known as lurchi__
01:11
kever has joined #linux-rockchip
01:24
lurchi__ is now known as lurchi_
01:33
lurchi_ is now known as lurchi__
01:37
lurchi__ is now known as lurchi_
01:59
cnxsoft has joined #linux-rockchip
02:06
gnufan has quit [Ping timeout: 240 seconds]
02:21
gnufan has joined #linux-rockchip
02:26
gnufan has quit [Ping timeout: 260 seconds]
02:33
nighty- has joined #linux-rockchip
02:35
gnufan has joined #linux-rockchip
02:41
lurchi_ is now known as lurchi__
02:43
gnufan has quit [Ping timeout: 248 seconds]
02:49
gnufan has joined #linux-rockchip
02:51
cnxsoft has quit [Read error: Connection reset by peer]
02:52
cnxsoft has joined #linux-rockchip
03:14
gnufan has quit [Ping timeout: 248 seconds]
03:22
gnufan has joined #linux-rockchip
03:31
kever has quit [Quit: No Ping reply in 180 seconds.]
03:32
kever has joined #linux-rockchip
03:43
gnufan has quit [Ping timeout: 252 seconds]
03:49
gnufan has joined #linux-rockchip
03:59
nobe has quit [Ping timeout: 240 seconds]
04:00
gnufan has quit [Ping timeout: 252 seconds]
04:00
nobe has joined #linux-rockchip
04:07
gnufan has joined #linux-rockchip
04:16
lurchi_ has joined #linux-rockchip
04:19
lurchi__ has quit [Ping timeout: 252 seconds]
04:26
gnufan has quit [Ping timeout: 248 seconds]
04:33
gnufan has joined #linux-rockchip
05:29
LongChair has joined #linux-rockchip
05:37
nighty- has quit [Ping timeout: 248 seconds]
05:47
nighty- has joined #linux-rockchip
06:10
phinxy has joined #linux-rockchip
06:15
phinxy has quit [Client Quit]
06:40
<
diego71 >
wzyy2: thanks for the link. emmc was formatted so it doesn't have a reserved1 partition
06:41
<
diego71 >
atm I'm booting from a SD so I'm fine with the u-boot variable. Thanks anyway, I've learned interest thing ...
07:02
gnufan has quit [Ping timeout: 260 seconds]
07:11
gnufan has joined #linux-rockchip
07:18
<
Tef6 >
Hey does anyone have experience on power or thermal management on Rockchip SoCs?
07:20
wadim_ has joined #linux-rockchip
07:20
phinxy has joined #linux-rockchip
07:24
phinxy has quit [Read error: Connection reset by peer]
07:45
matthias_bgg has joined #linux-rockchip
07:52
BenG83 has quit [Quit: Leaving]
08:05
<
mmind00 >
Tef6: you might want to just write your question ... then you'll see if anyone has experience in that area :-)
08:22
afaerber has quit [Quit: Leaving]
08:32
afaerber has joined #linux-rockchip
08:54
<
rperier >
do we have a procedure in uboot mainline for booting uboot from eMMC ? (via mkimage + upgrade_tool)
08:57
<
beeble >
rperier: i'm writing you a mail about that right now. just have to test it if it works like i would think :)
08:57
<
rperier >
ok , thanks :)
09:02
gnufan has quit [Ping timeout: 248 seconds]
09:02
gnufan has joined #linux-rockchip
09:07
<
paulk-gagarine >
via, so basically you can't boot from emmc and sd/usb boot is disabled?
09:13
phinxy has joined #linux-rockchip
09:26
matthias_bgg has quit [Quit: Leaving]
09:44
skjensen has joined #linux-rockchip
09:46
matthias_bgg has joined #linux-rockchip
09:49
skjensen1 has joined #linux-rockchip
09:50
skjensen has quit [Quit: Page closed]
10:07
phinxy has quit [Read error: No route to host]
10:35
wzyy2 has quit [Ping timeout: 276 seconds]
11:16
kever has quit [Quit: No Ping reply in 180 seconds.]
11:17
kever has joined #linux-rockchip
11:29
nighty- has quit [Quit: Disappears in a puff of smoke]
11:37
wzyy2 has joined #linux-rockchip
11:40
BenG83 has joined #linux-rockchip
11:46
kloczek has joined #linux-rockchip
12:07
gnufan has quit [*.net *.split]
12:07
cnxsoft has quit [*.net *.split]
12:07
dianders has quit [*.net *.split]
12:07
cnxsoft has joined #linux-rockchip
12:11
gnufan has joined #linux-rockchip
12:20
r1kaomsk_work has joined #linux-rockchip
12:21
<
rperier >
beeble: thanks for details, so maskrom is working (I found details on forum.geekbox.tv) and I have tried uboot for emmc
12:21
<
rperier >
it still does not boot, but I am investigating, I can flash to emmc :)
12:22
dianders has joined #linux-rockchip
12:25
<
r1kaomsk_work >
rperier, what are you talking about?
12:26
<
rperier >
mhhhh not the same uart apparently, so it might explain the issue, I think I got it
12:26
<
rperier >
(stupid stuff)
12:26
<
rperier >
r1kaomsk_work: I try to boot mainline uboot from emmc on the geekbox rk3368
12:29
<
via >
paulk-gagarine: correct
12:29
<
via >
the only way i know how to fix this is downloading the google chrome usb key imae
12:31
<
paulk-gagarine >
via, what I would do is enable developer mode and external media boot by enabling the GBB flags on the boot image
12:31
<
paulk-gagarine >
via, you'd need a SPI flasher for that
12:31
<
paulk-gagarine >
and opening the laptop
12:31
<
paulk-gagarine >
otherwise, yeah, you can try the recovery image, but I'm not sure it works well if you have messed with the emmc layout
12:32
<
via >
i think it just wipes the whole partition table
12:32
<
paulk-gagarine >
via, that will erase your data though
12:33
<
via >
wrt the flags, i imagine i'd read the spi flash, change the bits, write it back?
12:33
<
paulk-gagarine >
yup
12:33
<
via >
my long term plan as to flash libreboot or something anyway
12:33
<
paulk-gagarine >
I have a script that can help with that
12:34
<
paulk-gagarine >
./cros-firmware-prepare gbb flash.img enable [the flag]
12:35
<
via >
much appreciated, thank you
12:35
<
via >
though if i'm going to all the effort to hook up spi, any reason i shouldn't overrite the firmware?
12:35
<
paulk-gagarine >
via, up to you :)
12:35
<
paulk-gagarine >
via, I mean, I contributed libreboot support for the c201, so I am slightly biased
12:36
<
via >
has anyone experimented with having libreboot -> uboot -> emmc?
12:36
<
paulk-gagarine >
never tried it
12:36
<
paulk-gagarine >
I really like the depthcharge payload because of the vboot security features
12:37
<
via >
i just would like the idea of an actual interactive bootloader
12:37
<
via >
that would allow me to just select the partition to boot from
12:37
<
paulk-gagarine >
yeah I see
12:37
<
paulk-gagarine >
AFAIk you can just use u-boot directly, without coreboot at all
12:37
<
paulk-gagarine >
but I haven't tried it either
12:37
<
via >
well, i guess i should probably just fix the partitions first, maybe get a backup, then mess ith it :p
12:41
<
r1kaomsk_work >
anyone have experience with ssv6051p?
12:41
<
via >
paulk-gagarine: i'm curious what you like about the vboot features
12:42
<
paulk-gagarine >
via, well, verified vboot
12:42
<
paulk-gagarine >
signed firmware parts, signed kernel
12:43
<
via >
but given that anyone can sign their on kernel, i guess i don't see what the advantage is
12:43
nighty- has joined #linux-rockchip
12:43
gnufan has quit [Ping timeout: 240 seconds]
12:44
<
paulk-gagarine >
via, well that is if you disable the signature verification
12:44
<
via >
i guess that comes ith dev mode??
12:44
<
paulk-gagarine >
not necessarily
12:45
<
paulk-gagarine >
I think it disables it when enabling developer mode, but can be reenabled
12:46
gnufan has joined #linux-rockchip
12:47
<
paulk-gagarine >
crossystem dev_boot_signed_only=1
12:47
cnxsoft1 has joined #linux-rockchip
12:48
cnxsoft has quit [Ping timeout: 248 seconds]
12:48
cnxsoft1 is now known as cnxsoft
12:51
gnufan has quit [Ping timeout: 252 seconds]
12:54
<
skjensen1 >
Hi guys, anyone here who got experience with RK3399 and running Ubunru on it?
12:55
<
skjensen1 >
I simply can't figure out how to build/flash the boot partition so I can boot the system I got on the SDCard
12:57
<
beeble >
works exactly the same way as on any other system?
12:58
gnufan has joined #linux-rockchip
12:58
<
skjensen1 >
Sorry I'm new to this.. I wasn't sure if I had to look at the rather limited documentation of RK3399 or if I can follow guides for other boards
12:59
<
beeble >
it depends a bit on your bootloader on how painfull it is
13:00
<
beeble >
but at the end its just modifying the kernel commandline to point to your sd card as rootfs
13:01
<
beeble >
so, what board do you have?
13:01
<
skjensen1 >
I got the RK3399
13:01
<
beeble >
thats the cpu
13:01
<
skjensen1 >
Firefly-RK3399
13:03
<
skjensen1 >
I spent the day on that page without much luck..
13:05
<
beeble >
do you get a interactive u-boot shell?
13:06
<
skjensen1 >
No, not yet
13:10
<
r1kaomsk_work >
"SPL" - what is it?
13:10
<
skjensen1 >
Okay, I been there and I got the rockchip repo and build u-boot
13:11
<
skjensen1 >
I get to the "Install U-Boot" section and get a bit confused as to what to do..
13:11
<
r1kaomsk_work >
skjensen1, tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl.bin rk3288_idb.img
13:11
<
r1kaomsk_work >
then falash it to sd card from 0x40
13:11
<
r1kaomsk_work >
then go maskrom
13:12
<
r1kaomsk_work >
and boot from sd
13:12
<
paulk-gagarine >
r1kaomsk_work, Scottish Poetry Library
13:12
<
r1kaomsk_work >
paulk-gagarine, LOL
13:12
<
paulk-gagarine >
"Secondary Program Loader"
13:13
<
r1kaomsk_work >
spl is the rk3288_idb.img in case above?
13:13
<
paulk-gagarine >
r1kaomsk_work, basically a minimalistic version of u-boot that runs in SRAM so that it can set up DRAM and load the main, full u-boot there
13:19
matthias_bgg has quit [Ping timeout: 240 seconds]
13:19
<
skjensen1 >
Is this part important? cat u-boot.bin >> rk3399_idb.img
13:19
<
skjensen1 >
I get permission denied even when I sudo the command
13:21
<
beeble >
redirect with sudo will not work as it will redirect the sudo output as your user
13:22
<
skjensen1 >
Okay, did it as root and it worked.. :)
13:23
<
beeble >
sudo sh -c 'cat foo >> bla'
13:23
<
beeble >
if you want to have it working with sudo
13:24
<
skjensen1 >
Thanks :) Useful to know
13:24
<
skjensen1 >
Now, what tool do you use to flash the image onto the device?
13:24
matthias_bgg has joined #linux-rockchip
13:24
<
beeble >
you can write it directly onto the sd card
13:24
<
via >
i just bought another c201, pa tis time (4g ram)
13:24
<
via >
still one of the best laptops i ever bought
13:25
<
r1kaomsk_work >
dd if=/home/myfile of=/dev/sda
13:25
<
r1kaomsk_work >
something like that
13:25
<
beeble >
the offset is missing :)
13:25
<
r1kaomsk_work >
yep
13:26
<
skjensen1 >
okay.. and how do I know what offset to use?
13:27
<
r1kaomsk_work >
dd if=/home/myfile of=/dev/sda seek=64
13:28
<
skjensen1 >
Thanks.. :)
13:33
<
skjensen1 >
Still not much luck.. black screen when the sdcard is inserted
13:34
<
beeble >
a serial connection would be advisable
13:35
<
beeble >
u-boot does not activate video out by default
13:36
<
skjensen1 >
Ahh okay, I will try that.. Thanks again.. :)
13:38
<
beeble >
otherwise you will flying blind, it should start distro_boot but if anything goes wrong you will not see what
13:40
descend-irc has joined #linux-rockchip
13:41
<
r1kaomsk_work >
there must be many debug messages before uboot starting OS boot
14:09
wzyy2 has quit [Ping timeout: 240 seconds]
14:29
cnxsoft has quit [Quit: cnxsoft]
14:39
JohnDoe_71Rus has joined #linux-rockchip
15:03
<
rperier >
where do you find DDR timing infos usually for a board, in its schematics ?
15:04
<
beeble >
ram device datasheet
15:05
<
beeble >
if the layout isn't broken that should be sufficient
15:06
vagrantc has joined #linux-rockchip
15:06
<
beeble >
since the rkbin loader worked you should be able to work with just the memory datasheet
15:07
<
rperier >
mhhh I see, ok thanks
15:15
<
rperier >
mhhh if only the datasheet was public... :D (I have the feeling that's not the case)
15:17
<
beeble >
what does the part silkscreen say?
15:19
wadim_ has quit [Remote host closed the connection]
15:30
matthias_bgg has quit [Quit: Leaving]
15:45
<
beeble >
i meant printed on the component
15:45
<
beeble >
but i looked at a picture i found on google
15:45
<
beeble >
so samsung lpddr3
15:47
<
beeble >
don't know if lpddr is already supported
15:50
<
via >
paulk-gagarine: well, i've got it apart and i've decided without an soic8 test clip i'm gonna fuck something up
15:50
<
via >
so i'll wait until i have a test clip
15:50
<
via >
i almost butchered one of the pins
15:52
<
via >
i wish there was a verified chromeos boot image that i could just get to a shell with
16:00
BenG83 has quit [Ping timeout: 260 seconds]
16:24
__hramrach has joined #linux-rockchip
16:28
_hramrach has quit [Ping timeout: 240 seconds]
17:31
r1kaomsk has joined #linux-rockchip
17:31
r1kaomsk_ has joined #linux-rockchip
17:40
descend-irc has quit [Quit: Connection closed for inactivity]
18:01
afaerber has quit [Quit: Leaving]
18:19
afaerber has joined #linux-rockchip
18:33
BenG83 has joined #linux-rockchip
19:12
BenG83_ has joined #linux-rockchip
19:47
lkcl has quit [Ping timeout: 246 seconds]
19:50
BenG83 has quit [Read error: Connection reset by peer]
19:57
r1kaomsk_ has quit []
20:10
gnufan has quit [Ping timeout: 240 seconds]
20:17
r1kaomsk has quit []
20:22
r1kaomsk has joined #linux-rockchip
20:30
wzyy2 has joined #linux-rockchip
20:36
phinxy has joined #linux-rockchip
20:58
phinxy has quit [Read error: Connection reset by peer]
21:08
lurchi_ is now known as lurchi__
21:15
lurchi__ is now known as lurchi_
21:38
lurchi_ is now known as lurchi__
21:52
BenG83_ has quit [Quit: Leaving]
21:53
lurchi__ is now known as lurchi_
22:01
Myy has joined #linux-rockchip
22:03
<
Myy >
Did anyone ever experienced a total system freeze when writing module drivers for RK3288 and trying to access pdev->resources[0] ?
22:10
<
mmind00 >
Myy: most likely the devices clock is not on ... aka the hclk or pclk normally needs to be on to access device registers
22:10
<
Myy >
Aaah ! That's very likely to be the case !
22:10
<
Myy >
Thanks for the pointers !
22:26
<
lurchi_ >
beeble: its not "printed on" but engraved
22:30
<
lurchi_ >
beeble: are you sure its lpddr3 and not ddr3l?
22:30
gnufan has joined #linux-rockchip
22:36
r1kaomsk has quit [Read error: Connection reset by peer]
22:37
r1kaomsk_work_ has joined #linux-rockchip
22:40
gnufan has quit [Ping timeout: 240 seconds]
22:40
r1kaomsk_work has quit [Ping timeout: 240 seconds]
23:07
r1kaomsk_work__ has joined #linux-rockchip
23:10
r1kaomsk_work_ has quit [Ping timeout: 240 seconds]
23:25
phinxy has joined #linux-rockchip
23:27
wzyy2 has quit [Ping timeout: 264 seconds]
23:45
nighty- has quit [Quit: Disappears in a puff of smoke]
23:58
<
Myy >
Ok, the real reason was me not reading the printk documentation correctly. When using %pa to display resource_size_t types, you need to pass the argument by reference (so &res->start for example, and not res->start).