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
kloczek has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
vstehle has quit [Ping timeout: 258 seconds]
kaspter has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
vagrantc has joined #linux-rockchip
kaspter has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 248 seconds]
ayaka has quit [Ping timeout: 240 seconds]
nighty- has joined #linux-rockchip
nasuga has quit [Ping timeout: 248 seconds]
ayaka has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
aalm has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
vstehle has joined #linux-rockchip
adj__ has quit [Ping timeout: 248 seconds]
ildar has joined #linux-rockchip
ildar has left #linux-rockchip ["PING 1511418519"]
adj__ has joined #linux-rockchip
stdint has quit [Read error: Connection reset by peer]
stdint has joined #linux-rockchip
adj__ has quit [Ping timeout: 248 seconds]
adj__ has joined #linux-rockchip
stdint has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
stdint has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
afaerber has joined #linux-rockchip
jelly has quit [Ping timeout: 240 seconds]
jelly-home has joined #linux-rockchip
cyteen has quit [Ping timeout: 248 seconds]
cyteen has joined #linux-rockchip
sunxi_fan has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
jelly-home is now known as jelly
descend_irc has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-rockchip
<Omegamoon> any of you having any success on getting u-boot working on rk3229?
<Omegamoon> for rk3229 there are instructions in board/rockchip/evb_rk3229/README
<Omegamoon> I've build OP-TEE, and then build u-boot using:
<Omegamoon> make evb-rk3229_defconfig
<Omegamoon> make u-boot.itb
<Omegamoon> make
<Omegamoon> then the instructions say to do:
<Omegamoon> tools/mkimage -n rk322x -T rksd -d spl/u-boot-spl.bin idbloader.img
<Omegamoon> which results in following error:
<Omegamoon> Warning: SPL image is too large (size 0x7800) and will not boot
<Omegamoon> Error: image verification failed
geekerlw has joined #linux-rockchip
<Omegamoon> I tried using TPL instead like this:
<Omegamoon> tools/mkimage -n rk322x -T rksd -d tpl/u-boot-tpl.bin idbloader.img
<Omegamoon> cat spl/u-boot-spl-dtb.bin >> idbloader.img
<beeble> Omegamoon: just a guess, you are using a 4.x gcc? if so please switch to a 6.x at least
<Omegamoon> @beeble: actually I am using armv7ve-libreelec-linux-gnueabi-gcc-7.2.0 (GCC) 7.2.0
<Omegamoon> using TPL indeed create an image succesfully
<Omegamoon> I flashed the resulting idbloader.img at sector 64
<Omegamoon> I'm not sure if I need to provide an u-boot image at sector 16384 (0x4000) though
<Omegamoon> and if so... which one?
<Omegamoon> the SDK build script from here doesn't provide one for rk3229
<Omegamoon> but then again... using that build script results in a "SPL image is too large (size 0x7800) and will not boot" error, so I'm rather confused... what is the right way to build u-boot for the rk3229?
<beeble> you need u-boot.itb
<beeble> as second/third stage at 0x4000
<Omegamoon> @beeble: idbloader.img goes to sector 64 right? and u-boot.itb to 0x4000?
<beeble> yes
<Omegamoon> thanks... I think I tried that, but I'll re-check now :)
geekerlw has quit [Ping timeout: 260 seconds]
nobe has quit [Remote host closed the connection]
nobe has joined #linux-rockchip
BV1AL has quit [Read error: Connection reset by peer]
descend_irc has quit [Quit: Connection closed for inactivity]
ayaka has quit [Ping timeout: 240 seconds]
<mmind00> Omegamoon: also depending on your device, the uart output might be "borked"
<mmind00> Omegamoon: the rk3229-evb uses the secondary output channel (different pins) and uses that as well for the debug output
lurchi_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-rockchip
lurchi_ is now known as lurchi__
<mmind00> Omegamoon: see https://github.com/mmind/u-boot-rockchip/commits/tmp/rk3228-mx4n for my current playground for rk3229
ayaka has joined #linux-rockchip
<Omegamoon> @mmind00: interesting, thanks... but in case the uart pins are shared with sdmmc controller, one would see garbage when booting with an sd card inserted, right?
lurchi__ has quit [Read error: Connection reset by peer]
aalm has quit [Ping timeout: 248 seconds]
<mmind00> Omegamoon: likely, yes ... my device is a dumb tv-box right now, so there are only the sdmmc pins exposed ... so I currently just put the device in maskrom and write the stuff to the emmc
<Omegamoon> @mmind00: I have seen that behavior on other devices, I think it was on rk3128... booting that with an sd card inserted + having serial console will show only garbage
<Omegamoon> @mmind00: interestingly I see normal output on debug (uart) console on my rk3229 when booting with a sd card inserted
<mmind00> Omegamoon: then I guess you really do have access to the pins for the other channel
<Omegamoon> @mmind00: I also see that if I have the sd card inserted it first tries to boot from there, and then tries to boot from emmc... both without success :(
wzyy2 has quit [Ping timeout: 248 seconds]
ayaka has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-rockchip
ayaka has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 258 seconds]
jelly has quit [Ping timeout: 255 seconds]
<Omegamoon> @mmind00: how do you package the u-boot image for rk3229 currently?
<mmind00> Omegamoon: simply according to the README from the evb, so tools/mkimage -n rk322x -T rksd -d tpl/u-boot-tpl.bin idbloader.img; cat spl/u-boot-spl.bin >> idbloader.img
<Omegamoon> @mmind00: because, the README you added for nexbox a95x_r1 doesn't work :(
<mmind00> Omegamoon: the README is just a copy from the evb, with the board name replaced
<mmind00> Omegamoon: and then write it with "rkdeveloptool wl 64 idbloader.img"
<Omegamoon> mmind00: I thought so :)
jelly-home has joined #linux-rockchip
<Omegamoon> mmind00: I used spl/u-boot-spl-dtb.bin
cnxsoft has quit [Quit: cnxsoft]
Omegamoon has quit [Excess Flood]
Omegamoon has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
ayaka has quit [Ping timeout: 240 seconds]
nasuga has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 248 seconds]
Jagan has joined #linux-rockchip
<Jagan> I've trying ubuntu on rk3288
<Jagan> I'm inserting mali_kbase.ko once ubuntu loaded on text mode
<Jagan> and then I'm launching grphical mode as
<Jagan> root@localhost:~# systemctl start graphical.target
<Jagan> Got the black screen..couldn't see any error on debug
<Jagan> any help what I'm missing
<phh> it's using X or wayland?
<phh> does /var/log/Xorg.0.log contain useful information?
<phh> dmesg perhaps?
<phh> also, which kernal are you running?
<Jagan> linux-next
<Jagan> X
<phh> and dtb?
<phh> I think you should rather use https://github.com/openedev/rockchip_forwardports/
<phh> (device-tree description of mali changed)
<phh> but check in dmesg that mali has been probed
ayaka has joined #linux-rockchip
<Jagan> mali probed fine.
<Jagan> I've tested qt
<Jagan> it's working fine
LargePrime has quit [Read error: Connection reset by peer]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
vagrantc has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
Easyfab has joined #linux-rockchip
Jagan has quit [Ping timeout: 260 seconds]
jelly-home has quit [Ping timeout: 240 seconds]
wzyy2 has quit [Ping timeout: 248 seconds]
jelly-home has joined #linux-rockchip
anarsoul|2 has joined #linux-rockchip
jelly-home is now known as jelly
matthias_bgg has quit [Quit: Leaving]
maz has quit [Quit: Leaving]
ayaka has quit [Ping timeout: 240 seconds]
aalm has joined #linux-rockchip
ayaka has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 260 seconds]
adj__ has quit [Ping timeout: 248 seconds]
adj__ has joined #linux-rockchip
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-rockchip
Omegamoon has left #linux-rockchip [#linux-rockchip]
Easyfab has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
afaerber has quit [Ping timeout: 258 seconds]
afaerber has joined #linux-rockchip
ayaka has quit [Ping timeout: 240 seconds]
ayaka has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
ayaka has quit [Quit: byte]
ayaka has joined #linux-rockchip