00:21
montjoie has quit [Ping timeout: 246 seconds]
00:23
montjoie has joined #linux-amlogic
01:01
jacobk has joined #linux-amlogic
01:23
luka177 has quit [Ping timeout: 244 seconds]
01:23
luka177 has joined #linux-amlogic
02:31
luka177 has quit [Ping timeout: 240 seconds]
02:36
luka177 has joined #linux-amlogic
03:12
camus1 has joined #linux-amlogic
03:13
camus has quit [Remote host closed the connection]
03:13
camus1 is now known as camus
03:51
hexdump0815 has quit [Ping timeout: 245 seconds]
03:53
hexdump0815 has joined #linux-amlogic
04:20
buzzmarshall has quit [Quit: Konversation terminated!]
05:09
naoki has joined #linux-amlogic
06:01
naoki has quit [Quit: naoki]
07:41
luka177 has quit [Ping timeout: 248 seconds]
07:49
f11f12 has joined #linux-amlogic
07:57
luka177 has joined #linux-amlogic
08:01
luka177 has quit [Ping timeout: 252 seconds]
08:08
luka177 has joined #linux-amlogic
08:13
luka177 has quit [Ping timeout: 248 seconds]
08:23
luka177 has joined #linux-amlogic
08:27
luka177 has quit [Ping timeout: 256 seconds]
08:29
JohnnyonFlame has quit [Read error: Connection reset by peer]
08:38
luka177 has joined #linux-amlogic
08:42
luka177 has quit [Ping timeout: 246 seconds]
08:47
chewitt has joined #linux-amlogic
08:55
luka177 has joined #linux-amlogic
09:01
f11f12 has quit [Quit: Leaving]
09:03
luka177 has quit [Ping timeout: 246 seconds]
09:11
luka177 has joined #linux-amlogic
09:15
luka177 has quit [Ping timeout: 248 seconds]
09:31
luka177 has joined #linux-amlogic
09:35
luka177 has quit [Ping timeout: 248 seconds]
09:41
luka177 has joined #linux-amlogic
09:46
luka177 has quit [Ping timeout: 246 seconds]
09:59
luka177 has joined #linux-amlogic
10:03
chewitt has quit [Quit: Zzz..]
10:03
chewitt has joined #linux-amlogic
10:03
luka177 has quit [Ping timeout: 246 seconds]
10:26
f_ has joined #linux-amlogic
10:26
<
f_ >
Hey all. Great news! Finally picked up the boards lvrp16 sent me!
10:27
<
f_ >
So far they look nice.
10:27
luka177 has joined #linux-amlogic
10:27
<
f_ >
Thank you lvrp16 !
10:28
<
lvrp16 >
f_: I hate USPS. So slow but glad you received it.
10:28
<
f_ >
Don't worry about it. I couldn't pick it up earlier anyway.
10:28
<
f_ >
I tested and confirmed the lafrite worked to an extent
10:29
<
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
10:30
<
lvrp16 >
A good way to test is to flash the eMMC and keep a good bootloader on SPI
10:30
<
lvrp16 >
You can always flip a switch and the board is bootable again.
10:32
luka177 has quit [Ping timeout: 248 seconds]
10:32
luka177 has joined #linux-amlogic
10:32
<
f_ >
I should try finding an adequate power supply though
10:33
<
f_ >
But I also think it's nice to have a USB-A to USB-A cable with the eMMC module
10:34
<
f_ >
means I don't have to hack around an USB-A to USB-C to USB-C to USB-A thing anymore :)
10:34
<
f_ >
(although that works fine)
10:39
<
f_ >
Ok, will test lepotato now
10:48
<
f_ >
It powers on and BL1 gets loaded, so should be good enough
10:51
<
f_ >
So I'll flash something to the eMMC
10:52
<
f_ >
Basically moved `GhidraQuirks` to `32Bit` after adding more clues leading to BL2 actually targetting AArch32
10:53
<
f_ >
So all gxl BL2 binaries compiled after ~2017-2018 will be 32-bit
10:53
<
f_ >
I found out that BL21 was also compiled for AArch32, so I guess that says a lot
10:54
<
f_ >
Why? No idea..maybe a quirk in the SoC Amlogic tried to mitigate...guess we'll never know.
11:02
luka177 has quit [Ping timeout: 260 seconds]
11:02
luka177 has joined #linux-amlogic
11:08
gabes2 has joined #linux-amlogic
11:26
luka177 has quit [Ping timeout: 248 seconds]
11:28
luka177 has joined #linux-amlogic
11:32
luka177 has quit [Ping timeout: 246 seconds]
11:35
luka177 has joined #linux-amlogic
11:35
<
f_ >
Ok so I'mm 99% sure 2019 gxl BL2 binaries target AArch32.
11:39
luka177 has quit [Ping timeout: 246 seconds]
12:00
<
f_ >
For now I'll...again...pause REing to instead port postmarketOS to these new boards!
12:01
<
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!
12:08
<
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.
12:08
<
f_ >
I'll update my notes about that shortly
12:52
luka177 has joined #linux-amlogic
12:54
chewitt has quit [Quit: Zzz..]
12:58
luka177 has quit [Ping timeout: 246 seconds]
13:02
Terry13732293409 has quit [Quit: Bye Bye]
13:02
Terry13732293409 has joined #linux-amlogic
13:14
luka177 has joined #linux-amlogic
13:18
luka177 has quit [Ping timeout: 245 seconds]
13:38
<
f_ >
lvrp16: aaaand it boots Armbian!
13:39
<
f_ >
via UART..will test HDMI now.
13:43
<
f_ >
Oh, and same issue as with my KII Pro lol
13:43
<
f_ >
can't power off
13:43
<
f_ >
After a while it should power off in that case.
13:44
<
f_ >
but yeah, good job!
13:45
<
f_ >
I'm starting to really enjoy using these
13:46
luka177 has joined #linux-amlogic
13:46
<
f_ >
Let me hook up an ethernet cable real quick
13:46
<
f_ >
test@lepotato:~$ ping vitali64.duckdns.org
13:46
<
f_ >
PING vitali64.duckdns.org (195.15.242.30): 56 data bytes
13:47
<
f_ >
(can't ping but that's normal)
13:58
<
f_ >
And as soon as I plug in a keyboard it bootloops :S
13:59
<
f_ >
gotta find a better power supply/cable then
14:00
<
f_ >
The power brick outputs 5V/2A so should work
14:00
<
f_ >
will switch cables then.
14:11
<
f_ >
Meh, as long as it boots to something...should be fine
14:11
<
f_ >
I can still talk over UART
14:11
<
f_ >
maybe will try another keyboard
14:12
<
f_ >
Ok so my wireless keyboard dongle works
14:27
ndufresne9 has joined #linux-amlogic
14:35
luka177 has quit [Ping timeout: 248 seconds]
14:36
luka177 has joined #linux-amlogic
14:41
<
f_ >
I just dumped lepotato's BL1 BTW.
14:42
<
f_ >
I should do the same for my gxbb board and prob. lafrite too...although I doubt they're different.
14:42
luka177 has quit [Ping timeout: 246 seconds]
14:43
luka177 has joined #linux-amlogic
14:45
<
f_ >
and at the same time I confirmed lepotato has that USB vulnerability...which is.....pointless lol
14:45
<
f_ >
I do love how easy it is to enter USB mode though.
14:51
luka177 has quit [Read error: Connection reset by peer]
14:51
luka177 has joined #linux-amlogic
14:55
ndufresne9 has joined #linux-amlogic
14:55
luka177 has quit [Ping timeout: 248 seconds]
15:09
luka177 has joined #linux-amlogic
15:13
luka177 has quit [Ping timeout: 248 seconds]
15:15
ndufresne9 has joined #linux-amlogic
15:27
luka177 has joined #linux-amlogic
15:31
luka177 has quit [Ping timeout: 246 seconds]
15:38
luka177 has joined #linux-amlogic
15:42
luka177 has quit [Ping timeout: 240 seconds]
15:50
<
lvrp16 >
wait BL1 is dumpable?
15:53
<
f_ >
Normally it isn't.
15:53
<
f_ >
But you can dump it by running very simple code as BL2 that dumps BL1
15:54
<
f_ >
or make use of amlogic-usbdl and run a payload that dumps BL1.
15:54
<
f_ >
^ I confirmed that works on lepotato.
15:54
luka177 has joined #linux-amlogic
15:54
<
f_ >
I fed that dump into Ghidra and it happens to be 64-bit!
15:56
<
minute >
how is the mainline situation with a311d2 btw? (sorry for the somewhat lazy question)
15:57
<
f_ >
IIRC someone is porting an A311D2 SBC to mainline..not sure how well A311D2 is supported though
15:57
Terry13732293409 has quit [Ping timeout: 256 seconds]
15:58
Terry13732293409 has joined #linux-amlogic
15:58
luka177 has quit [Ping timeout: 248 seconds]
15:59
<
minute >
f_: sinovoip have a cm4 formfactor a311d2 with 8gb ram, would be cool for us
16:06
<
f_ >
Sure, but I don't think mainline is ready for these yet..
16:06
<
minute >
ok, good to know :3
16:06
<
f_ >
Not sure though.
16:08
<
f_ >
lvrp16: If you want I can send you the dump
16:16
f_ has quit [Ping timeout: 248 seconds]
16:16
f__ has joined #linux-amlogic
16:22
f__ has quit [Remote host closed the connection]
16:24
f_ has joined #linux-amlogic
16:30
luka177 has joined #linux-amlogic
16:34
luka177 has quit [Ping timeout: 256 seconds]
16:37
luka177 has joined #linux-amlogic
16:42
luka177 has quit [Ping timeout: 246 seconds]
16:55
anessen974 has joined #linux-amlogic
16:56
anessen97 has quit [Ping timeout: 245 seconds]
16:56
anessen974 is now known as anessen97
16:59
luka177 has joined #linux-amlogic
17:03
luka177 has quit [Ping timeout: 248 seconds]
17:08
vagrantc has joined #linux-amlogic
17:12
luka177 has joined #linux-amlogic
17:17
luka177 has quit [Ping timeout: 246 seconds]
17:23
luka177 has joined #linux-amlogic
17:27
luka177 has quit [Ping timeout: 240 seconds]
17:38
luka177 has joined #linux-amlogic
17:43
luka177 has quit [Ping timeout: 246 seconds]
17:53
<
f_ >
lvrp16: I can also confirm that dumping BL1 from USB mode works on lafrite too.
17:54
luka177 has joined #linux-amlogic
17:58
luka177 has quit [Ping timeout: 245 seconds]
18:09
luka177 has joined #linux-amlogic
18:14
luka177 has quit [Ping timeout: 260 seconds]
18:28
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
18:29
luka177 has joined #linux-amlogic
18:33
luka177 has quit [Ping timeout: 258 seconds]
18:40
luka177 has joined #linux-amlogic
18:40
f_[xmpp] has joined #linux-amlogic
18:44
luka177 has quit [Ping timeout: 246 seconds]
18:46
<
f_ >
Nice to see you here!
18:47
<
f_ >
hey, weirdly enough I can't load anything on my S905 box while using the USB vulnerability
18:48
<
f_ >
The box just resets
18:57
<
f_ >
Nevermind it works.
18:57
hexdump0815 has quit [Ping timeout: 248 seconds]
18:59
hexdump0815 has joined #linux-amlogic
19:00
luka177 has joined #linux-amlogic
19:04
luka177 has quit [Ping timeout: 248 seconds]
19:17
luka177 has joined #linux-amlogic
19:24
luka177 has quit [Ping timeout: 245 seconds]
19:25
luka177 has joined #linux-amlogic
19:29
luka177 has quit [Ping timeout: 256 seconds]
19:39
luka177 has joined #linux-amlogic
19:43
luka177 has quit [Ping timeout: 246 seconds]
19:53
Danct12 has joined #linux-amlogic
19:55
luka177 has joined #linux-amlogic
19:59
luka177 has quit [Ping timeout: 256 seconds]
20:03
luka177 has joined #linux-amlogic
20:05
<
f_ >
Huh..not able to boot anything from USB
20:08
<
f_ >
Plugging into one port makes the board reset, and it doesn't seem to detech anything on the second port..
20:09
<
f_ >
It resets with `BUG at drivers/usb/host/xhci-ring.c:473/xhci_wait_for_event()!`, `BUG!`
20:10
<
f_ >
Doubt it's a power supply issue in this case
20:11
<
f_ >
I found a good cable and confirmed external wired keyboards worked on lepotato.
20:27
<
f_ >
I wanted to boot up something to run `flashrom` on
20:28
<
f_ >
(I'm used to `flashrom` when it comes to SPI flash)
20:30
f_ has quit [Quit: f_]
20:43
vagrantc has quit [Ping timeout: 246 seconds]
20:43
vagrantc has joined #linux-amlogic
21:03
luka177 has quit [Ping timeout: 248 seconds]
21:03
luka177 has joined #linux-amlogic
22:02
luka177 has quit [Ping timeout: 246 seconds]
22:03
luka177 has joined #linux-amlogic
23:03
luka177 has quit [Ping timeout: 260 seconds]
23:07
luka177 has joined #linux-amlogic
23:47
jacobk has quit [Ping timeout: 246 seconds]