nighty- has quit [Quit: Disappears in a puff of smoke]
melissa777 has quit [Quit: Leaving]
nighty- has joined #linux-rockchip
lurchi_ is now known as lurchi__
ganbold has quit [Quit: This computer has gone to sleep]
cnxsoft has joined #linux-rockchip
sb35 has quit [Read error: Connection reset by peer]
sb35 has joined #linux-rockchip
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-rockchip
nots has quit [Quit: Page closed]
hanetzer has quit [Remote host closed the connection]
hanetzer has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
<cyrozap>
Hi, all, I'm trying to boot mainline U-Boot on an old Tronsmark MK908 II (RK3188-based TV box), but I can't seem to get quite the right combination of commands/flash offsets to work, and it's especially difficult because there's lots of outdated information floating around on how to boot this SoC.
<cyrozap>
So far I've been able to build U-Boot image + SPL for the Raxda Rock (same SoC) and encoding that SPL file with `./tools/mkimage -n rk3188 -T rksd -d ./spl/u-boot-spl.bin` and flashing that to `bs=512 seek=64` gets the SoC out of mask ROM mode, but I can't figure out where I need to flash the main U-Boot image, and I don't know if I need to encrypt it with RC4 or not beforehand.
<cyrozap>
Following the instructions in doc/README.rockchip hasn't worked (beyond getting the SoC out of mask ROM mode), and I'm not sure what to do now.
<cyrozap>
I have UART access, so I've been using that for debugging.
<cyrozap>
If anyone has any ideas and wants to help me boot this ancient technology, I'm all ears. :)
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 260 seconds]
vstehle has joined #linux-rockchip
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-rockchip
BenG83 has quit [Ping timeout: 260 seconds]
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-rockchip
xerpi has joined #linux-rockchip
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-rockchip
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-rockchip
<Ke>
since arm qemu team lives here, it may seem worth asking, whether people have been noticing rcu stalls in aarch64 vms
<ayaka>
cyrozap, let me check the trm
<ayaka>
cyrozap, I don't think the upstream SPI would need a cryptic u-boot image
<ayaka>
cyrozap, that u-boot would be at 0x200 from the beginning of the storage
yann has quit [Ping timeout: 256 seconds]
<cyrozap>
ayaka: Oh, I forgot to mention I'm doing SD boot.
<cyrozap>
There's also NAND on this board, but from what I've heard the open source NAND support doesn't work/isn't implemented, so I've just zeroed it out.
<Ke>
I think spi would have needed -T rkspi or something anyway
cnxsoft has quit [Ping timeout: 248 seconds]
<cyrozap>
Oh, wait, I think I may have figured it out.
tl_lim has quit [Read error: Connection reset by peer]
<cyrozap>
Yeah, I think I can't get away with using a different board's DTS file :/
cnxsoft has joined #linux-rockchip
wadim_ has joined #linux-rockchip
<cyrozap>
I'm trying to hack the Raxda Rock DTS files to change the stdout UART, but I keep getting this error: `drivers/serial/serial_rockchip.c:35:33: error: 'struct dtd_rockchip_rk3188_uart' has no member named 'clock_frequency'`
<cyrozap>
It's set to uart2 for the Rock, but I want to change it to a different UART because I think the MK908's uses a different one for its UART.
yann has joined #linux-rockchip
<cyrozap>
Ok, it looks like I needed to add a clock-frequency property to the node, but I still don't get any stdout output.
BenG83 has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
nighty- has quit [Quit: Disappears in a puff of smoke]