Ivanovic has quit [Quit: Caught sigterm, terminating...]
droman0 has joined #linux-amlogic
Ivanovic has joined #linux-amlogic
[TheBug] has joined #linux-amlogic
Ivanovic has quit [Changing host]
Ivanovic has joined #linux-amlogic
<narmstrong>
lvrp16: the booting of full system by usb can be pretty cool to implement for aml SoCs on mainline uboot, it only needs to detect a boot.scr on memory
<lvrp16>
narmstrong: i will build a microcontroller when i get around to it
<lvrp16>
a bootable microcontroller + eMMC or SD card slot :)
<narmstrong>
In place of the SPI flash ?
<lvrp16>
no, just a microcontroller that does what the script does
<narmstrong>
Khadas has an MCU on the VIM2 to control the SPI flash boot select pin
miceopede has joined #linux-amlogic
yann has quit [Ping timeout: 240 seconds]
cthugha is now known as ldevulder
indy has quit [Remote host closed the connection]
indy has joined #linux-amlogic
gnufan has quit [Ping timeout: 240 seconds]
yann has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
gnufan has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
a5m has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
a5m has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
Barada has quit [Quit: Barada]
a5m has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
<ldevulder>
narmstrong, hi! I saw your last patches on u-boot for adc on s905x, I tried to activate it on my khadas vim card and that seems to work also on this card, I can see an adc@8680 device and I can access it
<narmstrong>
ldevulder: cool, good news ! I didn't had time to test !
<ldevulder>
narmstrong, I also tested your patches for USB but it's not working well... It seems I can only see the power port, nothing on the others, and I my board reset when I do 'usb reset', not sure it is expected :)
<narmstrong>
ldevulder: yeah, I need to fix the 'usb reset' issue :-D
<narmstrong>
ldevulder: maybe a regulator is missing aswell on the VIM
<ldevulder>
narmstrong, ok if you are aware of this for the reset
<narmstrong>
ldevulder: yeah, I'm not proud of it !
<ldevulder>
narmstrong, as for the USB ports that don't see my USB keys is this also the same issue? Or something 'new'?
<ldevulder>
narmstrong, but you can be proud of all the other works you did on amlogic soc! :D
<narmstrong>
ldevulder: on other board, the 5V regulator must be enabled, but I was not sure it was necessary on Khadas VIM
<narmstrong>
ldevulder: thanks !!
<ldevulder>
narmstrong, I can try to have a look on how to activate the 5V regulator and test this on my board (I think that if I have a look at the libretech-cc code I can find how to do this)
<narmstrong>
ldevulder: you need to put GPIOH_3 to 1
<ldevulder>
narmstrong, ok, I will try
<ldevulder>
narmstrong, in dts file I think?
<narmstrong>
ldevulder: you should be able to control it from the u-boot cmdline
<narmstrong>
ldevulder: you can also try to use the regulator commands to enable it
<ldevulder>
narmstrong, oh yes, it's the hdmi_5v, the only one not activated
<narmstrong>
ldevulder: I sent a fix for Linux (ARM64: dts: meson-gxl-s905x-p212: Add phy-supply for usb0), once it's applied to 4.18 and backported to 4.17 I'll push it to u-boot
<ldevulder>
narmstrong, ok
gnufan has quit [Ping timeout: 256 seconds]
gnufan has joined #linux-amlogic
vagrantc has joined #linux-amlogic
Barada has quit [Quit: Barada]
<ldevulder>
narmstrong, I will try by patching the dts file and recompile u-boot, I'm not able to enable the regulator, still disable beside my tries...
<ldevulder>
narmstrong, after patching p212 dtsi file I can now see my USB key in u-boot!
<ldevulder>
still the usb reset issue of course but that's something else, JFYI on that part: first 'usb start/usb reset' works, 'usb stop' works too after but 2nd 'usb start/usb reset' fails
return0e has quit [Remote host closed the connection]
<narmstrong>
ldevulder: thanks for testing!!
<ldevulder>
you're welcome :)
return0e has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
sputnik_ has quit [Remote host closed the connection]
yann has quit [Ping timeout: 265 seconds]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]