<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sagaracharya</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sagaracharya"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Sagaracharya"/>
	<updated>2026-05-10T11:19:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=A20_OLinuXino_Lime2&amp;diff=23684</id>
		<title>A20 OLinuXino Lime2</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=A20_OLinuXino_Lime2&amp;diff=23684"/>
		<updated>2023-06-20T18:29:44Z</updated>

		<summary type="html">&lt;p&gt;Sagaracharya: Added option for a trustworthy NetBSD&amp;#039;s u-boot bin&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation ==&lt;br /&gt;
Everything except U-boot is already present in the Generic ARM tarball on the download page.&lt;br /&gt;
&lt;br /&gt;
=== Compile U-boot ===&lt;br /&gt;
Download the latest stable tag from the u-boot repository&lt;br /&gt;
&lt;br /&gt;
  git clone --depth 1 --branch v2023.04 git://git.denx.de/u-boot.git&lt;br /&gt;
&lt;br /&gt;
then configure and compile u-boot&lt;br /&gt;
&lt;br /&gt;
  make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Lime2_defconfig&lt;br /&gt;
  make CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
&lt;br /&gt;
This should output a combined SPL file with u-boot called &amp;lt;code&amp;gt;u-boot-sunxi-with-spl.bin&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== (OR) Using U-boot from NetBSD ===&lt;br /&gt;
[https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/u-boot-a20-olinuxino-lime2/index.html NetBSD u-boot] may also be used to complete the steps below. After extracting latest tarball, /share/u-boot/ directory contains &amp;lt;code&amp;gt;u-boot-sunxi-with-spl.bin&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Prepare an SD Card ===&lt;br /&gt;
Firstly, erase the first part of your SD Card  including the partition table). &lt;br /&gt;
&lt;br /&gt;
  dd if=/dev/zero of=${card} bs=1M count=1&lt;br /&gt;
&lt;br /&gt;
Secondly, create a DOS partition table and add a primary partition to your card. &lt;br /&gt;
&lt;br /&gt;
  fdisk /dev/sdX&lt;br /&gt;
&lt;br /&gt;
Start the partition at sector 2048, change its type to W95 FAT32, and set its bootable flag.&lt;br /&gt;
 &lt;br /&gt;
Finally, create a FAT filesystem on the new partition. &lt;br /&gt;
&lt;br /&gt;
  mkfs.fat /dev/sdX1&lt;br /&gt;
&lt;br /&gt;
=== Copy Data to the SD Card ===&lt;br /&gt;
Copy SPL with u-boot to the SD Card offset by 8KB (specific to Sunxi). &lt;br /&gt;
&lt;br /&gt;
  dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8&lt;br /&gt;
&lt;br /&gt;
Mount the partition and extract files from the Generic ARM tarball onto it. &lt;br /&gt;
&lt;br /&gt;
  ├── alpine.apkovl.tar.gz&lt;br /&gt;
  ├── apks&lt;br /&gt;
  │   └── armv7&lt;br /&gt;
  │       ├── alpine-base-3.17.2-r0.apk&lt;br /&gt;
  │       ├── ...&lt;br /&gt;
  │       └── zlib-1.2.13-r0.apk&lt;br /&gt;
  ├── boot&lt;br /&gt;
  │   ├── dtbs-lts&lt;br /&gt;
  │   │   └── sun7i-a20-olinuxino-lime2.dtb&lt;br /&gt;
  │   ├── initramfs-lts&lt;br /&gt;
  │   ├── modloop-lts&lt;br /&gt;
  │   ├── System.map-lts&lt;br /&gt;
  │   └── vmlinuz-lts&lt;br /&gt;
  └── extlinux&lt;br /&gt;
      └── extlinux.conf&lt;br /&gt;
&lt;br /&gt;
=== After Installation ===&lt;br /&gt;
The default login is &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;, HDMI should work out-of-the-box, ethernet is off by default. Use &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; to complete the remaining configuration. The Installation page should guide you from here.&lt;/div&gt;</summary>
		<author><name>Sagaracharya</name></author>
	</entry>
</feed>