<stdint>
anyway, it will work for me, that is what I do in a various of platform
<stdint>
and there is not a good way to know that from the userspace
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
wadim_ has joined #linux-rockchip
LongWork has joined #linux-rockchip
rperier has quit [Remote host closed the connection]
rperier has joined #linux-rockchip
nobe has joined #linux-rockchip
BenG83 has joined #linux-rockchip
wouterstreamit has joined #linux-rockchip
<wouterstreamit>
I am trying to build Yocto linux for a custom RK3288 board but my hardware manufacturer only provides Rk3288Ubootloader_V2.19.0.bin with a "parameter" file as bootloader - how can I use this in my Yocto image?
<phh>
well you most probably don't care about parameter or rk3288ubootloader
<phh>
what you care about would be in resource.img
<phh>
though don't you have kernel sources?
LongWork has quit [Quit: LongWork]
<wouterstreamit>
I have the kernel 4.4 sources with a device tree/defconfig but when I use those in Rockchip's 4.4 kernel distribution I get a reboot loop - I presumed this was because the bootloader didn't work
premoboss has joined #linux-rockchip
premoboss is now known as utente
<wouterstreamit>
phh: do you know of any way to debug where my boot process fails? Can I see somewhere if Uboot started correctly?
<phh>
good old serial? :P
BenG83 has quit [Ping timeout: 240 seconds]
LongWork has joined #linux-rockchip
utente has quit [Ping timeout: 240 seconds]
Myy has joined #linux-rockchip
<Myy>
喵
indy has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-rockchip
indy has joined #linux-rockchip
phinxy has joined #linux-rockchip
<phinxy>
What kind of person hang in here? kernel developers?
nighty- has quit [Quit: Disappears in a puff of smoke]
<Myy>
and library developers, and some users too
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
kever has quit [Ping timeout: 240 seconds]
<wouterstreamit>
phh: If I install the original (Android) image my hardware manufacturer gave me into the flash and put my sd card with Yocto in, the serial says https://pastebin.com/GfGNPfpB, which to me indicates the manufacturers u-boot is used but it fails to start the OS. When I erase the flash and put in my SD card, nothing happens in the serial console - any ideas?
<Myy>
If absolutely nothing appears on the console, you might be booting into maskrom mode. From there, you might be able to flash another bootloader.
<Myy>
If you connect it on USB to a linux PC, check the output lsusb
<wouterstreamit>
Myy: my yocto image is flashed to an sd card, if I erase the flash it does go into MASKROM mode if no SD card is present, but if my SD card with my yocto linux build is present it does not boot into MASKROM but I do not get any debug output either
<Myy>
You might be able to flash a more recent U-Boot. They have included support for multiple rk3288 boards recently. I'll be right back in ~30 minutes.
<wouterstreamit>
Myy: I am now able to start booting a kernel by using the u-boot configuration from a Firefly rk3288 board - when booting the kernel I get a high pitched beep noise and a large number of error messages caused by an incorrect device tree though - I think this is a mistake by my hardware manufacturer though
<Myy>
Hmm... There was some mistakes in the mainline kernel DTS when it comes to SPDIF addresses. Maybe there's that... Also, if you paste the rest in (paste|ghost)bin, maybe someone will have a clue about what the issue. It might be a manufacturer problem too...
<wouterstreamit>
My manufacturer is a bit unclear about what device tree to use - I am trying to add a different device tree file but I get an error make[2]: *** No rule to make target 'rk3288-test.dts'. Stop. even though I added it to the Makefile as well
<phh>
wouterstreamit: it's most likely rk3288-tb.dts
<phh>
try make rk3288-tb.img
afaerber has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
<wouterstreamit>
phh: I'm not sure you understand - I made that test.dts file myself and want to use that instead of an existing file. I'm pretty sure the rk3288-tb.dts file should no longer be used (it hasn't been updated in the rockchip repositories for over 2 years)
afaerber has joined #linux-rockchip
<phh>
oh ok
<phh>
wouterstreamit: well, most rk3288 I've seen are running android 4.4....
nighty- has quit [Quit: Disappears in a puff of smoke]
JohnDoe_71Rus has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
phinxy has quit [Ping timeout: 248 seconds]
cyteen has joined #linux-rockchip
wadim_ has quit [Remote host closed the connection]
utente has joined #linux-rockchip
<wouterstreamit>
I have done some more research and modifications and now I can actually boot :) however the display does not work. My manufacturer has provided a device tree compatible with kernel 4.4.16 which is almost a year old and I believe an incompatibility is causing my problem, does anyone know how to fix the errors https://pastebin.com/cnFTLLdy causing no display output?
<phh>
hum, your display is lvds?
<Myy>
I've seen some LVDS support patches sent to the rockchip-linux mailing list... I don't know how LVDS support plays with 4.4 though.
wouterstreamit has quit [Ping timeout: 260 seconds]
LongWork has quit [Read error: Connection reset by peer]
<phh>
Myy: that's rockchip vendor tree, so it has lvds
<phh>
though I feel like it has lvds since few months ago
vagrantc has joined #linux-rockchip
cosm has quit [Remote host closed the connection]
cosm has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
hramrach has quit [Ping timeout: 248 seconds]
rellla has quit [Ping timeout: 240 seconds]
rellla has joined #linux-rockchip
_hramrach has joined #linux-rockchip
BenG83 has quit [Ping timeout: 260 seconds]
afaerber has quit [Quit: Leaving]
utente has quit [Ping timeout: 255 seconds]
utente has joined #linux-rockchip
BenG83 has joined #linux-rockchip
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
utente has quit [Ping timeout: 248 seconds]
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
afaerber has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
premoboss has joined #linux-rockchip
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
JohnDoe5 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
BenG83 has quit [Ping timeout: 252 seconds]
BenG83 has joined #linux-rockchip
lkcl has quit [Read error: Connection reset by peer]