View: 22125|Reply: 11

Alpine OS Legacy Kernel Builds - 3.4.x + mainline u-boot

[Copy link]

1

threads

6

posts

135

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
135
Published in 2016-5-11 12:10:30 | Show all floors |Read mode
Edited by atlury at 2016-6-16 18:31

Hello folks in here you can find the legacy builds for Alpine OS - Legacy Kernel

All Releases are now here
https://github.com/atlury/Alpine-Linux-Allwinner-H3-Distro/


updated to 3.4.112 with all patches (including backdoor patches)

How to burn: For mainline u-boot
(a) In linux blank the first 1MB of the card using the following (my sd-card is /dev/sda1
  • dd if=/dev/zero of=/dev/sda bs=1M count=1
(b) Now Assuming you have got the file u-boot-sunxi-with-spl.bin, it just has to be burned to sd card using the following command:
  • dd if=u-boot-sunxi-with-spl.bin of=/dev/sda bs=1024 seek=8
(c) Next Using fdisk, create a new primary partition on the card (so far there are no partitions, only uboot has been burned on the card)
(d) Set the starting sector of the card as 2048
(e) Now create vfat file system on the newly created partition by running mkfs.fat /dev/sda1
(f) Using fdisk, set the bootable flag of the partition
(g) copy all the files into the above vfat or fat32 partition (namely vmlinuz, modloop-sunxi, initramfs-sunxi-new, boot.scr and please include your board specific script.bin) and it should boot...your final directory should like

/apks/
/vmlinuz-3.4.111-sun8i
/modloop-sunxi
/initramfs-sunxi-new
/boot.scr

You can find apks folder from the Generic ARM image available @ http://www.alpinelinux.org/downloads/ Just extract it. Please dont forget to include your board specific script.bin.

Note: Please make sure you replace script.bin with your correct board script.bin

Instructions on build from scratch are here (I am the author). I will slowly expand this threads with new tutorials etc. I will also release new images over the next few weeks....
https://wiki.alpinelinux.org/wik ... _and_Other_ARM_SOCs



62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2016-5-12 17:19:52 | Show all floors
Thanks for your sharing, it is a great work!

1

threads

6

posts

135

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
135
 Author| Published in 2016-5-12 20:11:32 | Show all floors
Most welcome. I got two Orange pi Boards from loverpi (https://www.loverpi.com/) and I will building and updating them in the next few weeks with fresh releases.

1

threads

6

posts

135

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
135
 Author| Published in 2016-6-5 13:50:33 | Show all floors
Okie new release build...

7

threads

49

posts

944

credits

Senior member

Rank: 4

credits
944
Published in 2016-9-4 17:51:15 | Show all floors
Edited by geev03 at 2016-9-5 18:56

After experiencing Alpine (ARM) as 4MB  docker container , I am looking forward to exploring Alpine on Orange Pi-PC.
  1. i@raspberrypi:~ $ docker ps
  2. CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
  3. 4ab0e27f0ddb        1324905a5239        "/bin/sh"           2 hours ago         Up 2 hours                              silly_hugle
  4. pi@raspberrypi:~ $


Copy code

------------------------------------------
  1. / # apk update
  2. fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/armhf/APKINDEX.tar.gz
  3. fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/armhf/APKINDEX.tar.gz
  4. v3.4.3-9-g6e6de70 [http://dl-cdn.alpinelinux.org/alpine/v3.4/main]
  5. v3.4.2-11-g9b41a63 [http://dl-cdn.alpinelinux.org/alpine/v3.4/community]
  6. OK: 5872 distinct packages available
  7. / # apk upgrade
  8. OK: 4 MiB in 11 packages
Copy code

7

threads

49

posts

944

credits

Senior member

Rank: 4

credits
944
Published in 2016-9-4 18:14:07 | Show all floors

  1. / #  cat /proc/version
  2. Linux version 4.4.11-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #888 SMP Mon May 23 20:10:33 BST 2016
  3. / #

Copy code

1

threads

6

posts

135

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
135
 Author| Published in 2016-10-20 11:38:30 | Show all floors
Okie I waiting for Orange Pi support in mainline kernel for releasing a new 4.x Kernel Version of Alpine Linux.

0

threads

3

posts

20

credits

Novice

Rank: 1

credits
20
Published in 2018-7-23 17:24:29 | Show all floors
For the 3.8 version will there be a new manual?
In Wiki it is written but does not work (

1

threads

6

posts

135

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
135
 Author| Published in 2018-8-1 12:22:38 | Show all floors
I will write new manual soon wzor.

0

threads

3

posts

20

credits

Novice

Rank: 1

credits
20
Published in 2018-8-4 18:06:35 | Show all floors
atlury replied at 2018-8-1 12:22
I will write new manual soon wzor.

Excellent!!!
Will wait!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list