00:03
luka177 has quit [Ping timeout: 246 seconds]
00:07
luka177 has joined #linux-amlogic
00:08
shoragan has quit [Quit: quit]
00:10
shoragan has joined #linux-amlogic
00:23
shoragan has quit [Read error: Connection reset by peer]
00:23
montjoie has quit [Ping timeout: 250 seconds]
00:25
montjoie has joined #linux-amlogic
00:26
shoragan has joined #linux-amlogic
00:46
vagrantc has quit [Quit: leaving]
01:02
luka177 has quit [Ping timeout: 248 seconds]
01:07
luka177 has joined #linux-amlogic
02:02
luka177 has quit [Ping timeout: 248 seconds]
02:03
luka177 has joined #linux-amlogic
02:53
<
lvrp16 >
f_[xmpp] do you have the
02:53
<
lvrp16 >
text version?
03:04
luka177 has quit [Ping timeout: 256 seconds]
03:11
luka177 has joined #linux-amlogic
03:22
hexdump0815 has quit [Ping timeout: 245 seconds]
03:24
hexdump0815 has joined #linux-amlogic
04:04
luka177 has quit [Ping timeout: 246 seconds]
04:11
luka177 has joined #linux-amlogic
04:35
Daanct12 has joined #linux-amlogic
05:03
luka177 has quit [Ping timeout: 246 seconds]
05:05
GNUtoo has quit [*.net *.split]
05:09
luka177 has joined #linux-amlogic
05:11
GNUtoo has joined #linux-amlogic
05:40
chewitt has joined #linux-amlogic
05:40
Daanct12 has quit [Quit: WeeChat 4.0.2]
05:46
Daanct12 has joined #linux-amlogic
05:49
luka177 has quit [Ping timeout: 248 seconds]
07:03
chewitt has quit [Quit: Zzz..]
09:44
f_ has joined #linux-amlogic
09:52
<
f_ >
lvrp16: text version of what?
09:59
<
f_ >
May as well just reflash U-Boot from pyamlboot
09:59
<
f_ >
and see what happens.
10:00
<
f_ >
After all, this U-Boot is...very..old
10:28
<
f_ >
but just the fact this has SPI flash is very nice
10:32
<
f_ >
I flashed a newer U-Boot and still, the USB isn't detected
10:32
<
f_ >
This time it doesn't detect on either USB ports
10:32
<
f_ >
I at least have got a boot selection menu :)
10:34
<
f_ >
oh nice, a minimal linux from SPI?
10:35
* f_
is really starting to like these Libre Computer SBCs
10:35
<
f_ >
From there I should prob. be able to kexec, right?
10:39
<
f_ >
but at this point I don't even need to boot an OS from USB lol
10:40
<
f_ >
All I wanted was a minimal linux environment to fiddle around with and well.. :P
11:02
<
f_ >
I'm flashing Armbian because the SPI
*will* get completly wiped anyway and its contents replaced.
11:19
<
f_ >
USB problems once again? I can't read anything from the USB stick...
11:19
<
f_ >
oh nice, filesystem remounted but read-only....
11:19
<
f_ >
/mnt/boot # cat boot.cmd
11:19
<
f_ >
cat: read error: I/O error
11:21
<
f_ >
The USB device works fine on my computer...so what?
11:34
<
f_ >
Even worse when using the eMMC module...it crashes :c
11:34
<
f_ >
Not just a normal crash; a synchronous abort!
11:35
<
f_ >
Let me try to reflash the eMMC with the right image.
11:37
<
f_ >
(the eMMC has a lepotato armbian..hoped it would "work" but sadly ¯\_(ツ)_/¯)
11:37
<
f_ >
("work" as in at least boot)
11:38
<
lvrp16 >
Use official images, Armbian can be flaky.
11:38
<
f_ >
They're indeed flaky lol
11:39
<
lvrp16 >
Oh eMMC takes boot priority.
11:39
<
f_ >
at first my image worked on lepotato but as soon as I installed lxde it never booted to a shell.
11:39
<
lvrp16 >
If you have Le Potato bootloader, it will not work on La Frite.
11:40
<
f_ >
The thing is, it booted U-Boot from SPI it seems.
11:40
<
f_ >
and not from the eMMC
11:40
<
lvrp16 >
Armbian does a lot of modification to the boot chain via a custom boot.scr.
11:40
<
lvrp16 >
I have found it to be not very portable.
11:40
<
f_ >
May as well just port postmarketOS now
11:41
<
lvrp16 >
Yeah update the SPI via boot.libre.computer/ci/aml-s805x-ac-spiflash
11:41
<
lvrp16 >
Not sure which bootloader you received but that is the latest.
11:41
<
f_ >
I updated the SPI by using pyamlboot instead
11:41
<
lvrp16 >
We don't use pyamlboot to update the spi anymore. Just regular USB boot.
11:42
<
lvrp16 >
Pyamlboot is for rescue only now.
11:42
<
f_ >
I usually prefer using flashrom when it comes to SPI flash.
11:42
<
lvrp16 >
That file I linked earlier needs to go on a USB or SD card via a USB reader.
11:42
<
lvrp16 >
Usb boot you mean?
11:43
<
f_ >
There's a tool called `flashrom`
11:44
<
f_ >
About pmOS..I think I can get away with making one MR for both SBCs..given how similar they are.
11:45
<
f_ >
in the build system it's mostly copy, paste, adapt.
11:45
<
f_ >
(at least when it comes to Amlogic)
11:46
<
f_ >
All Amlogic devices in postmarketOS use the common `linux-postmarketos-amlogic` kernel package, which I maintain along with exkc
11:49
dliviu has quit [Ping timeout: 260 seconds]
12:00
dliviu has joined #linux-amlogic
12:08
<
f_ >
Ok. Will troubleshoot lafrite later. For now I'll try getting postmarketOS running on it.
12:08
<
f_ >
^^ should work very nicely
12:09
<
f_ >
s/very // cough* english
12:32
<
f_ >
Let's try building and installing.
12:50
<
f_ >
git branch: master, thelinuxmacbook:testing » pmbootstrap install --sdcard=/dev/sdb
12:50
<
f_ >
Moment of truth.
12:54
<
f_ >
(context: pmbootstrap is postmarketOS's bootstrap utility. You're supposed to run `pmbootstrap init` to pull some stuff, select your board manufacturer and codename, and then run `pmbootstrap install` to prepare a rootfs etc..., and optionally use `--sdcard=/dev/device` to then write the resulting image to an SD card or USB)
12:55
<
f_ >
lepotato will be in testing for now, just like every other Amlogic device supported. This means prebuilt images won't be available and it will be stuck on pmOS edge, so it won't be supported in stable releases.
12:56
<
f_ >
Edge is basically the master branch of pmOS.
12:56
<
f_ >
(should be fine though, edge is quite stable enough)
12:59
<
f_ >
Also one thing to note; postmarketOS uses mainline everything where possible, so that means mainline U-Boot, mainline linux, ...
12:59
<
f_ >
and the patches applied to linux in the amlogic kernel package merely only add new device trees which are slowly getting merged into mainline anyway
13:00
<
f_ >
(none affecting lepotato)
13:00
<
f_ >
Enough talking :)
13:03
Daanct12 has quit [Quit: WeeChat 4.0.2]
13:08
<
f_ >
pmbootstrap seems to like my lepotato when in UMS mode. It works.
13:08
<
f_ >
Wow installing to the eMMC was quick!
13:09
<
f_ >
Copying thr rootfs usually takes a while!
13:16
<
f_ >
I need to fixup U-Boot but booting U-Boot from USB and letting it boot pmOS via extlinux works!
13:22
<
f_ >
I'll then do some more testing and call it done.
13:22
camus has quit [Remote host closed the connection]
13:23
<
f_ >
Will send an MR to them and let them review.
13:38
<
f_ >
lvrp16: lepotato now boots postmarketOS!
13:51
<
f_ >
and weston works too.
14:00
<
f_ >
the SBC doesn't like the capture card though so I can't take any video of it booting :(
14:29
<
f_ >
Now I'll troubleshoot lafrite and create another port for it.
14:29
<
f_ >
I want to have one MR for both, given how similar they are.
14:30
<
f_ >
(copy-paste lepotato port and make slight modifications)
14:38
<
f_ >
Now for lafrite.....may as well wipe all of the SPI and build U-Boot myself.
14:53
<
f_ >
Have the exact same issue
14:53
<
f_ >
Guess Armbian is just that flaky.
14:54
* f_
transplants lepotato eMMC to lafrite.
15:01
<
f_ >
lepotato port also works on lafrite
15:02
<
f_ >
Of course, postmarketOS runs flawlessly on 512 MB of RAM :)
15:28
<
f_ >
But I still want to get USB to work..
15:29
<
f_ >
and even with that aml-s805x-ac-spiflash written to it it can't find it.
15:54
<
f_ >
I'll try another USB stick in that case..seems like my USB stick is the problem here
15:54
<
f_ >
problem as in, U-Boot doesn't like it.
15:55
<
f_ >
it's not from a 'name' brand anyway
15:57
<
f_ >
My SD card reader doesn't work either.
16:28
c0rnelius has quit [Ping timeout: 246 seconds]
17:23
cornelius has joined #linux-amlogic
18:02
jacobk has joined #linux-amlogic
18:21
jacobk has quit [Ping timeout: 248 seconds]
18:23
<
f_ >
lvrp16: postmarketOS now also runs on lafrite (from eMMC)
18:24
<
f_ >
I wiped the SPI flash for now.
18:24
<
f_ >
(so it runs the U-Boot image supplied by postmarketOS on the eMMC)
18:37
jacobk has joined #linux-amlogic
18:52
jacobk has quit [Ping timeout: 248 seconds]
19:28
jacobk has joined #linux-amlogic
20:28
vagrantc has joined #linux-amlogic
21:22
f_ has quit [Quit: zzz]
21:28
luka177 has joined #linux-amlogic
22:30
luka177 has quit [Ping timeout: 244 seconds]
22:30
luka177 has joined #linux-amlogic
23:30
luka177 has quit [Ping timeout: 248 seconds]
23:34
luka177 has joined #linux-amlogic