<rockosov>
f_: Hello! BTW, not all SoCs flashing is working fine with aml-flash-tool. For example, I couldn't flash A311D based device from BootROM stage. Moreover, for A1 and S4 SoC families Amlogic implemented new protocol called 'adnl'. It's very similar to fastboot.
<rockosov>
narmstrong: Also we made some patches into your pyamlboot tool. On our side it can flash device like aml-flash-tool. How do you think, it's helpful changes? If yes, we can share them,
<f_>
rockosov: It should work though..my SoC is an S905
<f_>
Or maybe not..
<f_>
--soc only supports gxl, although it says that includes the S905......which is gxbb
<f_>
Did anyone try (and succeed at) flashing with the USB burner from a QEMU VM?
Daanct12 has quit [Quit: WeeChat 3.8]
<rockosov>
narmstrong: I'm using USB Burning Tool from VirtualBox, Windows for VM image
<f_>
rockosov: Oh
<rockosov>
f_: If you use the same setup, please do not forget to forward USB device to VM, otherwise UBT will not see the endpoint
JohnnyonFlame has joined #linux-amlogic
<f_>
I know.
<f_>
But when flashing the device disconnects and reconnects
<f_>
And thus the forwarding doesn't have any effect until I manually forward.
<rockosov>
f_: I've applied such trick: when device reconnects first time, I just forward it to VirtualBox VM manually and then add it to USB device rules by default. In summary, I have two USB rules for two devices: Amlogic GX-CHIP and Amlogic Inc.
<rockosov>
f_: During flashing it reconnect due to one simple reason:
<rockosov>
If you start flashing from BootROM, the tool flashes new bootloader and reboot into it, start "update" command there and flash other partitions
<rockosov>
If you start flashing from bootloader, the tool reboot to BootRom and repeat all steps
<f_>
Ok
<f_>
I should do that too for QEMU..I think there's a way to automatically forward devices.
<f_>
Thanks!
<narmstrong>
rockosov: I'm curious to see how the adnl looks like
ldevulder has quit [Remote host closed the connection]
<narmstrong>
rockosov: I was reffering to the pyamlboot implementation you did :-)
<rockosov>
On the uboot side it implements custom commands and fully re-use fastboot callbacks for data transfers
<narmstrong>
it would be nice to upstream this actually
ldevulder has joined #linux-amlogic
<rockosov>
narmstrong: Ohhh, it's on our TODO list :-) We have support for the old Optimus protocol, and I'm asking my teammate to share it with the community. Regarding ADNL support, I suppose we can implement that soon.
<HackerKkillinghi>
oh btw
<HackerKkillinghi>
i will flashing a device on binbows 10 vm in qemu that has ausb pcie passthonht to it
<f_>
rockosov: Just saw I can do that with udev. Nice!
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
<rockosov>
narmstrong: Neil, could you please share the expected date for the next RC1?
<rockosov>
HackerKkillinghi: Nice! I thought to make a transition from VBox to qemu too. qemu is more comfortable from my point of view
<f_>
HackerKkillinghi: Did it work?
<f_>
rockosov: I used to be a VBox user too. Switched to QEMU and never thought of going back.