kentAVR

  • Posts

    21
  • Joined

  • Last visited

Posts posted by kentAVR

  1. I suggest allow armbian script put deb-src without comment.

     

    For example I want to get system with deb-src packages. Of cause I can add deb-src via userpatches/customize-image.sh but it is not so easy.

    May be armbian add option like INSTALL_KSRC that allow user to get OS with uncommented deb-src in /etc/apt/sources.list

    It also helps in customize-image.sh For example:

    Main() {   
        apt-get install libxcb-xinerama0-dev -y

     

    It will Error: You must put some 'deb-src' URIs in your sources.list

     

    The solution may be:

    ./compile.sh REPOSITORY_INSTALL=deb-src

    general.sh

  2. My Orange Pi 4B has got FUSB302B too.

    USB Type-C gives power but my keyboard or mouse can't work...

     

    Other 2 USB type A works ok.

     

    I try Armbian_21.05.1_Orangepi4_focal_current, Armbian_20.05.3_Orangepi4_bionic_current. Thay doesn't work.

     

    But USB Type-C works on https://github.com/orangepi-xunlong/orangepi-build Looks like USB Type-C wants old kernel...

     

    How I use can @Oleksiipath with Orange Pi 4B ?

  3. On 7/3/2021 at 9:11 PM, Werner said:

    Official docs are here:https://docs.armbian.com/


    Did you try to save your config after altering with default name? .config to say?

    menuconfig is strange magic!

     

    Look!

     

    1) I set my settings of kernel.

    2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    3) I load settings from /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    4) I verify settings and its ok

    5) I do Exit, armbian save my settings (and block file) and write me

    [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ]

    6) I am going to file from 5) and verify and... My settings is reseted! WTF?
     

    So right magic way is:

    1) I set my settings of kernel.

    2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    3) Exit and STOP (Ctrl+Z) armbian build system.

    4) put file from step 2) to /home/a/Documents/myArmbians/8armbian/build/userpatches/linux-rockchip64-current.config

    5) wating message from armbian

    [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ]

    6) do not stop build! Just go to this file and verify. Usually it contains my settings.

     

    P.S. I use Orange Pi 4B

  4. 27 minutes ago, Igor said:


    Negative. Users don't need and should not change build script internals. When you do, also your script will not update anymore. 

    Try to find reasoning for current situation, not adjusting documentation to the use case that will not be supported. At least not this way.

     


    u-boot sources perhaps?

     

    I can't see .config file at /home/a/Documents/myArmbians/8armbian/build/cache/sources/u-boot/v2020.10. Ubuntu too...

     

    "Negative. Users don't need and should not change build script internals. When you do, also your script will not update anymore. 

    Try to find reasoning for current situation, not adjusting documentation to the use case that will not be supported. At least not this way."

    Switch off U-Boot input-output capabilities is not supported by armbian build script via editing rockchip.txt in my case?

    where config?.png

  5. menuconfig is strange magic!

     

    Look!

     

    1) I set my settings of kernel.

    2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    3) I load settings from /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    4) I verify settings and its ok

    5) I do Exit, armbian save my settings (and block file) and write me

    [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ]

    6) I am going to file from 5) and verify and... My settings is reseted! WTF?
     

    So right magic way is:

    1) I set my settings of kernel.

    2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config

    3) Exit and STOP (Ctrl+Z) armbian build system.

    4) put file from step 2) to /home/a/Documents/myArmbians/8armbian/build/userpatches/linux-rockchip64-current.config

    5) wating message from armbian

    [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ]

    6) do not stop build! Just go to this file and verify. Usually it contains my settings.

     

    P.S. I use Orange Pi 4B

  6. 2 hours ago, lanefu said:

    Hirsute gnome builds as wayland due to ubuntu defaults 

     

    The rest are x.org as far as i know.  

    So why gnome's  settings contains X.org?

     

    "I look at /build/config/desktop/hirsute/environments/gnome/config_base/packages

    xserver-xorg xserver-xorg-video-fbdev gvfs-backends xfonts-base xinit bubblewrap dbus-x11 dictionaries-common evolution-data-server ..."

  7. On 7/5/2021 at 7:13 PM, Igor said:


    No. "rockchip.txt" defaults are automatically used if you build Orangepi 4. Defaults were not meant to be user changeable, but you can change them this generic way while building image or manually on the board.

     


    This is the same. Just u-boot, which is not Armbian - we only use it for our needs, you will not learn just in one year ... you will find many different approaches and implementations, many versions and hacks to the u-boot in the wild. Which leads to - not simple to answer.

     


    Isn't FAT something related to Windows?!?! :rolleyes: No, there is no need for a FAT filesystem.

    I want verify that U-Boot use rockchip.txt in my case. Since I run

     

    ./compile.sh  BOARD=orangepi4 BRANCH=current RELEASE=hirsute BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_ONLY=no KERNEL_CONFIGURE=yes  COMPRESS_OUTPUTIMAGE=sha,gpg,img BSPFREEZE=yes REPOSITORY_INSTALL="" EXTERNAL=no EXTRAWIFI=no AUFS=no WIREGUARD=no INSTALL_KSRC=yes OFFLINE_WORK=no BSPFREEZE=yes CREATE_PATCHES=yes DESKTOP_ENVIRONMENT=xfce

     

    armbian build U-Boot and I can see in log:

    3.2.1.  HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/kconfig/conf.o
      YACC    scripts/kconfig/zconf.tab.c
      LEX     scripts/kconfig/zconf.lex.c
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    #
    # configuration written to .config
    #
    scripts/kconfig/conf  --syncconfig Kconfig
      CFG     u-boot.cfg
      GEN     include/autoconf.mk.dep

     

    1) Where I can find this U-Boot's .config ? I try search it but nothing is found...

     

    2)

    "No. "rockchip.txt" defaults are automatically used if you build Orangepi 4. Defaults were not meant to be user changeable, but you can change them this generic way while building image or manually on the board."

     

    I still don't see problem with my suggestion to add to armbian docs something like

    "If you want change /boot/armbianEnv.txt you should use build/config/bootenv/$LINUXFAMILY.txt. For example if you use Orange Pi 4 you need change build/config/bootenv/rockchip.txt"

  8. After good news about Panfrost support the main question is
    Does armbian support wayland since hirsute?

     

    I thinked

    -Of cause yes. Ubuntu hirsute is switched to wayland, but

     

    I look at /build/config/desktop/hirsute/environments/gnome/config_base/packages

    xserver-xorg xserver-xorg-video-fbdev gvfs-backends xfonts-base xinit bubblewrap dbus-x11 dictionaries-common evolution-data-server ...

     

    I dislike gnome. Let's go to /build/config/desktop/hirsute/environments/xfce/config_base/packages

    xserver-xorg xserver-xorg-video-fbdev xfonts-base xinit x11-xserver-utils xinit xorg-docs-core x11-apps xscreensaver xfonts-100dpi

     

    So Wayland or X.Org? Looks like X.Org...

  9. 19 hours ago, Igor said:

     

    Xunlong / Orangepi forked our build system and adjusted upon their needs & ideas. Documentations for their fork is different in several areas - that's all I know about.

     


    Those are converted to /boot/armbianEnv.txt in the build process and some parameters are added there if needed. Also in firstrun runtime if defined that way.

    So in armbian docs need add something like

    "If you want change /boot/armbianEnv.txt you should use build/config/bootenv/LINUXFAMILY.txt. For example if you use Orange Pi 4 you need use build/config/bootenv/rockchip.txt"

     

    __________________________________________________

    I try to understand why U-Boot ignore my /boot/armbianEnv.txt I try to set bootdelay=-2

     

    1) I use google and people talking about another filename: uEnv.txt not armbianEnv.txt

    So how U-Boot knows about /boot/armbianEnv.txt ? There is no "/boot/armbianEnv.txt" in U-Boot source code... I try to make uEnv.txt by myself...

     

    2) Is /boot/armbianEnv.txt  need to be placed in FAT volume? I build .img for my Orange Pi 4  /boot/armbianEnv.txt and another are in some volume...

    boot.png

    Orange Pi 4_U-Boot.log

  10. Hello!

     

    I follow instruction

    "Add names of overlays you want to activate to overlays= line in /boot/armbianEnv.txt"

    I try to find /boot/armbianEnv.txt but nothing.

    I see Build tools overview from https://github.com/armbian/build/blob/fcb8b6f195bbb76c83c612c425fdf08cfd48c68b/README.md

    And nothing about /boot/armbianEnv.txt

     

    May be documentation talking about build/config/bootenvrockchip.txt and  build/config/zynq.txt and others txt files in build/config/ ?

    It looks like /boot/armbianEnv.txt is file on microSD after I burn armbian image on it. But reading docs I don't understand nothing about build/config/bootenv/rockchip.txt 

    bootenv.png

  11. 21 hours ago, lanefu said:

    You are not right, I shouldn't create any sources folder.

    This is stranch code from

    build/lib/configuration.sh
     

    if [[ -f $USERPATCHES_PATH/sources/families/$LINUXFAMILY.conf ]]; then
    
    display_alert "Adding user provided $LINUXFAMILY overrides"
    
    source "$USERPATCHES_PATH/sources/families/${LINUXFAMILY}.conf"
    
    fi

     

    But true code are in build/lib/compilation.sh
     

    if [[ -f $USERPATCHES_PATH/$LINUXCONFIG.config ]]; then
    
    display_alert "Using kernel config provided by user" "userpatches/$LINUXCONFIG.config" "info"
    
    cp "${USERPATCHES_PATH}/${LINUXCONFIG}.config" .config
    
    else
    
    display_alert "Using kernel config file" "config/kernel/$LINUXCONFIG.config" "info"
    
    cp "${SRC}/config/kernel/${LINUXCONFIG}.config" .config
    
    fi

    So for my Orange Pi 4 with my build script

    ./compile.sh  BOARD=orangepi4 BRANCH=current RELEASE=hirsute BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes  COMPRESS_OUTPUTIMAGE=sha,gpg,img BSPFREEZE=yes REPOSITORY_INSTALL="" EXTERNAL=no EXTRAWIFI=no AUFS=no WIREGUARD=no INSTALL_KSRC=yes OFFLINE_WORK=yes BSPFREEZE=yes

    I need put linux-rockchip64-current.config into build/userpatches. To check that armbian get my file I look at console

     

    Using kernel config provided by user

    linux-rockchip64-current.config

  12. I want configure kernel using ArmbianMini2.config

    I build armbian with KERNEL_CONFIGURE=yes

    When menuconfig ask me about settings there are nothing about CONFIG_BMP280. But in my ArmbianMini2.config i set

    CONFIG_BMP280=n

    In Linux menuconfig after loading ArmbianMini2.config and save armbian rename ArmbianMini2.config to ArmbianMini2.config.old.

    I look at ArmbianMini2.config.old

    CONFIG_BMP280=n

    I look at ArmbianMini2.config or build/output/config/linux-rockchip64-current.config

    CONFIG_BMP280=m

     

    How it can be? There are also a lot of options where =n transform to =m...

     

    ArmbianMini2.config ArmbianMini2.config.old linux-rockchip64-current.config

  13. The problem was in temperature. If temperature > 93  °C system will shuting down.

     

    So after start I am goint to

    sudo armbian-config

    and change CPU's GOVERNOR to savemod.

     

    So now temperature is about 80 °C.

    I use Orange Pi 4B in room with 25 °C without any box.

     

    Is it normal that armbian can't work on board presents as is? I don't understand why armbian wants proper heat sink by default... May be armbian should provide another GOVERNOR by default?

    @Igor

  14. Armbian (I try a lot of versions include Armbian Focal xfce mainline based kernel 5.10.y) fails on Orange Pi 4B.

     

    1. Orange Pi 4B booting normal, I try to do hard job and... it restarting every time after try to do hard job like build Qt or running benchmark and never boot normal again while powered. I need off power supply, on power supply and Armbian boot normal again and goto 1.

     

    I use Orange Pi 4B (on pcb v 1.4) with Ubuntu 18 from xunlong (Linux 4.4.179-g4cac54c6-dyrty). It works ok even I build big apps like Qt or run benchmarks. I also building my own Ubuntu 18 using xunlong script and it also working ok.

     

    Why I can't use Armbian for my Orange Pi 4B?

    My power supply from xunlong is good. Also I try a lot of others power supply.