-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Dongshan-NezhaSTU boards(riscv 64d for aw-ol d1/d1s)
- Loading branch information
0 parents
commit 9298987
Showing
49 changed files
with
15,122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Auto Build AW-OL D1/D1S Buildroot system. | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-all: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
config: [nezha-d1_defconfig ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: buildroot-external-DongshanNezhaSTU | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
repository: 100askTeam/buildroot_aw-ol | ||
ref: master | ||
path: buildroot | ||
|
||
- name: Install buildroot dependencies | ||
run: sudo apt install debianutils sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc git mtools android-tools-mkbootimg | ||
|
||
- name: Configure Buildroot | ||
run: make -C buildroot BR2_EXTERNAL=../buildroot-external-DongshanNezhaSTU O=../output ${{ matrix.config }} | ||
|
||
- name: Build Buildroot | ||
run: make -C buildroot BR2_EXTERNAL=../buildroot-external-DongshanNezhaSTU O=../output | ||
|
||
- name: Build toolchain | ||
run: make -C buildroot BR2_EXTERNAL=../buildroot-external-DongshanNezhaSTU O=../output sdk | ||
|
||
- name: Compress sdcard.img | ||
run: gzip -9 output/images/sdcard.img | ||
|
||
- run: tar -czvf ${{ matrix.config }}.tar.gz output/images/* | ||
|
||
- name: Store images | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ matrix.config }} | ||
path: ${{ matrix.config }}.tar.gz | ||
|
||
- run: ls -la | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
${{ matrix.config }}.tar.gz | ||
- run: ls -la | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source "$BR2_EXTERNAL_D1_PATH/package/lvgl-desktop/Config.in" | ||
source "$BR2_EXTERNAL_D1_PATH/package/myir-hmi-gui/Config.in" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
;item=Item_TOC_name, Item_filename, | ||
;item=scp, scp.fex | ||
item=opensbi, fw_jump.bin | ||
item=u-boot, u-boot-sun20iw1p1.bin | ||
item=dtb, board.dtb | ||
;item=logo, bootlogo.bmp.lzma | ||
;item=shutdowncharge, bempty.bmp.lzma | ||
;item=androidcharge, battery_charge.bmp.lzma |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#kernel command arguments | ||
console=ttyS0,115200 | ||
root_partition=rootfs | ||
boot_partition=boot | ||
keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 | ||
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this | ||
bootargs=earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 init=/sbin/init partitions=ext4 cma=8M gpt=1 | ||
#uboot system env config | ||
bootdelay=1 | ||
kernel=boot.img | ||
mmc_boot_part=3 | ||
mmc_dev=0 | ||
boot_check=sunxi_card0_probe;mmcinfo;mmc part | ||
boot_mmc=fatload mmc ${mmc_dev}:${mmc_boot_part} 45000000 ${kernel}; bootm 45000000 | ||
bootcmd=run boot_check boot_mmc |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ramdisk.img |
Oops, something went wrong.