mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-15 11:21:29 +00:00
Adding OPi Zero2 legacy kernel support
One test device died while testing. Support is not complete. Initrd needs some adjustement to boot properly. First is OPi image, second is Armbian. Image Name: Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 23994376 Bytes = 22.9 MiB Load Address: 41000000 Entry Point: 41000000 Verifying Checksum ... OK Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 8469228 Bytes = 8.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Ramdisk to 497ec000, end 49fffaec ... OK reserving fdt memory region: addr=48000000 size=1000000 Starting kernel ... Image Name: Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 24125448 Bytes = 23 MiB Load Address: 41000000 Entry Point: 41000000 Verifying Checksum ... OK Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 6833691 Bytes = 6.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK No Linux ARM Ramdisk Image Ramdisk image is corrupt or invalid SCRIPT FAILED: continuing... No ethernet found.
This commit is contained in:
parent
2b1306443d
commit
805bf9b9c9
58 changed files with 33665 additions and 17 deletions
|
@ -1,9 +1,10 @@
|
|||
# Allwinner H616 quad core 512MB/1GB RAM SoC WiFi SPI USB-C
|
||||
BOARD_NAME="Orange Pi Zero2"
|
||||
BOARDFAMILY="sun50iw6"
|
||||
BOARDFAMILY="sun50iw9"
|
||||
BOOTCONFIG="orangepi_zero2_defconfig"
|
||||
MODULES_LEGACY="uwe5622_bsp_sdio sprdbt_tty sprdwl_ng"
|
||||
MODULES_BLACKLIST="lima"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
BUILD_DESKTOP="no"
|
||||
SERIALCON="ttyS0"
|
||||
KERNEL_TARGET="current,dev"
|
||||
KERNEL_TARGET="legacy,current,dev"
|
||||
|
|
5
config/bootenv/sun50iw9.txt
Normal file
5
config/bootenv/sun50iw9.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
verbosity=1
|
||||
console=both
|
||||
disp_mode=1080p60
|
||||
fb0_width=1280
|
||||
fb0_height=720
|
66
config/bootscripts/boot-sun50iw9.cmd
Normal file
66
config/bootscripts/boot-sun50iw9.cmd
Normal file
|
@ -0,0 +1,66 @@
|
|||
# DO NOT EDIT THIS FILE
|
||||
#
|
||||
# Please edit /boot/armbianEnv.txt to set supported parameters
|
||||
#
|
||||
|
||||
# default values
|
||||
setenv load_addr "0x45000000"
|
||||
setenv rootdev "/dev/mmcblk0p1"
|
||||
setenv verbosity "1"
|
||||
setenv rootfstype "ext4"
|
||||
setenv console "both"
|
||||
setenv docker_optimizations "off"
|
||||
setenv bootlogo "false"
|
||||
|
||||
# Print boot source
|
||||
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
|
||||
itest.b *0x10028 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
|
||||
itest.b *0x10028 == 0x03 && echo "U-boot loaded from SPI"
|
||||
|
||||
echo "Boot script loaded from ${devtype}"
|
||||
|
||||
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
|
||||
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
|
||||
env import -t ${load_addr} ${filesize}
|
||||
fi
|
||||
|
||||
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
|
||||
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
|
||||
if test "${bootlogo}" = "true"; then setenv consoleargs "bootsplash.bootfile=bootsplash.armbian ${consoleargs}"; fi
|
||||
|
||||
# get PARTUUID of first partition on SD/eMMC it was loaded from
|
||||
# mmc 0 is always mapped to device u-boot (2016.09+) was loaded from
|
||||
if test "${devtype}" = "mmc"; then part uuid mmc 0:1 partuuid; fi
|
||||
|
||||
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} disp_reserve=${disp_reserve} ${extraargs} ${extraboardargs}"
|
||||
|
||||
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory swapaccount=1"; fi
|
||||
|
||||
#load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
|
||||
#fdt addr -c ${fdt_addr_r}
|
||||
#fdt addr ${fdt_addr_r}
|
||||
#fdt resize 65536
|
||||
|
||||
fdt set disp boot_fb0 ${boot_fb0}
|
||||
fdt set disp boot_disp <${boot_disp}>
|
||||
fdt set disp boot_disp1 <${boot_disp1}>
|
||||
fdt set disp boot_disp2 <${boot_disp2}>
|
||||
fdt set disp tv_vdid <${tv_vdid}>
|
||||
|
||||
fdt set disp fb0_width <${fb0_width}>
|
||||
fdt set disp fb0_height <${fb0_height}>
|
||||
|
||||
for overlay_file in ${user_overlays}; do
|
||||
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
|
||||
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
|
||||
fdt apply ${load_addr} || setenv overlay_error "true"
|
||||
fi
|
||||
done
|
||||
|
||||
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
|
||||
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}uImage
|
||||
|
||||
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|
||||
|
||||
# Recompile with:
|
||||
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
|
4792
config/kernel/linux-sun50iw9-legacy.config
Normal file
4792
config/kernel/linux-sun50iw9-legacy.config
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,18 +5,3 @@ OVERLAY_PREFIX='sun50i-h6'
|
|||
[[ -z $CPUMAX ]] && CPUMAX=1810000
|
||||
GOVERNOR=ondemand
|
||||
ASOUND_STATE='asound.state.sun50iw2-dev'
|
||||
|
||||
if [[ $BOARD == orangepizero2 ]]; then
|
||||
|
||||
ATFSOURCE='https://github.com/apritzel/arm-trusted-firmware'
|
||||
ATFBRANCH='branch:h616-beta'
|
||||
|
||||
ATF_PLAT="sun50i_h616";
|
||||
ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin'
|
||||
|
||||
BOOTSOURCE='https://github.com/jernejsk/u-boot'
|
||||
BOOTBRANCH='branch:h616-v2'
|
||||
|
||||
[[ -z $CPUMAX ]] && CPUMAX=1512000
|
||||
|
||||
fi
|
||||
|
|
105
config/sources/families/sun50iw9.conf
Normal file
105
config/sources/families/sun50iw9.conf
Normal file
|
@ -0,0 +1,105 @@
|
|||
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
||||
|
||||
LINUXFAMILY=sun50iw9
|
||||
|
||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||
[[ -z $CPUMAX ]] && CPUMAX=1512000
|
||||
GOVERNOR=ondemand
|
||||
|
||||
case $BRANCH in
|
||||
|
||||
legacy)
|
||||
|
||||
KERNELSOURCE='https://github.com/orangepi-xunlong/linux-orangepi.git'
|
||||
KERNELBRANCH="branch:orange-pi-4.9-sun50iw9"
|
||||
KERNELPATCHDIR=${BOARDFAMILY}-${LINUXFAMILY}
|
||||
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
|
||||
BOOTBRANCH='branch:v2018.05-sun50iw9'
|
||||
BOOTPATCHDIR=u-boot-${LINUXFAMILY}
|
||||
UBOOT_TARGET_MAP=";;dts/${BOARD}-u-boot.dts boot0_sdcard.fex boot_package.fex u-boot.bin:u-boot.fex"
|
||||
UBOOT_COMPILER="arm-linux-gnueabi-"
|
||||
UBOOT_USE_GCC='> 6.0'
|
||||
BOOTENV_FILE=sun50iw9.txt
|
||||
BOOTSCRIPT='boot-sun50iw9.cmd:boot.cmd'
|
||||
PACK_UBOOT="yes"
|
||||
OFFSET=20
|
||||
ATFSOURCE=""
|
||||
ATF_COMPILE="no"
|
||||
INITRD_ARCH=arm
|
||||
|
||||
ASOUND_STATE='asound.state.sun50iw9-legacy'
|
||||
|
||||
write_uboot_platform()
|
||||
{
|
||||
dd if=$1/boot0_sdcard.fex of=$2 bs=8k seek=1 conv=fsync > /dev/null 2>&1
|
||||
dd if=$1/boot_package.fex of=$2 bs=8k seek=2050 conv=fsync > /dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
;;
|
||||
|
||||
current|dev)
|
||||
|
||||
ATFSOURCE='https://github.com/apritzel/arm-trusted-firmware'
|
||||
ATFBRANCH='branch:h616-beta'
|
||||
ATF_PLAT="sun50i_h616";
|
||||
ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin'
|
||||
BOOTSOURCE='https://github.com/jernejsk/u-boot'
|
||||
BOOTBRANCH='branch:h616-v2'
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
family_tweaks_s()
|
||||
{
|
||||
if [[ -f $SDCARD/lib/systemd/system/aw859a-bluetooth.service ]]; then
|
||||
|
||||
# install and enable Bluetooth
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install rfkill bluetooth bluez bluez-tools" >/dev/null 2>&1
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable aw859a-bluetooth.service >/dev/null 2>&1"
|
||||
fi
|
||||
|
||||
if [[ -f $SDCARD/lib/systemd/system/hdmi-audio.service ]]; then
|
||||
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable hdmi-audio.service >/dev/null 2>&1"
|
||||
fi
|
||||
}
|
||||
|
||||
family_tweaks_bsp()
|
||||
{
|
||||
|
||||
if [[ $BOARD == orangepizero2 && BRANCH == legacy ]]; then
|
||||
|
||||
install -m 755 $SRC/packages/blobs/bt/hciattach/hciattach_opi_$ARCH $destination/usr/bin/hciattach_opi
|
||||
cp $SRC/packages/bsp/sunxi/aw859a-bluetooth.service $destination/lib/systemd/system/
|
||||
|
||||
install -m 755 $SRC/packages/blobs/sunxi/h616/inithdmiaudio $destination/usr/bin/
|
||||
cp $SRC/packages/blobs/sunxi/h616/libtinyalsa.so $destination/usr/lib/
|
||||
cp $SRC/packages/bsp/sunxi/hdmi-audio.service $destination/lib/systemd/system/
|
||||
fi
|
||||
}
|
||||
|
||||
uboot_custom_postprocess()
|
||||
{
|
||||
|
||||
export PATH=$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/:$PATH
|
||||
cp ${SRC}/packages/pack-uboot/${BOARDFAMILY}/bin/* . -r
|
||||
cp sys_config/sys_config_${BOARD}.fex sys_config.fex
|
||||
cp u-boot.bin u-boot.fex
|
||||
|
||||
# make u-boot dtb
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/dtc -p 2048 -W no-unit_address_vs_reg -@ -O dtb -o ${BOARD}-u-boot.dtb -b 0 dts/${BOARD}-u-boot.dts
|
||||
|
||||
busybox unix2dos sys_config.fex
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/script sys_config.fex
|
||||
cp ${BOARD}-u-boot.dtb sunxi.fex
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_dtb sunxi.fex 4096
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_boot0 boot0_sdcard.fex sys_config.bin SDMMC_CARD
|
||||
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/update_uboot -no_merge u-boot.fex sys_config.bin
|
||||
update_uboot -no_merge u-boot.bin sys_config.bin
|
||||
#pack boot package
|
||||
|
||||
busybox unix2dos boot_package.cfg
|
||||
$SRC/packages/pack-uboot/${BOARDFAMILY}/tools/dragonsecboot -pack boot_package.cfg
|
||||
|
||||
}
|
621
packages/blobs/asound.state/asound.state.sun50iw9-legacy
Normal file
621
packages/blobs/asound.state/asound.state.sun50iw9-legacy
Normal file
|
@ -0,0 +1,621 @@
|
|||
state.audiocodec {
|
||||
control.1 {
|
||||
iface MIXER
|
||||
name 'codec hub mode'
|
||||
value hub_disable
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 null
|
||||
item.1 hub_disable
|
||||
item.2 hub_enable
|
||||
}
|
||||
}
|
||||
control.2 {
|
||||
iface MIXER
|
||||
name 'digital volume'
|
||||
value 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 63'
|
||||
dbmin -9999999
|
||||
dbmax 4121460
|
||||
dbvalue.0 -9999999
|
||||
}
|
||||
}
|
||||
control.3 {
|
||||
iface MIXER
|
||||
name 'LINEIN to output mixer gain control'
|
||||
value 3
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 0
|
||||
}
|
||||
}
|
||||
control.4 {
|
||||
iface MIXER
|
||||
name 'FMIN to output mixer gain control'
|
||||
value 4
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 150
|
||||
}
|
||||
}
|
||||
control.5 {
|
||||
iface MIXER
|
||||
name 'LINEOUT volume'
|
||||
value 31
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 31'
|
||||
dbmin -9999999
|
||||
dbmax 150
|
||||
dbvalue.0 150
|
||||
}
|
||||
}
|
||||
control.6 {
|
||||
iface MIXER
|
||||
name 'LINEOUT Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.7 {
|
||||
iface MIXER
|
||||
name 'Left Output Mixer DACL Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.8 {
|
||||
iface MIXER
|
||||
name 'Left Output Mixer DACR Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.9 {
|
||||
iface MIXER
|
||||
name 'Left Output Mixer FMINL Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.10 {
|
||||
iface MIXER
|
||||
name 'Left Output Mixer LINEINL Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.11 {
|
||||
iface MIXER
|
||||
name 'Right Output Mixer DACL Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.12 {
|
||||
iface MIXER
|
||||
name 'Right Output Mixer DACR Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.13 {
|
||||
iface MIXER
|
||||
name 'Right Output Mixer FMINR Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.14 {
|
||||
iface MIXER
|
||||
name 'Right Output Mixer LINEINR Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.15 {
|
||||
iface MIXER
|
||||
name 'Left LINEOUT Mux'
|
||||
value LOMixer
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 LOMixer
|
||||
item.1 LROMixer
|
||||
}
|
||||
}
|
||||
control.16 {
|
||||
iface MIXER
|
||||
name 'Right LINEOUT Mux'
|
||||
value ROMixer
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 ROMixer
|
||||
item.1 LROMixer
|
||||
}
|
||||
}
|
||||
}
|
||||
state.sndahub {
|
||||
control.1 {
|
||||
iface MIXER
|
||||
name 'ahub audio format Function'
|
||||
value null
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 null
|
||||
item.1 pcm
|
||||
item.2 AC3
|
||||
item.3 MPEG1
|
||||
item.4 MP3
|
||||
item.5 MPEG2
|
||||
item.6 AAC
|
||||
item.7 DTS
|
||||
item.8 ATRAC
|
||||
item.9 ONE_BIT_AUDIO
|
||||
item.10 DOLBY_DIGITAL_PLUS
|
||||
item.11 DTS_HD
|
||||
item.12 MAT
|
||||
item.13 WMAPRO
|
||||
}
|
||||
}
|
||||
control.2 {
|
||||
iface MIXER
|
||||
name 'I2S0IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.3 {
|
||||
iface MIXER
|
||||
name 'I2S0OUT Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.4 {
|
||||
iface MIXER
|
||||
name 'I2S1IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.5 {
|
||||
iface MIXER
|
||||
name 'I2S1OUT Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.6 {
|
||||
iface MIXER
|
||||
name 'I2S2IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.7 {
|
||||
iface MIXER
|
||||
name 'I2S2OUT Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.8 {
|
||||
iface MIXER
|
||||
name 'I2S3IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.9 {
|
||||
iface MIXER
|
||||
name 'I2S3OUT Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.10 {
|
||||
iface MIXER
|
||||
name 'DAM0IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.11 {
|
||||
iface MIXER
|
||||
name 'DAM1IN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.12 {
|
||||
iface MIXER
|
||||
name 'DAM0OUT Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.13 {
|
||||
iface MIXER
|
||||
name 'DAM1OUT Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.14 {
|
||||
iface MIXER
|
||||
name 'APBIF0 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.15 {
|
||||
iface MIXER
|
||||
name 'APBIF1 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.16 {
|
||||
iface MIXER
|
||||
name 'APBIF2 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.17 {
|
||||
iface MIXER
|
||||
name 'I2S0 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.18 {
|
||||
iface MIXER
|
||||
name 'I2S1 Src Select'
|
||||
value APBIF_TXDIF0
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.19 {
|
||||
iface MIXER
|
||||
name 'I2S2 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.20 {
|
||||
iface MIXER
|
||||
name 'I2S3 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.21 {
|
||||
iface MIXER
|
||||
name 'DAM0Chan0 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.22 {
|
||||
iface MIXER
|
||||
name 'DAM0Chan1 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.23 {
|
||||
iface MIXER
|
||||
name 'DAM0Chan2 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.24 {
|
||||
iface MIXER
|
||||
name 'DAM1Chan0 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.25 {
|
||||
iface MIXER
|
||||
name 'DAM1Chan1 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
control.26 {
|
||||
iface MIXER
|
||||
name 'DAM1Chan2 Src Select'
|
||||
value NONE
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 NONE
|
||||
item.1 APBIF_TXDIF0
|
||||
item.2 APBIF_TXDIF1
|
||||
item.3 APBIF_TXDIF2
|
||||
item.4 I2S0_TXDIF
|
||||
item.5 I2S1_TXDIF
|
||||
item.6 I2S2_TXDIF
|
||||
item.7 I2S3_TXDIF
|
||||
item.8 DAM0_TXDIF
|
||||
item.9 DAM1_TXDIF
|
||||
}
|
||||
}
|
||||
}
|
||||
state.sndhdmi {
|
||||
control.1 {
|
||||
iface MIXER
|
||||
name 'hdmi audio format Function'
|
||||
value pcm
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 null
|
||||
item.1 pcm
|
||||
item.2 AC3
|
||||
item.3 MPEG1
|
||||
item.4 MP3
|
||||
item.5 MPEG2
|
||||
item.6 AAC
|
||||
item.7 DTS
|
||||
item.8 ATRAC
|
||||
item.9 ONE_BIT_AUDIO
|
||||
item.10 DOLBY_DIGITAL_PLUS
|
||||
item.11 DTS_HD
|
||||
item.12 MAT
|
||||
item.13 WMAPRO
|
||||
}
|
||||
}
|
||||
}
|
||||
state.snddaudio2 {
|
||||
control {
|
||||
}
|
||||
}
|
BIN
packages/blobs/bt/brcm_patchram_plus/brcm_patchram_plus_arm64
Executable file
BIN
packages/blobs/bt/brcm_patchram_plus/brcm_patchram_plus_arm64
Executable file
Binary file not shown.
BIN
packages/blobs/bt/brcm_patchram_plus/brcm_patchram_plus_armhf
Executable file
BIN
packages/blobs/bt/brcm_patchram_plus/brcm_patchram_plus_armhf
Executable file
Binary file not shown.
BIN
packages/blobs/bt/hciattach/hciattach_opi_arm64
Executable file
BIN
packages/blobs/bt/hciattach/hciattach_opi_arm64
Executable file
Binary file not shown.
BIN
packages/blobs/bt/hciattach/rtk_hciattach_arm64
Executable file
BIN
packages/blobs/bt/hciattach/rtk_hciattach_arm64
Executable file
Binary file not shown.
15
packages/bsp/sunxi/ap6212-bluetooth.service
Normal file
15
packages/bsp/sunxi/ap6212-bluetooth.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Bluetooth AP6212
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/sbin/rfkill unblock all
|
||||
ExecStart=/usr/bin/brcm_patchram_plus -d --enable_hci --no2bytes --use_baudrate_for_downloade --tosleep 200000 --baudrate 1500000 --patchram /lib/firmware/ap6212/bcm43438a1.hcd /dev/ttyS1
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
14
packages/bsp/sunxi/ap6255-bluetooth.service
Normal file
14
packages/bsp/sunxi/ap6255-bluetooth.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Bluetooth AP6255
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/sbin/rfkill unblock all
|
||||
ExecStart=/usr/bin/brcm_patchram_plus -d --enable_hci --no2bytes --tosleep 200000 --baudrate 1500000 --patchram /lib/firmware/BCM4345C0.hcd /dev/ttyS1
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
12
packages/bsp/sunxi/ap6255-wifi.service
Normal file
12
packages/bsp/sunxi/ap6255-wifi.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=WIFI AP6255
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/sbin/modprobe bcmdhd firmware_path=/lib/firmware/fw_bcm43455c0_ag.bin nvram_path=/lib/firmware/nvram_ap6255.txt
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
15
packages/bsp/sunxi/ap6256-bluetooth.service
Normal file
15
packages/bsp/sunxi/ap6256-bluetooth.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Bluetooth AP6256
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/sbin/rfkill unblock all
|
||||
ExecStart=/usr/bin/brcm_patchram_plus -d --enable_hci --no2bytes --tosleep 200000 --baudrate 1500000 --patchram /lib/firmware/BCM4345C5.hcd /dev/ttyS1
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
12
packages/bsp/sunxi/ap6256-wifi.service
Normal file
12
packages/bsp/sunxi/ap6256-wifi.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=WIFI AP6256
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/sbin/modprobe bcmdhd firmware_path=/lib/firmware/fw_bcm43456c5_ag.bin nvram_path=/lib/firmware/nvram_ap6256.txt
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
14
packages/bsp/sunxi/aw859a-bluetooth.service
Normal file
14
packages/bsp/sunxi/aw859a-bluetooth.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Bluetooth AW859A
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/sbin/rfkill unblock all
|
||||
ExecStart=/usr/bin/hciattach_opi -n -s 1500000 /dev/ttyBT0 sprd
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
13
packages/bsp/sunxi/hdmi-audio.service
Normal file
13
packages/bsp/sunxi/hdmi-audio.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Init Hdmi Audio
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/inithdmiaudio /usr/share/sounds/alsa/Rear_Left.wav -D 2
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
15
packages/bsp/sunxi/rtl8723bs-bluetooth.service
Normal file
15
packages/bsp/sunxi/rtl8723bs-bluetooth.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Bluetooth RTL8723BS
|
||||
After=bluetooth.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/sbin/rfkill unblock all
|
||||
ExecStart=/usr/bin/rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=99
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
10
packages/bsp/sunxi/zeroplus2-bt.sh
Executable file
10
packages/bsp/sunxi/zeroplus2-bt.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
MAC=$(echo -n 1c:1b; dd bs=1 count=4 if=/dev/random 2>/dev/null | hexdump -v -e '/1 ":%02X"')
|
||||
|
||||
rfkill unblock all
|
||||
echo "0" > /sys/class/rfkill/rfkill0/state
|
||||
echo "1" > /sys/class/rfkill/rfkill0/state
|
||||
echo " " > /dev/ttyS1
|
||||
|
||||
brcm_patchram_plus --enable_hci --no2bytes --tosleep 200000 --use_baudrate_for_download --baudrate 115200 --bd_addr ${MAC} --patchram /lib/firmware/ap6212/bcm43438a1.hcd /dev/ttyS1 &
|
11
packages/pack-uboot/sun50iw6/bin/boot_package.cfg
Executable file
11
packages/pack-uboot/sun50iw6/bin/boot_package.cfg
Executable file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
;item=Item_TOC_name, Item_filename,
|
||||
item=u-boot, u-boot.fex
|
||||
item=parameter, parameter.fex
|
||||
item=monitor, monitor.fex
|
||||
item=scp, scp.fex
|
||||
item=soc-cfg, config.fex
|
||||
item=dtb, sunxi.fex
|
||||
;item=board-cfg, board.fex
|
||||
;item=board-fex, board_config.fex
|
||||
;item=esm-img, esm.fex
|
5199
packages/pack-uboot/sun50iw6/bin/dts/orangepi3-u-boot.dts
Normal file
5199
packages/pack-uboot/sun50iw6/bin/dts/orangepi3-u-boot.dts
Normal file
File diff suppressed because it is too large
Load diff
5105
packages/pack-uboot/sun50iw6/bin/dts/orangepilite2-u-boot.dts
Normal file
5105
packages/pack-uboot/sun50iw6/bin/dts/orangepilite2-u-boot.dts
Normal file
File diff suppressed because it is too large
Load diff
5187
packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts
Normal file
5187
packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts
Normal file
File diff suppressed because it is too large
Load diff
BIN
packages/pack-uboot/sun50iw6/bin/monitor.fex
Executable file
BIN
packages/pack-uboot/sun50iw6/bin/monitor.fex
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/bin/parameter.fex
Executable file
BIN
packages/pack-uboot/sun50iw6/bin/parameter.fex
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/bin/scp.fex
Executable file
BIN
packages/pack-uboot/sun50iw6/bin/scp.fex
Executable file
Binary file not shown.
1880
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepi3.fex
Executable file
1880
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepi3.fex
Executable file
File diff suppressed because it is too large
Load diff
1911
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepilite2.fex
Executable file
1911
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepilite2.fex
Executable file
File diff suppressed because it is too large
Load diff
1868
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex
Executable file
1868
packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex
Executable file
File diff suppressed because it is too large
Load diff
BIN
packages/pack-uboot/sun50iw6/tools/dragonsecboot
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/dragonsecboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/dtc
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/dtc
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/script
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/script
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/update_boot0
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/update_boot0
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/update_dtb
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/update_dtb
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/update_scp
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/update_scp
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/update_uboot
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/update_uboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw6/tools/update_uboot_fdt
Executable file
BIN
packages/pack-uboot/sun50iw6/tools/update_uboot_fdt
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/bin/boot0_sdcard.fex
Executable file
BIN
packages/pack-uboot/sun50iw9/bin/boot0_sdcard.fex
Executable file
Binary file not shown.
5
packages/pack-uboot/sun50iw9/bin/boot_package.cfg
Executable file
5
packages/pack-uboot/sun50iw9/bin/boot_package.cfg
Executable file
|
@ -0,0 +1,5 @@
|
|||
[package]
|
||||
item=u-boot, u-boot.fex
|
||||
item=monitor, monitor.fex
|
||||
item=dtbo, p1.dtbo
|
||||
item=dtb, sunxi.fex
|
5916
packages/pack-uboot/sun50iw9/bin/dts/orangepizero2-u-boot.dts
Normal file
5916
packages/pack-uboot/sun50iw9/bin/dts/orangepizero2-u-boot.dts
Normal file
File diff suppressed because it is too large
Load diff
BIN
packages/pack-uboot/sun50iw9/bin/monitor.fex
Executable file
BIN
packages/pack-uboot/sun50iw9/bin/monitor.fex
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/bin/p1.dtbo
Normal file
BIN
packages/pack-uboot/sun50iw9/bin/p1.dtbo
Normal file
Binary file not shown.
817
packages/pack-uboot/sun50iw9/bin/sys_config/sys_config_orangepizero2.fex
Executable file
817
packages/pack-uboot/sun50iw9/bin/sys_config/sys_config_orangepizero2.fex
Executable file
|
@ -0,0 +1,817 @@
|
|||
;sunxi platform application
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
|
||||
[product]
|
||||
version = "100"
|
||||
machine = "evb"
|
||||
|
||||
[platform]
|
||||
eraseflag = 1
|
||||
debug_mode = 3
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;[target] system bootup configuration
|
||||
;boot_clock = CPU boot frequency, Unit: MHz
|
||||
;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
|
||||
;advert_enable = 0-close advert logo 1-open advert logo (只有多核启动下有效)
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
boot_clock = 1008
|
||||
storage_type = -1
|
||||
advert_enable = 0
|
||||
burn_key = 1
|
||||
dragonboard_test= 0
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; system configuration
|
||||
; ?
|
||||
;dcdc2_vol ---set dcdc2 voltage,mV,500-1200,10mV/step
|
||||
; 1220-1540,20mV/step
|
||||
;aldo1_vol ---set aldo1 voltage,mV,500-3500,100mV/step
|
||||
;dldo1_vol ---set dldo1 voltage,mV,500-3500,100mV/step
|
||||
;----------------------------------------------------------------------------------
|
||||
[power_sply]
|
||||
dcdc2_vol = 1001000
|
||||
aldo1_vol = 1001800
|
||||
dldo1_vol = 1003300
|
||||
|
||||
[axp1530_power_sply]
|
||||
dcdc2_vol = 1001000
|
||||
aldo1_vol = 1001800
|
||||
dldo1_vol = 1003300
|
||||
|
||||
[axp806_power_sply]
|
||||
dcdce_vol = 1003300
|
||||
aldo1_vol = 1003300
|
||||
bldo1_vol = 1001800
|
||||
|
||||
[card_boot]
|
||||
logical_start = 40960
|
||||
sprite_gpio0 =
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; GPIO init on uboot
|
||||
;----------------------------------------------------------------------------------
|
||||
[boot_init_gpio]
|
||||
boot_init_gpio_used = 1
|
||||
gpio0 = port:PC12<1><default><default><1>
|
||||
gpio1 = port:PC13<1><default><default><0>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; ir_boot_recovery_used : 1: used this function 0: not used
|
||||
; ir_work_mode : 模式选择
|
||||
; 0: 刷机,
|
||||
; 1: 一键恢复(uboot阶段),
|
||||
; 2: 安卓recovery,
|
||||
; 3: 安卓恢复出厂设置.
|
||||
; 如果不设置,默认为安卓recovery .
|
||||
; ir_press_times : ir遥控器连续按几次才生效,如果不设置默认为按1次生效
|
||||
; ir_detect_time : ir遥控检测时间,单位:ms,如果不设置默认为3000ms
|
||||
; ir_key_no_duplicate : ir遥控按键是否可重复,0:可重复(默认),1:不可重复;
|
||||
; 不可重复表示一个按键无论被按下几次,都只算ir_press_times的一次;
|
||||
; 不可重复的应用场景为组合按键功能,如:交替按下'菜单键'和'音量-键'进入安卓recovery.
|
||||
; ir_recovery_key_code0 : ir check key code
|
||||
; ir_addr_code0 : ir key addr
|
||||
; you can increase ir support num, like:
|
||||
; ir_recovery_key_code1, or 2, 3, but limit to 16
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
[ir_boot_recovery]
|
||||
ir_boot_recovery_used = 1
|
||||
ir_work_mode = 1
|
||||
ir_press_times = 2
|
||||
ir_detect_time = 1
|
||||
ir_key_no_duplicate = 0
|
||||
ir_recovery_key_code0 = 0x11
|
||||
ir_addr_code0 = 0xfe01
|
||||
ir_recovery_key_code1 = 0x19
|
||||
ir_addr_code1 = 0xfe01
|
||||
ir_recovery_key_code2 = 0x4c
|
||||
ir_addr_code2 = 0xfe01
|
||||
ir_recovery_key_code3 = 0x00
|
||||
ir_addr_code3 = 0xfe01
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; recovery_key_used : 模块使能端, 1:开启,0:关闭
|
||||
; press_mode_enable : 长短按模式使能,1:开启,0:关闭
|
||||
; a)如果开启了该模式,则key_work_mode失效,short_press_mode和long_press_mode生>效,
|
||||
; recovery按键可以通过长按和短按来触发两种不同的模式;
|
||||
; b)如果关闭了该模式,则key_work_mode生效,recovery按键只能触发一种模式.
|
||||
; key_work_mode : 模式选择
|
||||
; 0: 刷机,
|
||||
; 1: 一键恢复(uboot阶段),
|
||||
; 2: 安卓recovery,
|
||||
; 3: 安卓恢复出厂设置.
|
||||
; 如果不设置,模式为安卓recovery.
|
||||
; short_press_mode : 长按触发的模式,选项同上.
|
||||
; long_press_mode : 短按触发的模式,选项同上.
|
||||
; key_press_time : 定义长按的时间,单位:毫秒.
|
||||
; recovery_key : 按键配置.
|
||||
;----------------------------------------------------------------------------------
|
||||
[key_boot_recovery]
|
||||
recovery_key_used = 1
|
||||
press_mode_enable = 0
|
||||
key_work_mode = 0
|
||||
short_press_mode = 0
|
||||
long_press_mode = 1
|
||||
key_press_time = 2000
|
||||
recovery_key =
|
||||
|
||||
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; if 1 == standby_mode, then support super standby;
|
||||
; else, support normal standby.
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
[pm_para]
|
||||
standby_mode = 1
|
||||
|
||||
[card0_boot_para]
|
||||
card_ctrl = 0
|
||||
card_high_speed = 1
|
||||
card_line = 4
|
||||
sdc_d1 = port:PF0<2><1><3><default>
|
||||
sdc_d0 = port:PF1<2><1><3><default>
|
||||
sdc_clk = port:PF2<2><1><3><default>
|
||||
sdc_cmd = port:PF3<2><1><3><default>
|
||||
sdc_d3 = port:PF4<2><1><3><default>
|
||||
sdc_d2 = port:PF5<2><1><3><default>
|
||||
;sdc_type = "tm1"
|
||||
|
||||
[card2_boot_para]
|
||||
card_ctrl = 2
|
||||
card_high_speed = 1
|
||||
card_line = 8
|
||||
sdc_clk = port:PC5<3><1><3><default>
|
||||
sdc_cmd = port:PC6<3><1><3><default>
|
||||
sdc_d0 = port:PC10<3><1><3><default>
|
||||
sdc_d1 = port:PC13<3><1><3><default>
|
||||
sdc_d2 = port:PC15<3><1><3><default>
|
||||
sdc_d3 = port:PC8<3><1><3><default>
|
||||
sdc_d4 = port:PC9<3><1><3><default>
|
||||
sdc_d5 = port:PC11<3><1><3><default>
|
||||
sdc_d6 = port:PC14<3><1><3><default>
|
||||
sdc_d7 = port:PC16<3><1><3><default>
|
||||
sdc_emmc_rst = port:PC1<3><1><3><default>
|
||||
sdc_ds = port:PC0<3><2><3><default>
|
||||
sdc_ex_dly_used = 2
|
||||
sdc_io_1v8 = 1
|
||||
;sdc_dis_host_caps = 0x100
|
||||
;sdc_type = "tm4"
|
||||
|
||||
[gpio_bias]
|
||||
pc_bias = 1800
|
||||
|
||||
[twi_para]
|
||||
twi_port = 0
|
||||
twi_scl = port:PH14<2><default><default><default>
|
||||
twi_sda = port:PH15<2><default><default><default>
|
||||
|
||||
[auto_print]
|
||||
auto_print_used = 1
|
||||
|
||||
[uart_para]
|
||||
uart_debug_port = 0
|
||||
uart_debug_tx = port:PH00<2><1><default><default>
|
||||
uart_debug_rx = port:PH01<2><1><default><default>
|
||||
|
||||
[jtag_para]
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PH9<3><default><default><default>
|
||||
jtag_ck = port:PH10<3><default><default><default>
|
||||
jtag_do = port:PH11<3><default><default><default>
|
||||
jtag_di = port:PH12<3><default><default><default>
|
||||
|
||||
[clock]
|
||||
pll4 = 300
|
||||
pll6 = 600
|
||||
pll8 = 360
|
||||
pll9 = 297
|
||||
pll10 = 264
|
||||
|
||||
;*****************************************************************************
|
||||
;
|
||||
;dram select configuration
|
||||
;
|
||||
;select_mode : dram模式选择, 0:不进行自动识别
|
||||
; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
|
||||
; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
|
||||
; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
|
||||
;gpadc_channel : 选择gpadc通道 有效值(0-3)
|
||||
;select_gpio1-4 : 选择gpio pin
|
||||
;*****************************************************************************
|
||||
|
||||
|
||||
[dram_select_para]
|
||||
select_mode = 0
|
||||
gpadc_channel = 1
|
||||
select_gpio0 =
|
||||
select_gpio1 =
|
||||
select_gpio2 =
|
||||
select_gpio3 =
|
||||
|
||||
;*****************************************************************************
|
||||
;sdram configuration
|
||||
;
|
||||
;*****************************************************************************
|
||||
[dram_para]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
|
||||
[dram_para1]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para2]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para3]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para4]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para5]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para6]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para7]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para8]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para9]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para10]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para11]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para12]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para13]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para14]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para15]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;os life cycle para configuration
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;uart configuration
|
||||
;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
|
||||
;----------------------------------------------------------------------------------
|
||||
[uart0]
|
||||
uart0_used = 1
|
||||
uart0_port = 0
|
||||
uart0_type = 2
|
||||
uart0_tx = port:PH00<2><1><default><default>
|
||||
uart0_rx = port:PH01<2><1><default><default>
|
||||
|
||||
[nand0_para]
|
||||
nand0_support_2ch = 0
|
||||
|
||||
nand0_used = 0
|
||||
nand0_we = port:PC00<2><0><1><default>
|
||||
nand0_ale = port:PC01<2><0><1><default>
|
||||
nand0_cle = port:PC02<2><0><1><default>
|
||||
nand0_ce0 = port:PC03<2><1><1><default>
|
||||
nand0_nre = port:PC04<2><0><1><default>
|
||||
nand0_rb0 = port:PC05<2><1><1><default>
|
||||
nand0_d0 = port:PC06<2><0><1><default>
|
||||
nand0_d1 = port:PC07<2><0><1><default>
|
||||
nand0_d2 = port:PC08<2><0><1><default>
|
||||
nand0_d3 = port:PC09<2><0><1><default>
|
||||
nand0_d4 = port:PC10<2><0><1><default>
|
||||
nand0_d5 = port:PC11<2><0><1><default>
|
||||
nand0_d6 = port:PC12<2><0><1><default>
|
||||
nand0_d7 = port:PC13<2><0><1><default>
|
||||
nand0_ndqs = port:PC14<2><0><1><default>
|
||||
nand0_ce1 = port:PC15<2><1><1><default>
|
||||
nand0_rb1 = port:PC16<2><1><1><default>
|
||||
|
||||
nand0_regulator1 = "vcc-nand"
|
||||
nand0_regulator2 = "none"
|
||||
nand0_cache_level = 0x55aaaa55
|
||||
nand0_flush_cache_num = 0x55aaaa55
|
||||
nand0_capacity_level = 0x55aaaa55
|
||||
nand0_id_number_ctl = 0x55aaaa55
|
||||
nand0_print_level = 0x55aaaa55
|
||||
nand0_p0 = 0x55aaaa55
|
||||
nand0_p1 = 0x55aaaa55
|
||||
nand0_p2 = 0x55aaaa55
|
||||
nand0_p3 = 0x55aaaa55
|
||||
|
||||
[secure]
|
||||
dram_region_mbytes = 80
|
||||
drm_region_mbytes = 0
|
||||
drm_region_start_mbytes = 0
|
BIN
packages/pack-uboot/sun50iw9/tools/dragonsecboot
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/dragonsecboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/dtc
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/dtc
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/genchecksum_uboot
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/genchecksum_uboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/merge_full_img
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/merge_full_img
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/merge_package
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/merge_package
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/merge_uboot
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/merge_uboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/script
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/script
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_boot0
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_boot0
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_boot1
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_boot1
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_dtb
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_dtb
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_scp
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_scp
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_uboot
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_uboot
Executable file
Binary file not shown.
BIN
packages/pack-uboot/sun50iw9/tools/update_uboot_fdt
Executable file
BIN
packages/pack-uboot/sun50iw9/tools/update_uboot_fdt
Executable file
Binary file not shown.
54
patch/u-boot/u-boot-sun50iw9/u-boot-sun50iw9-legacy.patch
Normal file
54
patch/u-boot/u-boot-sun50iw9/u-boot-sun50iw9-legacy.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
From b269596fba286cf7f3ca95bda9aab8042be782eb Mon Sep 17 00:00:00 2001
|
||||
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
Date: Mon, 8 Feb 2021 15:53:02 +0100
|
||||
Subject: [PATCH] Patching something
|
||||
|
||||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
---
|
||||
cmd/Kconfig | 2 +-
|
||||
drivers/video/sunxi/bootGUI/dev_manage.c | 2 +-
|
||||
drivers/video/sunxi/bootGUI/fb_con.c | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/cmd/Kconfig b/cmd/Kconfig
|
||||
index aaa14c2..cc88650 100644
|
||||
--- a/cmd/Kconfig
|
||||
+++ b/cmd/Kconfig
|
||||
@@ -48,7 +48,7 @@ config SYS_LONGHELP
|
||||
|
||||
config SYS_PROMPT
|
||||
string "Shell prompt"
|
||||
- default "orangepi# "
|
||||
+ default "armbian# "
|
||||
help
|
||||
This string is displayed in the command line to the left of the
|
||||
cursor.
|
||||
diff --git a/drivers/video/sunxi/bootGUI/dev_manage.c b/drivers/video/sunxi/bootGUI/dev_manage.c
|
||||
index 0da45a2..3684efa 100644
|
||||
--- a/drivers/video/sunxi/bootGUI/dev_manage.c
|
||||
+++ b/drivers/video/sunxi/bootGUI/dev_manage.c
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#define DISPLAY_PARTITION_NAME "Reserve0"
|
||||
//#define DISPLAY_RSL_FILENAME "/boot/disp_rsl.fex"
|
||||
-#define DISPLAY_RSL_FILENAME "/boot/orangepiEnv.txt"
|
||||
+#define DISPLAY_RSL_FILENAME "/boot/armbianEnv.txt"
|
||||
|
||||
|
||||
enum {
|
||||
diff --git a/drivers/video/sunxi/bootGUI/fb_con.c b/drivers/video/sunxi/bootGUI/fb_con.c
|
||||
index cd88840..4fff56c 100644
|
||||
--- a/drivers/video/sunxi/bootGUI/fb_con.c
|
||||
+++ b/drivers/video/sunxi/bootGUI/fb_con.c
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "video_hal.h"
|
||||
#include "video_misc_hal.h"
|
||||
|
||||
-#define DISPLAY_FB_FILENAME "/boot/orangepiEnv.txt"
|
||||
+#define DISPLAY_FB_FILENAME "/boot/armbianEnv.txt"
|
||||
|
||||
static framebuffer_t s_fb_list[FRAMEBUFFER_NUM];
|
||||
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
|
Loading…
Add table
Reference in a new issue