mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
kevery has joined #linux-rockchip
lorenzb has quit [Quit: Gateway shutdown]
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
f476 has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
<BusError> Are there restrictions on how big a file can be written with rockusb/rkdeveloptool? Here rkdeveloptool seems to write my whole ~913MB file to the device, but if I re-read it, it seems to have stopped more or less in the middle
<BusError> I tried writing with rockusb (command line tool, linux), same problem
<BusError> I use rk356x_spl_loader_ddr1056_v1.06.110.bin -- which I fished from the internet, as it's not in rkbin or anywhere else 'official' it seems
digetx has joined #linux-rockchip
digetx has quit [Ping timeout: 265 seconds]
psydroid has quit [Read error: Connection reset by peer]
kevery has quit [Ping timeout: 244 seconds]
dsimic has quit [Ping timeout: 265 seconds]
dsimic has joined #linux-rockchip
kevery has joined #linux-rockchip
warpme has joined #linux-rockchip
psydroid has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
kevery1 is now known as kevery
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 248 seconds]
kevery1 is now known as kevery
unjust has joined #linux-rockchip
lorenzb has joined #linux-rockchip
raster has joined #linux-rockchip
naoki1 has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki1 is now known as naoki
<naoki> BusError: I don't think there are any such restrictions, but I'm not familiar with them.
<naoki> I don't feel like doing it, but this needs to be fixed to support recent(aarch64) SoCs. https://github.com/linux-rockchip/rkflashtool/blob/master/rkflashtool.c#L54
<naoki> Ah, U-Boot on recent SoCs doesn't use BACK_TO_BROM, so rkflashtool L/M/B might not work... (I need to check U-Boot's rockusb implementation)
<naoki> It seems that mainline U-Boot only supports a limited number of operations. https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/usb/gadget/f_rockusb.c#L783
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<naoki> hmm
<naoki> ./rkflashtool l < ../rkbin/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin
<naoki> ./rkflashtool L < ../rkbin/bin/rk35/rk3588_usbplug_v1.11.bin
<naoki> works
<naoki> ./rkflashtool l < ../rkbin/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin
<naoki> /rkflashtool L < ../u-boot/spl/u-boot-spl-dtb.bin
<naoki> U-Boot SPL 2025.01-rc5-00015-g20f6e80312c7 (Dec 30 2024 - 13:17:56 +0000)
<naoki> Trying to boot from MMC2
<naoki> (snip)
<naoki> SPL: failed to boot from all boot devices
<naoki> Interesting :)
digetx has joined #linux-rockchip
warpme has joined #linux-rockchip
<naoki> Oh, bulk transfer endpoint is changed after exiting MASKROM mode on RK3588
<naoki> rkflashtool needs to be fixed ;)
<naoki> ./rkflashtool m 0 0x10 | hexdump -C
<naoki> (snip)
<naoki> 00000000 82 00 00 14 00 00 00 00 52 53 41 4b f8 01 00 00 |........RSAK....|
<naoki> interesting :)
<naoki> memory read/write is working, but exec (rkflashtool B) is not working
naoki has quit [Quit: naoki]
stikonas has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
FergusL8 has joined #linux-rockchip
FergusL has quit [Ping timeout: 265 seconds]
Whistler has quit [Ping timeout: 265 seconds]
FergusL8 is now known as FergusL
FergusL has quit [Changing host]
FergusL has joined #linux-rockchip
adadad has quit [Ping timeout: 265 seconds]
adadad_ has joined #linux-rockchip
adadad_ is now known as adadad
Whistler has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
System_Error has joined #linux-rockchip
franoosh has joined #linux-rockchip
warpme_ has joined #linux-rockchip
naoki has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
<naoki> board_spl_was_booted_from: failed to resolve brom_bootdevice_id a
<naoki> BROM_BOOTSOURCE_USB = 10,
<naoki> How to use common/spl/spl_ram.c...?
franoosh has quit [Remote host closed the connection]
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Client Quit]
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 265 seconds]
raster has quit [Quit: Gettin' stinky!]
<naoki> hmm
<naoki> rkflashtool l < tpl.bin
<naoki> rlflashtool L < spl.bin
<naoki> rkflashtool L < u-boot-rockchip.bin
<naoki> works but
<naoki> doesn't work
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 248 seconds]
stikonas has quit [Remote host closed the connection]