sputnik__ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
chewitt has joined #linux-amlogic
chewitt has quit [Ping timeout: 245 seconds]
Barada has joined #linux-amlogic
nexgen has joined #linux-amlogic
<narmstrong>
Yardanico: did the binary work ?
chewitt has joined #linux-amlogic
ldevulder_ is now known as ldevulder
lykt has joined #linux-amlogic
bengal has quit [Ping timeout: 240 seconds]
bengal has joined #linux-amlogic
yann has quit [Ping timeout: 265 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
nsaenz has joined #linux-amlogic
yann has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 245 seconds]
chewitt has quit [Read error: Connection reset by peer]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
Barada has quit [Quit: Barada]
Barada has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 245 seconds]
Barada has quit [Quit: Barada]
Barada has joined #linux-amlogic
Barada has quit [Quit: Barada]
ldevulder_ is now known as ldevulder
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
<Yardanico>
narmstrong: for some reason the tv box just didn't want to read u-boot from sd card, and I tried to flash that uboot directly to eMMC and bricked it a bit. Bought a USB A M-M cable today, and flashed some android firmware, will also connect UART (I have a spare nodemcu esp8266 which can be used for uart-wifi bridge)
<Yardanico>
The reason I wanted to compile my own u-boot is to boot arch linux arm kernel (for some reason it just doesn't boot, although the armbian kernel does). So I'll try to boot it with stock u-boot and with uart to see why doesn't it want to boot arch kernel
<Yardanico>
well maybe the u-boot from sd card actually worked but it just didn't fix my arch linux problem :D I'll check it when I get an UART running though
<narmstrong>
Yardanico: you can chainload mainline uboot from the vendor uboot
<narmstrong>
Yardanico: it works well and is much simpler
<narmstrong>
`usb start;fatload usb 0 0x1000000 u-boot.bin;go 0x1000000` from usb for example
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Ping timeout: 240 seconds]
nsaenz has joined #linux-amlogic
<Yardanico>
well, I finally managed to capture vendor uboot, and it's "U-Boot 2015.01-gff1cbc0660-dirty (Apr 08 2018 - 09:35:05)", also "BL2 Built : 11:04:41, Jan 26 2018."
<Yardanico>
just for info, gonna start actual linux stuff now
<Yardanico>
btw, is q200 similar to q201? The u-boot log says it uses q201 3gb version for my tv box
<khilman>
q201 only has internl PHY
<khilman>
q200 has a choice between interal or external (gbit I think) phy
<Yardanico>
btw, the funny thing is that I don't have a soldering iron right now so yes, I captured uart log by holding the wires to the board with my fingers), gonna boot from armbian just to check it works, and then will start with arch kernel
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
<Yardanico>
so what can be the issue if the uboot successfully reads Image.gz of arch linux but after "Starting kernel ..." and "uboot time: 8413820 us" there's no output?
<khilman>
Yardanico: are you trying to boot mainline linux? If so, first thing to change is the serial console on the cmdline. Try `console=ttyAML0,115200`
<khilman>
the vendor kernel uses ttyS0 which doesn't exist upstream, so you wont see any serial console output
<Yardanico>
khilman: well when booting armbian I got all kernel output from uart
<Yardanico>
idk if it's fully mainline though, maybe they have patches
<khilman>
I don't know what kernel version armbian uses
<Yardanico>
the latest armbian provided for my device uses 5.3.0-aml-g12
<Yardanico>
so not mainline I guess
<Xogium>
it is
<Yardanico>
khilman: I think I might have had an error in my uEnv.ini, it was like "console=ttyAML0,115200n8 console=tty"
<khilman>
that looks fine
<Yardanico>
there's also other thing that bothers me - for some reason the s905_autoscript for armbian loades the armbian zImage kernel using "booti"
<Yardanico>
narmstrong: I tried the chain loading and I get u-boot "bootloop" with it with "Synchronous Abort handler, esr 0x02000000" error: https://paste.debian.net/1104077/