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
montjoie has quit [Ping timeout: 246 seconds]
montjoie has joined #linux-amlogic
jacobk has joined #linux-amlogic
luka177 has quit [Ping timeout: 244 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Remote host closed the connection]
camus1 is now known as camus
hexdump0815 has quit [Ping timeout: 245 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
luka177 has quit [Ping timeout: 248 seconds]
f11f12 has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 256 seconds]
JohnnyonFlame has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
chewitt has joined #linux-amlogic
luka177 has joined #linux-amlogic
f11f12 has quit [Quit: Leaving]
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
f_ has joined #linux-amlogic
<f_> Hey all. Great news! Finally picked up the boards lvrp16 sent me!
<f_> So far they look nice.
luka177 has joined #linux-amlogic
<f_> Thank you lvrp16 !
<lvrp16> f_: I hate USPS. So slow but glad you received it.
<f_> Don't worry about it. I couldn't pick it up earlier anyway.
<f_> I tested and confirmed the lafrite worked to an extent
<f_> I did hear about issues with some monitors so I hope they work on my old dell 1280x1024 monitor, which is what I usually use for testing
<f_> (should work)
<lvrp16> A good way to test is to flash the eMMC and keep a good bootloader on SPI
<lvrp16> You can always flip a switch and the board is bootable again.
<f_> A jumper?
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
<f_> I should try finding an adequate power supply though
<f_> But I also think it's nice to have a USB-A to USB-A cable with the eMMC module
<f_> means I don't have to hack around an USB-A to USB-C to USB-C to USB-A thing anymore :)
<f_> (although that works fine)
<f_> Ok, will test lepotato now
<f_> It powers on and BL1 gets loaded, so should be good enough
<f_> So I'll flash something to the eMMC
<f_> BTW I documented some other stuff related to gxl BL2 here: https://moin.vitali64.duckdns.org/AmlogicBL2/GXL/32Bit
<f_> Basically moved `GhidraQuirks` to `32Bit` after adding more clues leading to BL2 actually targetting AArch32
<f_> So all gxl BL2 binaries compiled after ~2017-2018 will be 32-bit
<f_> I found out that BL21 was also compiled for AArch32, so I guess that says a lot
<f_> Why? No idea..maybe a quirk in the SoC Amlogic tried to mitigate...guess we'll never know.
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
gabes2 has quit [Quit: The Lounge - https://thelounge.chat]
gabes2 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
<f_> Ok so I'mm 99% sure 2019 gxl BL2 binaries target AArch32.
luka177 has quit [Ping timeout: 246 seconds]
<f_> For now I'll...again...pause REing to instead port postmarketOS to these new boards!
<f_> They're supported by mainline (obviously), and postmarketOS happens to use mainline on as much devices as possible, and I happen to maintain the `linux-postmarketos-amlogic` package, which is mainline + few patches to support more set-top boxes...so let's do it!
<f_> Also about BL2 mangling UART logs; got that person to run P212 BL2 instead of stock ZTE BL2 and they got some logs; which confirms that this mangling feature was added *after* 2017, too.
<f_> I'll update my notes about that shortly
luka177 has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
luka177 has quit [Ping timeout: 246 seconds]
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
<f_> lvrp16: aaaand it boots Armbian!
<f_> via UART..will test HDMI now.
<f_> Works!
<f_> Oh, and same issue as with my KII Pro lol
<f_> can't power off
<f_> After a while it should power off in that case.
<f_> but yeah, good job!
<f_> I'm starting to really enjoy using these
luka177 has joined #linux-amlogic
<f_> Let me hook up an ethernet cable real quick
<f_> test@lepotato:~$ ping vitali64.duckdns.org
<f_> PING vitali64.duckdns.org (195.15.242.30): 56 data bytes
<f_> nice
<f_> (can't ping but that's normal)
<f_> And as soon as I plug in a keyboard it bootloops :S
<f_> gotta find a better power supply/cable then
<f_> The power brick outputs 5V/2A so should work
<f_> will switch cables then.
<f_> Meh, as long as it boots to something...should be fine
<f_> I can still talk over UART
<f_> maybe will try another keyboard
<f_> Ok so my wireless keyboard dongle works
ndufresne9 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
<f_> I just dumped lepotato's BL1 BTW.
<f_> I should do the same for my gxbb board and prob. lafrite too...although I doubt they're different.
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
<f_> and at the same time I confirmed lepotato has that USB vulnerability...which is.....pointless lol
<f_> I do love how easy it is to enter USB mode though.
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
ndufresne9 has quit [Quit: The Lounge - https://thelounge.chat]
ndufresne9 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
ndufresne9 has quit [Quit: The Lounge - https://thelounge.chat]
ndufresne9 has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
<lvrp16> wait BL1 is dumpable?
<f_> Normally it isn't.
<f_> But you can dump it by running very simple code as BL2 that dumps BL1
<f_> or make use of amlogic-usbdl and run a payload that dumps BL1.
<f_> ^ I confirmed that works on lepotato.
luka177 has joined #linux-amlogic
<lvrp16> o.0
<f_> I fed that dump into Ghidra and it happens to be 64-bit!
<minute> how is the mainline situation with a311d2 btw? (sorry for the somewhat lazy question)
<f_> ¯\_(ツ)_/¯
<f_> IIRC someone is porting an A311D2 SBC to mainline..not sure how well A311D2 is supported though
Terry13732293409 has quit [Ping timeout: 256 seconds]
Terry13732293409 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
<minute> f_: sinovoip have a cm4 formfactor a311d2 with 8gb ram, would be cool for us
<f_> Sure, but I don't think mainline is ready for these yet..
<minute> ok, good to know :3
<f_> Not sure though.
<f_> lvrp16: If you want I can send you the dump
f_ has quit [Ping timeout: 248 seconds]
f__ has joined #linux-amlogic
f__ has quit [Remote host closed the connection]
f_ has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 256 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
anessen974 has joined #linux-amlogic
anessen97 has quit [Ping timeout: 245 seconds]
anessen974 is now known as anessen97
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
vagrantc has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
<f_> lvrp16: I can also confirm that dumping BL1 from USB mode works on lafrite too.
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 258 seconds]
luka177 has joined #linux-amlogic
f_[xmpp] has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
<samueldr> :o
<f_> :o
<f_> hi samueldr!
<f_> Nice to see you here!
<f_> hey, weirdly enough I can't load anything on my S905 box while using the USB vulnerability
<f_> The box just resets
<f_> Nevermind it works.
hexdump0815 has quit [Ping timeout: 248 seconds]
hexdump0815 has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 256 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
Danct12 has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 256 seconds]
luka177 has joined #linux-amlogic
<f_> Huh..not able to boot anything from USB
<f_> (lafrite)
<f_> Plugging into one port makes the board reset, and it doesn't seem to detech anything on the second port..
<f_> It resets with `BUG at drivers/usb/host/xhci-ring.c:473/xhci_wait_for_event()!`, `BUG!`
<f_> Doubt it's a power supply issue in this case
<f_> I found a good cable and confirmed external wired keyboards worked on lepotato.
<f_> I wanted to boot up something to run `flashrom` on
<f_> (I'm used to `flashrom` when it comes to SPI flash)
f_ has quit [Quit: f_]
vagrantc has quit [Ping timeout: 246 seconds]
vagrantc has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
jacobk has quit [Ping timeout: 246 seconds]