Jump to content

Igor

Administrators
  • Posts

    13612
  • Joined

  • Last visited

Posts posted by Igor

  1. Leave this as is

    FORCE_CHECKOUT="yes"            # ignore manual changes to source

    and use

    CREATE_PATCHES="yes"

    Apply change to source when asked and pickup patch which will be created userpatches/patch ... this patch should be moved to appropriate dir:

    userpatches/kernel/udoo-next

    or move it to 

    lib/patch/kernel/udoo-next

    and create PR to our repository since it might be useful for others too.

     

    Option which you used is working properly only on source where no patches are initially involved  ... we have to change / note this.

  2. I've reactivate my BPro after a long time...

     

    What do you mean with "it could be broken"? Hardware? Kernel? DTS?

    That SPDIF support in kernel was somehow broken, stopped working. I am trying to find out if you might have it working in v4.9.10 (or older) ... and it stopped working on upgrade to version released few days ago. In such case last known good kernel is a starting point.

  3. Next test was done with mainline kernel 4.10.0 and performance CPU governor, while the one before was done on 4.4.50 with powersave.

                                                                  random    random 
                  kB  reclen    write  rewrite    read    reread    read     write
              102400       4     2527     2558    13977    14042    11684     2457
              102400      16     8800     8918    28143    28229    26319     8692
              102400     512    27341    27273    42205    42257    42042    27342
              102400    1024    27834    28148    42597    42648    42559    27925
              102400   16384    28056    28484    45067    45142    45128    28636
    
    

    I guess those eMMC chips are simply different, yes.

  4. - fixed eMMC install,
    - added development kernel (4.10.x) with MALI driver (untested)
     

    Onboard 16GB eMMC media performances - not the top performer but still very decent.

    root@miqi: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
    
            File stride size set to 17 * record size.
                                                                  random    random
                  kB  reclen    write  rewrite    read    reread    read     write
              102400       4     2403     2503    12483    12840    10950     2400
              102400      16     8277     8682    26678    26378    24787     8526
              102400     512    26729    27105    40906    40921    40702    27001
              102400    1024    27644    27575    41840    41808    41731    27562
              102400   16384    28077    28056    43618    43609    43589    28147
    
  5. MiQi added to Armbian. What I did:

     

    - added kernel 4.4.50 ... took from https://github.com/mqmaker/linux-rockchip(4.4.16) ... and patch all the way up to 4.4.50. 

    - added stock MiQi uboot. I tried too merge it with mainline but figured out soon that it's not going to be easy and abandoned that

    - added boot scripts with environment file

    - packaged kernel, u-boot, ...

    - updated kernel config to meet Docker requirements 

    - added proper serial console

    - tested CLI and desktop build. Both runs smoothly.

    Known bugs: random MAC, eMMC install script and boot script need some adjustments

     

    Unknown: mali, video accleration librarires, ... etc. most likely those should go: https://github.com/mqmaker/rk-rootfs-build

     

    From tomorrow morning, betas will be available here: https://dl.armbian.com/miqi/nightly/

     

    armbianmonitor -u
    http://sprunge.us/TWMF

    Console log:

     

     

    -Boot SPL 2016.09-rc1-armbian (Feb 20 2017 - 18:42:37)
    Trying to boot from MMC2
    
    
    U-Boot 2016.09-rc1-armbian (Feb 20 2017 - 18:42:37 +0100)
    
    Model: rk3288-miqi
    DRAM:  2 GiB
    MMC:   dwmmc@ff0c0000: 0dwmmc@ff0f0000: 1
    *** Warning - bad CRC, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    miqi init
    Net:   Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    1205 bytes read in 19 ms (61.5 KiB/s)
    ## Executing script at 00000000
    77 bytes read in 16 ms (3.9 KiB/s)
    35462 bytes read in 38 ms (911.1 KiB/s)
    4678228 bytes read in 370 ms (12.1 MiB/s)
    7415848 bytes read in 571 ms (12.4 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 21000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    4678164 Bytes = 4.5 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 01f00000
       Booting using the fdt blob at 0x1f00000
       Loading Ramdisk to 1fb89000, end 1ffff214 ... OK
       Loading Device Tree to 1fb7d000, end 1fb88a85 ... OK
    
    Starting kernel ...
    
    Loading, please wait...
    starting version 229
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
    done.
    Begin: Will now check root file system ... fsck from util-linux 2.27.1
    [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
    /dev/mmcblk0p1: clean, 148716/1849536 files, 702155/7658608 blocks
    done.
    done.
    Begin: Running /scripts/local-bottom ... done.
    Begin: Running /scripts/init-bottom ... done.
    
    Welcome to Ubuntu 16.04.2 LTS!
    
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Reached target Encrypted Volumes.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on fsck to fsckd communication Socket.
    [  OK  ] Listening on Journal Socket.
             Starting Restore / save the current clock...
             Starting Create list of required st... nodes for the current kernel...
    [  OK  ] Listening on udev Control Socket.
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Nameserver information manager...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Remote File Systems (Pre).
             Starting Load Kernel Modules...
             Starting Set console keymap...
    [  OK  ] Reached target User and Group Name Lookups.
             Mounting Debug File System...
    [  OK  ] Listening on Syslog Socket.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Started Restore / save the current clock.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Set console keymap.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Nameserver information manager.
             Starting udev Coldplug all Devices...
             Starting Load/Save Random Seed...
             Activating swap /var/swap...
             Mounting FUSE Control File System...
             Starting Apply Kernel Variables...
             Mounting Configuration File System...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Activated swap /var/swap.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started udev Coldplug all Devices.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /tmp...
    [  OK  ] Reached target Swap.
    [  OK  ] Mounted /tmp.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Entropy daemon using the HAVEGE algorithm.
             Starting Journal Service...
    [  OK  ] Reached target Local File Systems.
             Starting Armbian enhanced Log2Ram...
             Starting Set console font and keymap...
             Starting Raise network interfaces...
    [  OK  ] Started Armbian enhanced Log2Ram.
    [  OK  ] Started Journal Service.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started ifup for eth0.
    [  OK  ] Reached target Sound Card.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Set console font and keymap.
    [  OK  ] Started Raise network interfaces.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Reached target System Time Synchronized.
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Paths.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Started Daily apt activities.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting LSB: No Display Manager...
             Starting LSB: Load kernel modules needed to enable cpufreq scaling...
             Starting LSB: Starts LIRC daemon....
             Starting System Logging Service...
             Starting LSB: Armbian gathering hardware information...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Regular background program processing daemon.
             Starting Network Manager...
             Starting LSB: Start/stop sysstat's sadc...
             Starting Accounts Service...
             Starting Permit User Sessions...
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Save/Restore Sound Card State...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started LSB: No Display Manager.
    [  OK  ] Started LSB: Armbian gathering hardware information.
    [  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
    [  OK  ] Started LSB: Starts LIRC daemon..
    [  OK  ] Started LSB: Start/stop sysstat's sadc.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Network Manager.
    [  OK  ] Started Login Service.
             Starting Network Manager Script Dispatcher Service...
    [  OK  ] Reached target Network.
             Starting OpenBSD Secure Shell server...
             Starting Network Manager Wait Online...
             Starting Authenticate and Authorize Users to Run Privileged Tasks...
             Starting LSB: set CPUFreq kernel parameters...
             Starting Set console scheme...
    [  OK  ] Started OpenBSD Secure Shell server.
    [  OK  ] Started Set console scheme.
    [  OK  ] Started Network Manager Script Dispatcher Service.
    [  OK  ] Started LSB: set CPUFreq kernel parameters.
    [  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
    [  OK  ] Started Accounts Service.
             Starting LSB: Set sysfs variables from /etc/sysfs.conf...
             Starting Hostname Service...
    [  OK  ] Started Hostname Service.
    [  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
    [  OK  ] Started Network Manager Wait Online.
    [  OK  ] Reached target Network is Online.
             Starting LSB: Advanced IEEE 802.11 management daemon...
             Starting LSB: disk temperature monitoring daemon...
             Starting /etc/rc.local Compatibility...
             Starting LSB: Start NTP daemon...
    [  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
    [  OK  ] Started /etc/rc.local Compatibility.
    [  OK  ] Started LSB: disk temperature monitoring daemon.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started LSB: Start NTP daemon.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    Ubuntu 16.04.2 LTS miqi ttyS2
    
    miqi login:  

     

     

  6. When do I have to install which  Kernel? (for cubietruck Allwinner A20 is clear)

     

    Firmware?

    Board support packages

    Latest mainline for all Allwinner devices

    U-boots

     

    This page is more like a table with all kernels that we build. You don't need to install anything since images comes with all those packages ... but in case you do some damage or in your case, you can fix the system by installing a proper one. Next, some boards have more kernels and you can switch between them. So this table has naming and if you go for "DEV" ... you need usually to change to DEV u-boot to ... so it's better to change all packages if you want to do so. In any case, all this is recommended for experienced users who know how to fix things if something goes wrong.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines