mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
Added instructions to get the sources with submodules
This commit is contained in:
parent
4c4f5b8001
commit
b176815d4d
@ -6,13 +6,25 @@ Intro
|
|||||||
This directory contains a buildroot-based external configuration for
|
This directory contains a buildroot-based external configuration for
|
||||||
building the FunKey.
|
building the FunKey.
|
||||||
|
|
||||||
|
How to get it
|
||||||
|
===============
|
||||||
|
|
||||||
|
Clone the FunKey OS repository and the required submodules from
|
||||||
|
BitBucket:
|
||||||
|
|
||||||
|
$ git clone --recurse-submodules git@bitbucket.org:keymu2/funkey-os.git <Funkey directory>
|
||||||
|
|
||||||
|
Then enter into the created directory:
|
||||||
|
|
||||||
|
$ cd <Funkey directory>
|
||||||
|
|
||||||
How to build it
|
How to build it
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Configure Buildroot
|
Configure Buildroot
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
There is only one FunKey defconfig files in Buildroot:
|
There is only one Funkey defconfig files in Buildroot:
|
||||||
|
|
||||||
$ ./fun funkey_defconfig
|
$ ./fun funkey_defconfig
|
||||||
|
|
||||||
@ -38,7 +50,6 @@ After building, you should obtain this tree:
|
|||||||
+-- boot.vfat
|
+-- boot.vfat
|
||||||
+-- rootfs.ext2
|
+-- rootfs.ext2
|
||||||
+-- rootfs.ext4 -> rootfs.ext2
|
+-- rootfs.ext4 -> rootfs.ext2
|
||||||
+-- rootfs.tar
|
|
||||||
+-- sdcard.img
|
+-- sdcard.img
|
||||||
+-- sun8i-v3s-funkey.dtb
|
+-- sun8i-v3s-funkey.dtb
|
||||||
+-- u-boot.bin
|
+-- u-boot.bin
|
||||||
@ -53,7 +64,7 @@ Once the build process is finished you will have an image called
|
|||||||
|
|
||||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||||
|
|
||||||
$ sudo dd if=<FunKey directory>/FunKey/output/images/sdcard.img of=/dev/sdX
|
$ sudo dd if=<Funkey directory>/FunKey/output/images/sdcard.img of=/dev/sdX
|
||||||
|
|
||||||
Alternatively, you can use the Etcher graphical tool to burn the image
|
Alternatively, you can use the Etcher graphical tool to burn the image
|
||||||
to the SD card safely and on any platform:
|
to the SD card safely and on any platform:
|
||||||
|
|||||||
12
README.md
12
README.md
@ -6,6 +6,18 @@ Intro
|
|||||||
This directory contains a buildroot-based external configuration for
|
This directory contains a buildroot-based external configuration for
|
||||||
building the FunKey.
|
building the FunKey.
|
||||||
|
|
||||||
|
How to get it
|
||||||
|
===============
|
||||||
|
|
||||||
|
Clone the FunKey OS repository and the required submodules from
|
||||||
|
BitBucket:
|
||||||
|
|
||||||
|
$ git clone --recurse-submodules git@bitbucket.org:keymu2/funkey-os.git <Funkey directory>
|
||||||
|
|
||||||
|
Then enter into the created directory:
|
||||||
|
|
||||||
|
$ cd <Funkey directory>
|
||||||
|
|
||||||
How to build it
|
How to build it
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user