Jump to content
giseleznev

i2s, i2c

Recommended Posts

Hi, team,

I want to connect tinker board 2 with dac PCM5102PW and also adc PCM1804DBR using i2s and i2c

Is i2s and i2c interface supported currently? Can i use alsa over i2s out of the box? Or should I install any overlays?
Thanks!

Edited by giseleznev

Share this post


Link to post
Share on other sites
On 4/26/2023 at 11:16 AM, tooz said:

hello @giseleznev

PCM5102PW and PCM1804DBR are not supported at the moment

Hi, I'm adding support of this chips. I want to use hifiberry.*c and other files as a reference, can't find them for tinker board 2, just see them in official repo for tinker board (not 2), believe they are different.
Please, could you send me all hifiberry*.c, iqaudio*.c, justboom*.c files from /sound/soc/rockchip/ for tinker board 2.

Thanks a lot !

Share this post


Link to post
Share on other sites
3 hours ago, tooz said:

hello @giseleznev

these can be found here, directory is /kernel/sound/soc/rockchip: 

 kernel/sound/soc/rockchip at linux4.19-rk3399-debian10 · TinkerBoard2/kernel · GitHub

Thanks a lot !


Where can I get instructions for kernel compiling ? It doesn't suit for tinker board 2 https://gist.github.com/TinkerTeam/6286550ce70d34f6b3d483cd803da786

analog of rk3288-tinker.dtb is missing

Share this post


Link to post
Share on other sites

hello @giseleznev

you need to set up the build enviornment first: 

  1. Install Docker environment

    • Uninstall old versions

      $ sudo apt-get remove docker docker-engine docker.io containerd runc
      
    • Install Docker Engine – Community

      $ sudo apt-get update
      $ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
      $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      $ sudo apt-key fingerprint 0EBFCD88
      $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
      $ sudo apt-get update
      $ sudo apt-get install docker-ce docker-ce-cli containerd.io
      $ sudo docker run hello-world
      

      Reference: https://docs.docker.com/engine/install/ubuntu/

    • Manage Docker as a non-root user

      $ sudo groupadd docker
      $ sudo usermod -aG docker $USER
      $ newgrp docker
      $ docker run hello-world
      

      Reference: https://docs.docker.com/engine/install/linux-postinstall/

  2. Code compiling

    • Go to the directory where you have downloaded the code base and execute the script. This will take a while to install the necessary packages on the host and build the Docker image.
      $ ./docker_builder/docker-builder-run.sh
      
      Once the above is done, you are in the shell of the newly started Docker container as the following.
      You can start to issue commands as usual.
      Successfully built 702bff5a9b3f
      Successfully tagged asus/tinker_2-linux-builder:latest
      Options to run docker: --privileged --rm -it --volume /DIRECTORY_PATH_TO_SOURCE:/source
      your_usernmae@292c696527f6:/source$
      
    • You can issue the following command to build all the images for Debian. All the images will be saved in the directory rockdev.
      $ ./build.sh
      
      It will generate a file which named sdboot.img and located at [source tree]/rockdev/sdboot.img
  3. Compiling u-boot/Kernel/Debian separately

    • u-boot
      $ ./build.sh uboot
      
       
      It will generate a file which named uboot.img and located at [source tree]/u-boot/uboot.img
    • Kernel
      $ ./build.sh kernel
      
      It will generate a file which named boot.img and located at [source tree]/kernel/boot.img
    • Debian
      $ ./build.sh debian
      
      It will generate a file which named linaro-rootfs.img and located at [source tree]/debian/linaro-rootfs.img

Share this post


Link to post
Share on other sites

@tooz
Synced lasted 4 hours, now ok. Got it, then did ./docker_builder/docker-builder-run.sh
Now I have a problem inside a docker after ./build.sh
Log attached. Please help!

============Start building kernel============
TARGET_ARCH          =arm64
TARGET_KERNEL_CONFIG =tinker_board_2_defconfig
TARGET_KERNEL_DTS    =rk3399-tinker_board_2
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
arch/arm64/configs/tinker_board_2_defconfig:205:warning: override: reassigning to symbol NETFILTER
arch/arm64/configs/tinker_board_2_defconfig:206:warning: override: reassigning to symbol IP_NF_MANGLE
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  AR      init/built-in.a
  GZIP    kernel/config_data.gz
make[2]: *** No rule to make target 'net/netfilter/xt_TCPMSS.o', needed by 'net/netfilter/built-in.a'.  Stop.
scripts/Makefile.build:637: recipe for target 'net/netfilter' failed
make[1]: *** [net/netfilter] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:1194: recipe for target 'net' failed
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 674:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS

 

Share this post


Link to post
Share on other sites

hello @giseleznev

9 hours ago, giseleznev said:

make[2]: *** No rule to make target 'net/netfilter/xt_TCPMSS.o', needed by 'net/netfilter/built-in.a'. Stop. scripts/Makefile.build:637: recipe for target 'net/netfilter' failed

the cause might be the build enviornment, the filesystem you're compiling kernel on has to be case-sensitive (such as ubuntu), if you're using mac os for compiling it's likely to fail. what is your build enviornment? 

reference:  https://lkml.org/lkml/2020/5/6/1301

 

Share this post


Link to post
Share on other sites

@tooz

Thanks a lot! Really worked for me, but now I'm getting a new error:
It's true, there no mk-base-debian.sh in a debian_new dir

Running build_modules succeeded.
Skipping build_toolchain for missing configs:  RK_CFG_TOOLCHAIN.
=========Start building debian for arm64=========
./build.sh: line 829: ./mk-base-debian.sh: No such file or directory
ERROR: Running build_debian failed!
ERROR: exit code 127 from line 829:
    RELEASE=$RK_DEBIAN_VERSION TARGET=desktop ARCH=$ARCH ./mk-base-debian.sh

 

Edited by giseleznev

Share this post


Link to post
Share on other sites

hello @giseleznev

2 hours ago, giseleznev said:

Running build_modules succeeded. Skipping build_toolchain for missing configs: RK_CFG_TOOLCHAIN. =========Start building debian for arm64========= ./build.sh: line 829: ./mk-base-debian.sh: No such file or directory

these are included in the sources: TinkerBoard2/debian (github.com) please be sure to download them too

Share this post


Link to post
Share on other sites

hello @giseleznev

On 5/16/2023 at 5:38 PM, giseleznev said:

mk-base-debian.sh

should be there once you

repo sync

if you're not using docker, run

./build.sh

if you're using docker then

./docker_builder/docker-builder-run.sh

build.sh

 

Share this post


Link to post
Share on other sites

@tooz

 

coder@mod4:~/Projects/tinker_2$ python3 /usr/bin/repo sync
warning: Python 3 support is currently experimental. YMMV.
Please use Python 2.6 - 2.7 instead.

... A new version of repo (2.32) is available.
... New version is available at: /home/coder/Projects/tinker_2/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Fetching: 100% (55/55), done in 1m53.075s
repo sync has finished successfully.
coder@mod4:~/Projects/tinker_2$ ./docker_builder/docker-builder-run.sh
Docker is installed and the execute permission is granted.
User coder is in the group docker.
The package qemu-user-static is installed.
The package binfmt-support is installed.
There is no directory path to the source provided.
Use the default directory path to the source [/home/coder/Projects/tinker_2].
Sending build context to Docker daemon  703.5kB
Step 1/24 : FROM ubuntu:18.04
 ---> 3941d3b032a8
Step 2/24 : ARG DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 87dc09c519f1
Step 3/24 : ARG userid
 ---> Using cache
 ---> c252a5fc6017
Step 4/24 : ARG groupid
 ---> Using cache
 ---> f13d24d94dbc
Step 5/24 : ARG username
 ---> Using cache
 ---> 6dcdfb098a80
Step 6/24 : COPY packages /packages
 ---> Using cache
 ---> 7700bfeba439
Step 7/24 : COPY device-tree-compiler_1.4.7-4_amd64.deb .
 ---> Using cache
 ---> 694bb7ddb575
Step 8/24 : RUN apt-get update
 ---> Using cache
 ---> 996afe4c0b92
Step 9/24 : RUN apt-get install -y repo git ssh make gcc libssl-dev liblz4-tool expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib unzip device-tree-compiler python-pip ncurses-dev python-pyelftools
 ---> Using cache
 ---> 69dfbd1b9f1a
Step 10/24 : RUN apt-get update && apt-get install -y kmod expect patchelf
 ---> Using cache
 ---> 94fb903151db
Step 11/24 : RUN apt-get update && apt-get install -y zip mtools
 ---> Using cache
 ---> 3ac5a80f9d7d
Step 12/24 : RUN apt-get install -y binfmt-support qemu-user-static live-build
 ---> Using cache
 ---> 49e41b1a75b6
Step 13/24 : RUN apt-get install -y bc time rsync
 ---> Using cache
 ---> 9f60ffcef5e2
Step 14/24 : RUN apt-get install -y zstd
 ---> Using cache
 ---> da9c73706cf0
Step 15/24 : RUN apt-get update && apt-get install -y locales
 ---> Using cache
 ---> c475127e3538
Step 16/24 : RUN dpkg -i device-tree-compiler_1.4.7-4_amd64.deb
 ---> Using cache
 ---> 8f0cd55e4ec6
Step 17/24 : RUN dpkg -i /packages/* || apt-get install -f -y
 ---> Using cache
 ---> ec0c4d58f339
Step 18/24 : RUN rm device-tree-compiler_1.4.7-4_amd64.deb
 ---> Using cache
 ---> e50065a84a30
Step 19/24 : RUN locale-gen en_US.UTF-8
 ---> Using cache
 ---> 736747386d07
Step 20/24 : RUN groupadd -g $groupid $username &&     useradd -m -u $userid -g $groupid $username &&     echo "$username ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers &&     echo $username >/root/username
 ---> Using cache
 ---> 081c901cc447
Step 21/24 : ENV HOME=/home/$username
 ---> Using cache
 ---> 03a2ea164546
Step 22/24 : ENV USER=$username
 ---> Using cache
 ---> 5a8ed192fd95
Step 23/24 : WORKDIR /source
 ---> Using cache
 ---> 50d9bf27fb76
Step 24/24 : ENTRYPOINT chroot --skip-chdir --userspec=$(cat /root/username):$(cat /root/username) / /bin/bash -i
 ---> Using cache
 ---> e4c4537eb6ba
Successfully built e4c4537eb6ba
Successfully tagged asus/tinker_2-linux-builder:latest
Options to run docker: --privileged --rm -it --volume /home/coder/Projects/tinker_2:/source
coder@828f3ca52a6b:/source$ ./build.sh
VERSION: debug
VERSION_NUMBER: eng-coder-20230518
RELEASE_NAME: Tinker_Board_2-Debian-Buster-eng-coder-20230518
processing option: allsave
============================================
TARGET_ARCH=arm64
TARGET_PLATFORM=tinker_board_2
TARGET_UBOOT_CONFIG=tinker_board_2
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=tinker_board_2_defconfig
TARGET_KERNEL_DTS=rk3399-tinker_board_2
TARGET_TOOLCHAIN_CONFIG=
TARGET_BUILDROOT_CONFIG=rockchip_tinker_board_2
TARGET_RECOVERY_CONFIG=rockchip_rk3399_recovery
TARGET_PCBA_CONFIG=rockchip_rk3399_pcba
TARGET_RAMBOOT_CONFIG=
============================================
============Start building uboot============
TARGET_UBOOT_CONFIG=tinker_board_2
=========================================
## make tinker_board_2_defconfig -j8
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk.dep
  CFG     u-boot.cfg
  CFG     spl/u-boot.cfg
  CFG     tpl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  GEN     include/autoconf.mk
  GEN     tpl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/config.h
  CFG     u-boot.cfg
  UPD     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  UPD     include/generated/version_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/rockchip/boot_merger.o
  HOSTCC  tools/rockchip/loaderimage.o
  HOSTLD  tools/loaderimage
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/boot_merger
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      cmd/version.o
  CC      common/main.o
  LD      arch/arm/cpu/armv8/built-in.o
  LD      cmd/built-in.o
  LD      common/built-in.o
  CC      drivers/usb/gadget/f_fastboot.o
  CC      lib/smbios.o
  CC      lib/display_options.o
  LD      drivers/usb/gadget/built-in.o
  LD      lib/built-in.o
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
make[2]: 'arch/arm/dts/rk3399-evb.dtb' is up to date.
  COPY    u-boot.dtb
start=$(/source/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/source/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
  CAT     u-boot-dtb.bin
  CC      tpl/arch/arm/mach-rockchip/tpl.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  LD      spl/arch/arm/cpu/armv8/built-in.o
  CC      tpl/common/spl/spl.o
  LD      tpl/arch/arm/mach-rockchip/built-in.o
  CC      spl/common/spl/spl.o
  CC      tpl/arch/arm/cpu/armv8/fwcall.o
  MKIMAGE u-boot.img
  LD      tpl/arch/arm/cpu/armv8/built-in.o
  LD      tpl/common/spl/built-in.o
  LD      spl/common/spl/built-in.o
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
  ALIGN   u-boot.bin
  COPY    tpl/u-boot-tpl.dtb
  CC      tpl/lib/display_options.o
  CC      spl/lib/display_options.o
  COPY    spl/u-boot-spl.dtb
  LD      tpl/lib/built-in.o
  LD      spl/lib/built-in.o
  LD      tpl/u-boot-tpl
  LD      spl/u-boot-spl
  OBJCOPY tpl/u-boot-tpl-nodtb.bin
  CAT     tpl/u-boot-tpl-dtb.bin
  COPY    tpl/u-boot-tpl.bin
  OBJCOPY spl/u-boot-spl-nodtb.bin
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  CFGCHK  u-boot.cfg

 load addr is 0x200000!
pack input u-boot.bin 
pack file size: 1098664(1072 KB)
crc = 0xe5e79a4b
uboot version: U-Boot 2017.09-gc64e256218-200416 #yzc (Apr 29 2020 - 16:22:05)
pack uboot.img success! 
pack uboot okay! Input: u-boot.bin

out:trust.img
merge success(trust.img)
pack trust okay! Input: /source/rkbin/RKTRUST/RK3399TRUST.ini

/source/u-boot
********boot_merger ver 1.2********
Info:Pack loader ok.
pack loader okay! Input: /source/rkbin/RKBOOT/RK3399MINIALL.ini
/source/u-boot

Platform RK3399 is build OK, with new .config(make tinker_board_2_defconfig -j8)
/source/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
Thu May 18 08:46:11 UTC 2023
Running build_uboot succeeded.
Skipping build_loader for missing configs:  RK_LOADER_BUILD_TARGET.
============Start building kernel============
TARGET_ARCH          =arm64
TARGET_KERNEL_CONFIG =tinker_board_2_defconfig
TARGET_KERNEL_DTS    =rk3399-tinker_board_2
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
arch/arm64/configs/tinker_board_2_defconfig:205:warning: override: reassigning to symbol NETFILTER
arch/arm64/configs/tinker_board_2_defconfig:206:warning: override: reassigning to symbol IP_NF_MANGLE
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  GZIP    kernel/config_data.gz
  AR      init/built-in.a
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  AR      init/built-in.a
  AR      built-in.a
  MODPOST vmlinux.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm64/boot/Image
  LZ4C    arch/arm64/boot/Image.lz4
  Image:  kernel.img is ready
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 14 modules
is not rk356x
  Image:  resource.img (with rk3399-tinker_board_2.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready
 PLEASE CHECK BOARD GPIO POWER DOMAIN CONFIGURATION !!!!!
 <<< ESPECIALLY Wi-Fi/Flash/Ethernet IO power domain >>> !!!!!
 Check Node [pmu_io_domains] in the file: /source/kernel/arch/arm64/boot/dts/rockchip/rk3399-tinker_board_2.dts 

 请再次确认板级的电源域配置!!!!!!
 <<< 特别是Wi-Fi,FLASH,以太网这几路IO电源的配置 >>> !!!!!
 检查内核文件 /source/kernel/arch/arm64/boot/dts/rockchip/rk3399-tinker_board_2.dts 的节点 [pmu_io_domains] 


pmu1830-supply = < 0x83
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1500mV
regulator-max-microvolt =  1500mV
regulator-min-microvolt =  900mV
regulator-max-microvolt =  900mV
regulator-min-microvolt =  3000mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  12000mV
regulator-max-microvolt =  12000mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  3000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  800mV
regulator-max-microvolt =  1400mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV


bt656-supply = < 0x83
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1500mV
regulator-max-microvolt =  1500mV
regulator-min-microvolt =  900mV
regulator-max-microvolt =  900mV
regulator-min-microvolt =  3000mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  12000mV
regulator-max-microvolt =  12000mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  3000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  800mV
regulator-max-microvolt =  1400mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV


audio-supply = < 0x83
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1500mV
regulator-max-microvolt =  1500mV
regulator-min-microvolt =  900mV
regulator-max-microvolt =  900mV
regulator-min-microvolt =  3000mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  12000mV
regulator-max-microvolt =  12000mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  3000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  800mV
regulator-max-microvolt =  1400mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV


sdmmc-supply = < 0x30
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1500mV
regulator-max-microvolt =  1500mV
regulator-min-microvolt =  900mV
regulator-max-microvolt =  900mV
regulator-min-microvolt =  3000mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  12000mV
regulator-max-microvolt =  12000mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  3000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  800mV
regulator-max-microvolt =  1400mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV


gpio1830-supply = < 0x83
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  750mV
regulator-max-microvolt =  1350mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1500mV
regulator-max-microvolt =  1500mV
regulator-min-microvolt =  900mV
regulator-max-microvolt =  900mV
regulator-min-microvolt =  3000mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  12000mV
regulator-max-microvolt =  12000mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
regulator-max-microvolt =  3000mV
regulator-min-microvolt =  3000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  5000mV
regulator-max-microvolt =  5000mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  800mV
regulator-max-microvolt =  1400mV
regulator-min-microvolt =  3300mV
regulator-max-microvolt =  3300mV
regulator-min-microvolt =  1800mV
regulator-max-microvolt =  1800mV
Running build_kernel succeeded.
============Start building kernel modules============
TARGET_ARCH          =arm64
TARGET_KERNEL_CONFIG =tinker_board_2_defconfig
TARGET_KERNEL_CONFIG_FRAGMENT =
==================================================
arch/arm64/configs/tinker_board_2_defconfig:205:warning: override: reassigning to symbol NETFILTER
arch/arm64/configs/tinker_board_2_defconfig:206:warning: override: reassigning to symbol IP_NF_MANGLE
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 14 modules
  INSTALL drivers/bluetooth/rtk_btusb.ko
  INSTALL drivers/net/can/can-dev.ko
  INSTALL drivers/net/can/spi/mcp251x.ko
  INSTALL drivers/net/wireless/marvell/mwifiex/mwifiex.ko
  INSTALL drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
  INSTALL drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.ko
  INSTALL drivers/net/wireless/rockchip_wlan/rtl8812AU_8821AU_linux/8812au.ko
  INSTALL drivers/net/wireless/rockchip_wlan/rtl8814au/8814au.ko
  INSTALL drivers/net/wireless/rockchip_wlan/rtl8822ce/8822ce.ko
  INSTALL drivers/net/wireless/rockchip_wlan/rtl8852be/8852be.ko
  INSTALL net/can/can-bcm.ko
  INSTALL net/can/can-gw.ko
  INSTALL net/can/can-raw.ko
  INSTALL net/can/can.ko
  DEPMOD  4.19.232
Running build_modules succeeded.
Skipping build_toolchain for missing configs:  RK_CFG_TOOLCHAIN.
=========Start building debian for arm64=========
./build.sh: line 829: ./mk-base-debian.sh: No such file or directory
ERROR: Running build_debian failed!
ERROR: exit code 127 from line 829:
    RELEASE=$RK_DEBIAN_VERSION TARGET=desktop ARCH=$ARCH ./mk-base-debian.sh
coder@mod4:~/Projects/tinker_2$ find . -name mk-base-debian.sh
./debian/mk-base-debian.sh

there is no this file in the debian_new dir

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...