narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
vagrantc has quit [Quit: leaving]
JohnnyonF has quit [Read error: Connection reset by peer]
George41 has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
naoki has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
JohnnyonFlame has joined #linux-amlogic
chewitt_ has joined #linux-amlogic
chewitt has quit [Ping timeout: 264 seconds]
Daanct12 has joined #linux-amlogic
George41 has joined #linux-amlogic
jacobk has joined #linux-amlogic
elastic_dog has quit [Remote host closed the connection]
elastic_dog has joined #linux-amlogic
naoki1 has joined #linux-amlogic
naoki has quit [Ping timeout: 276 seconds]
naoki1 is now known as naoki
JohnnyonFlame has quit [Ping timeout: 248 seconds]
elastic_dog has joined #linux-amlogic
elastic_dog is now known as Guest6188
elastic_dog has joined #linux-amlogic
naoki has quit [Quit: naoki]
elastic_dog has quit [Quit: elastic_dog]
elastic_dog has joined #linux-amlogic
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic
jacobk has quit [Ping timeout: 250 seconds]
ldevulder has joined #linux-amlogic
chewitt_ is now known as chewitt
chewitt has quit [Quit: Zzz..]
emanuel_ has joined #linux-amlogic
emanuel_ has quit [Client Quit]
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #linux-amlogic
emanuel_ has joined #linux-amlogic
emanuel_ has quit [Quit: Client closed]
f_ has joined #linux-amlogic
<f_> Hey all. Trying to flash using `update`...take two.
<f_> I'll use this https://github.com/osmc/aml-flash-tool to flash.
<f_> This time, I made a udev rule as explained over there -> https://github.com/osmc/aml-flash-tool/tree/master/tools/_install_
<f_> Running u-boot [KO]
<f_> Wonderful.
<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_> I guess I'd need to use the USB burner.
<narmstrong> rockosov: sure it’s helpful, please send a pull request !
<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]
<rockosov> narmstrong: Actually, we have the same linux tool from Amlogic in our hands - https://github.com/khadas/utils/tree/master/aml-flash-tool/tools/adnl.
<rockosov> This is host part
<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.
<rockosov> f_: Cool! Yep, cli iface, gdb remote are strong arguments!
<f_> Windows lags a lot though.
<f_> Ok. Doesn't work.
<f_> Seems like the image I'm using doesn't work.
<rockosov> f_: I've used Windows image from official site: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
<f_> No I mean
<f_> The Amlogic image.
<f_> Windows works as expected.
<narmstrong> rockosov: 7th of may or 1 week later
<rockosov> narmstrong: I see, thank you!
<rockosov> f_: :(
<f_> I want to flash a gxbb KII Pro
<f_> So. What I actually want to do is run mainline U-Boot.....but first, I need a way to recover.
<f_> And thus, this is why I'm trying to find and flash a known working image.
<rockosov> f_: do you have UART logs of board bootup after flashing?
<f_> No.
<f_> But I know for a fact it didn't flash successfully.
<f_> And I know for a fact it still has the stock firmware.
vagrantc has joined #linux-amlogic
<f_> Yeah the image is just....bad.
<f_> Someone reported the exact same error when flashing that image.
jernej has joined #linux-amlogic
jacobk has joined #linux-amlogic
<f_> Flashed an image and it seems to work. Cya.
f_ has quit [Quit: Lost terminal]
f_[xmpp] has quit [Ping timeout: 256 seconds]
jacobk has quit [Ping timeout: 252 seconds]
vagrantc_ has joined #linux-amlogic
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
JerryXiao has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 255 seconds]
vagrantc has quit [Ping timeout: 250 seconds]
vagrantc_ is now known as vagrantc
ldevulder has quit [Ping timeout: 250 seconds]
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
JerryXiao has joined #linux-amlogic
iprusov has quit [Quit: WeeChat 3.5]
iprusov has joined #linux-amlogic
iprusov has quit [Client Quit]
iprusov has joined #linux-amlogic
vagrantc has joined #linux-amlogic
JohnnyonF has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]