Apologies if this email is incorrectly formatted, I'm using webmail. Below
is the script I used to try and get the a10 olinuxino lime to work. It was
run from a debian-based machine. I could try retest, but I am
[non-literally] flooded at the moment. I may retest if I get the time.

#!/bin/sh
if ! [ -b "$1" ]; then
echo "Be careful ..."
echo "Run as root and enter the device block as the first argument, good
luck!"
exit 1
fi

##Install for creating boot.scr
apt-get install u-boot-tools

mkdir workingDir
cd workingDir

##Download the stuff
wget
https://www.parabola.nu/packages/libre/armv7h/uboot4extlinux-a10-olinuxino-lime/download/
wget
https://repomirror.parabola.nu/iso/systemd-cli-2018-02-06/parabola-systemd-cli-armv7h-tarball-2018-02-06.tar.gz
wget https://git.parabola.nu/abslibre.git/plain/libre/uboot-sunxi/boot.txt

##Fresh the sdcard
shred "$1"

##Do the stuff
tar -xf uboot4extlinux*
#we do this in two separate steps ... create the partition table ...
printf "o\nw\n" | fdisk --wipe always "$1"
#... and create the partition
printf "n\np\n1\n\n\nw\n" | fdisk --wipe always "$1"
mkfs.ext4 "${1}1"
mkdir mnt
mount "${1}1" mnt
tar -xf parabola-*-armv7h-*.tar.gz -C mnt
cp -a boot/extlinux mnt/boot/
cp -a boot/u-boot mnt/boot/
dd if=boot/u-boot/images/u-boot-sunxi-with-spl.bin of=${1} bs=1024 seek=8
cp -a boot.txt mnt/boot
sed -i "s#console=\${console}#console=ttyS0,115200 console=tty0
hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60#g"
mnt/boot/boot.txt
mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d
mnt/boot/boot.txt boot.scr
cp -a boot.scr mnt/boot
sync
umount mnt

On Mon, Feb 10, 2020 at 3:13 AM bill-auger <[email protected]>
wrote:

> FWIW, LXDE also has a GTK3 port - either version is in the
> parabola repos
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.parabola.nu/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to