La Frite, boot in NON-headless mode
Is there anyone out there who managed to get the La Frite running in NON-headless mode?
I have tried for somewhat like 6 days with every possible booting method/device, I even set up a TFTP server. But no matter what, it always crashes mostly BTRFS errors, but also inaccessible keyboard at boot, boot loops with keyboard USB keys inserted.
I managed to get a headless image running (but don't even remember which one it was). Or at least I could SSH into it.
HELP?
Comments
If they say XFCE | LXDE | MATE those are all GUI (non-headless) images available to boot from the USB port on the right.
[sudo] password for libre:
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0325175 s, 32.2 MB/s
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xc3c17c7c.
Command (m for help): Created a new DOS disklabel with disk identifier 0xc4210b21.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-15269887, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-15269887, default 15269887):
Created a new partition 1 of type 'Linux' and of size 255 MiB.
Command (m for help): Selected partition 1
The bootable flag on partition 1 is enabled now.
Command (m for help): Selected partition 1
Hex code (type L to list all codes): Changed type of partition 'Linux' to 'EFI (FAT-12/16/32)'.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (524288-15269887, default 524288): Last sector, +sectors or +size{K,M,G,T,P} (524288-15269887, default 15269887):
Created a new partition 2 of type 'Linux' and of size 7 GiB.
Command (m for help): Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc4210b21
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 524287 522240 255M ef EFI (FAT-12/16/32)
/dev/mmcblk0p2 524288 15269887 14745600 7G 83 Linux
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
mkfs.fat 4.1 (2017-01-24)
btrfs-progs v4.15.1
See http://btrfs.wiki.kernel.org for more information.
Detected a SSD, turning off metadata duplication. Mkfs with -m dup if you want to force metadata duplication.
Label: SYSTEM
UUID: 9a4cf0b4-60a5-49e9-b19b-12a695adaedf
Node size: 16384
Sector size: 4096
Filesystem size: 7.03GiB
Block group profiles:
Data: single 8.00MiB
Metadata: single 8.00MiB
System: single 4.00MiB
SSD detected: yes
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 7.03GiB /dev/mmcblk0p2
At subvol /tmp/tmp.qy5J1N5qlE/@lc-ubuntu-18.04-mate
At subvol @lc-ubuntu-18.04-mate
3.41GiB [14.5MiB/s] [=====================================================] 105%
Create a snapshot of '/tmp/tmp.SmDwqkD8oA/@lc-ubuntu-18.04-mate' in '/tmp/tmp.SmDwqkD8oA/@'
/usr/sbin/grub-install
Installing for arm64-efi platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.57+
Found initrd image: /boot/initrd.img-4.19.57+
done
DEVICE /dev/mmcblk0 READY!
libre@libre-computer:~$
libre-computer-aml-s805x-ac-ubuntu-bionic-mate-mali-4.19.57+-2019-07-05
libre-computer-aml-s805x-ac-debian-stretch-lxde-mali-4.19.57+-2019-07-05
libre-computer-aml-s805x-ac-debian-stretch-xfce-mali-4.19.57+-2019-07-05
libre-computer-aml-s805x-ac-ubuntu-bionic-headless-mali-4.19.57+-2019-07-05
Tried these media:
32 Gb cheap USB 3.0 disk (on which I ran a full analysis the first time I encountered the BTRFS errors. Test completed no errors)
4 Gb Toshiba USB drive
64 Gb SanDisk Cruzer Extreme
Cheap 4Gb sandisk SD card
8 Gb SanDisk Extreme SD card with Sandisk adaptor
4 Gb SanDisk Ultra microSD card with Sandisk adaptor
128 Gb Samsung EVO Plus U3 microSD with Samsung adaptor
Tried these methods:
Burned with Balena with verification
Burned with Win32DiskImager
Booting through TFTP (Solarwinds free TFTPserver)
Tried these USB ports:
Left and right USB port.
When a keyboard dongle is in the left port, the system bootloops, no matter what image is on the disk
I have been on this for days on end, reformatting the drives and memory cards every single time. I only succeeded once to get a headless with SSH login.
I can give you a link to the video I took while it was booting (with and without USB keyboard/dongle keyboard).
Successfully managed to transfer the system to EMMC, however, once it went into standby mode, I couldn't revive it.
Point is, that when returning after one hour, the GUI had disappeared, there was a time tagged error, and it was dead.
So up to now, I have NOT succeeded in running anything at all.
BTW: how do we get into Uboot mode when an image is already flashed into the eMMC? I wanted to try other images, but I can't get them to boot from USB anymore (even though it recognizes the partitions). Pressing ESC on the keyboard does not work as the keyboard can only be inserted (activated) once the OS has loaded. Meaning that I am currently stuck with a working Debian XFCE which I cannot let go to "sleep" because it crashes if I do not use it.
The only thing I now have, is a Debian XFCE image flashed eMMC which I can't reflash because I can't get into Uboot.
Kind of a paperweight currently.
I have tested about 8 keyboards, both direct USB ones and dongle based ones., and on both USB ports, left and right. None react before the system boots to the OS that is installed to eMMC. After booting to Debian, I can use the keyboard, but NOT before.
Thx DaveP.
Trying tomorrow.