Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2742|Reply: 6

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

[Copy link]

1

Threads

5

Posts

91

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
91
Post time 2016-5-11 12:10:30 | Show all posts |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



26

Threads

317

Posts

1968

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
1968
Post time 2016-5-12 17:19:52 | Show all posts
Thanks for your sharing, it is a great work!

1

Threads

5

Posts

91

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
91
 Author| Post time 2016-5-12 20:11:32 | Show all posts
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

5

Posts

91

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
91
 Author| Post time 2016-6-5 13:50:33 | Show all posts
Okie new release build...

3

Threads

40

Posts

752

Credits

Senior member

Rank: 4

Credits
752
Post time 2016-9-4 17:51:15 | Show all posts
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 the 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 the Code

3

Threads

40

Posts

752

Credits

Senior member

Rank: 4

Credits
752
Post time 2016-9-4 18:14:07 | Show all posts

  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 the Code

1

Threads

5

Posts

91

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
91
 Author| Post time 2016-10-20 11:38:30 | Show all posts
Okie I waiting for Orange Pi support in mainline kernel for releasing a new 4.x Kernel Version of Alpine Linux.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2017-9-20 13:35 GMT+8 , Processed in 0.033639 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list