Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix odroidc1 #1932

Merged
merged 13 commits into from May 2, 2020
Merged

Fix odroidc1 #1932

merged 13 commits into from May 2, 2020

Conversation

@plntyk
Copy link
Contributor

@plntyk plntyk commented May 1, 2020

Currently odroid-c1 is broken and marked EOS

each patch should have a sufficient description
and is signed off
I separated some functional changes if those are not wanted
Creating a bootable image makes testing the ongoing changes for S805 easier

This patch series:

  • enables the board again and updates to 5.4 or 5.6 series with updated configs
  • makes the device boot again: fixes missing uImage by using mechanics from other odroid board
    Issue for example reported: https://forum.armbian.com/topic/12260-odroidc1-ubuntu-images-from-master-do-not-boot/
  • change default kernel compile option - because of fdt/dtb location
  • loglevel is more verbose to match earlier / vendor kernel / image situation

I tested several minimal images with 5.4.x and 5.6.x Kernels and all of boot to userspace*
i didnt test Desktop because currently I only have a "bad" micro-sdxc [1] that currently limits test capability, using a usb rootfs with these changes seems to work tho (but that doubles flashing/testing time)

[1] https://wiki.odroid.com/odroid-c1/troubleshooting/microsd_selection

plntyk and others added 6 commits Apr 29, 2020
remove EOS
enable current and dev config
meson-current: update config
meson-dev: update config

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
without uImage the board will not boot
take the already used hack (?) from
general-kernel-odroidn2-current.patch
since KERNEL_IMAGE_TYPE does not work as expected

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
with default loading locations in u-boot
the uImage can be too large and will be partly overwritten
with the loaded dtb leading to boot failues due to wrong checksum

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 1, 2020

Doesn't want to boot for me. First it was corrupted kernel image, then corrupted ramdisk, changed SD cards, environment ... huh?

@plntyk
Copy link
Contributor Author

@plntyk plntyk commented May 1, 2020

I used
touch .ignore_changes to enable building the current tree that i modified according to docs

./compile.sh docker EXPERT=yes because I do not use Ubuntu as system

Maybe there is some issue there ?

and then I select the full image dev Kernel and odroidc1 in the menu for example

bootlog of one of such image is at
https://gist.github.com/plntyk/4396d852cc5b4dbdf4a7e0b336609b47

notice: Ubuntu 20.x , 5.6.8 and loglevel 7 there indicating that the patches are working (environment is taken from a changed loglevel 3-> logleve 7 boot.ini) - uImage size is below "critical" ~8MB because memory locations
ext4load mmc 0:1 0x21000000 -> uImage load location
ext4load mmc 0:1 0x21800000 -> dtb load
both successful and later the crc checks ok

@plntyk
Copy link
Contributor Author

@plntyk plntyk commented May 1, 2020

cleaned docker and did a new build again (full image, dev Kernel, buster) and this is booting on my end too

@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 2, 2020

Images made via our automated build are working - a problem with my build host.

It seems that we can also enable HDMI once? Perhaps its coming with 5.7->
https://forum.odroid.com/viewtopic.php?f=111&t=38483

I would rather leave this config as .CSC until we don't have HDMI. Non working HDMI is a bummer for average Joe which questions we try to avoid this way.

igorpecovnik added 5 commits May 2, 2020
One can choose what to build, while build targets are defined elsewhere
Cause of changes in boot.ini we don't need to worry about size. After few tests, no problems sighted.

Tested running Docker.
Copy link
Member

@igorpecovnik igorpecovnik left a comment

Added few improvements, tested few times.

@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 2, 2020

!build

@igorpecovnik igorpecovnik merged commit 483d7e9 into armbian:master May 2, 2020
@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 5, 2020

How stable is this build for you? I am getting filesystem / sd card errors after some time ...

@nmaas87
Copy link

@nmaas87 nmaas87 commented May 11, 2020

As reported in #1960 my Odroid C1 cannot boot with the current images. I am burning the images using the latest version of balena Etcher. Any thoughts?

@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 12, 2020

@plntyk I ran into the same issue on Allwinner H3 - Orangepi Lite (ramdisk image corrupted) on freshly made image which means we have some general problem ... and it seems related to 32bit builds.

@lanefu

Build inside Docker or native on Mint Debbie

@nmaas87
Copy link

@nmaas87 nmaas87 commented May 19, 2020

I tried a boot with the bionic-server as of 16.05.2020, that worked.
Also Buster server did work (16.05).
The Buster minimal version from 08.05. is broken, I guess something happend between 08.05. and 16.05. which made the builds work again :)

Bionic-server

QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
-----------------------------------------------------------------------
CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC13C0001
S/N : HKC1CB0349B4FD9B
0x0000009f
check SD_boot_type:0x1   card_type:0x1
Loading U-boot...success.


U-boot-00000-gb7b8dc2-dirty(odroidc@b7b8dc21) (May 16 2020 - 10:31:42)

I2C:   clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=ffccfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffecfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
ready
DRAM:  1 GiB
relocation Offset is: 2ff18000
MMC:   SDCARD: 0, eMMC: 1
IR init is done!
*** Warning - bad CRC, using default environment

mmc save env ok
vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address
============================================================
Vendor: Man 035344 Snr 367b08d0 Rev: 8.0 Prod: SU08G
            Type: Removable Hard Disk
            Capacity: 7580.0 MB = 7.4 GB (15523840 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
    1                 8192          409600       e
    2               417792         2113536      83
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  0
exit abortboot: 0
reading boot.ini

3758 bytes read
Loading boot.ini from mmc0:1 (vfat)
Executing the script...
setenv rootdev "UUID=0893e2c2-e40c-435f-b7ba-57915b15f756"
setenv rootfstype "ext4"
setenv m "1080p"                # 1080P@60Hz
setenv vout_mode "hdmi"
setenv m_bpp "32"
setenv monitor_onoff "false" # true or false
setenv hpd "0"
setenv cec "0"
setenv disableuhs "disableuhs"
setenv vpu "1"
setenv hdmioutput "1"
setenv condev "console=ttyAML0,115200n8"
setenv disable_vu7 "false" # false
setenv max_freq "1536"
if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
setenv bootargs "root=${rootdev} rootwait rw ${condev} rootfstype=${rootfstype} loglevel=1 no_console_suspend consoleblank=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks} ${extraargs}"
ext4load mmc 0:1 0x20800000 /boot/uImage || fatload mmc 0:1 0x20800000 uImage || ext4load mmc 0:1 0x20800000 uImage
Loading file "/boot/uImage" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading uImage

7991872 bytes read
ext4load mmc 0:1 0x22000000 /boot/uInitrd || fatload mmc 0:1 0x22000000 uInitrd || ext4load mmc 0:1 0x22000000 uInitrd
Loading file "/boot/uInitrd" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading uInitrd

10372646 bytes read
ext4load mmc 0:1 0x21800000 /boot/dtb/meson8b-odroidc1.dtb || fatload mmc 0:1 0x21800000 dtb/meson8b-odroidc1.dtb || ext4load mmc 0:1 0x21800000 dtb/meson8b-odroidc1.dtb
Loading file "/boot/dtb/meson8b-odroidc1.dtb" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading dtb/meson8b-odroidc1.dtb

17758 bytes read
fdt addr 21800000
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
bootm 0x20800000 0x22000000 0x21800000
## Booting kernel from Legacy Image at 20800000 ...
   Image Name:   Linux
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7991808 Bytes = 7.6 MiB
   Load Address: 02080000
   Entry Point:  02080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 22000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10372582 Bytes = 9.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 21800000
   Booting using the fdt blob at 0x21800000
   Loading Kernel Image ... OK
OK
uboot time: 6644417 us.
Using machid 0xf81 from environment
faild to get aml_reserved_end address
the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
   Loading Ramdisk to 1f61b000, end 1ffff5e6 ... OK
   Loading Device Tree to 1f613000, end 1f61a55d ... OK
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND

Starting kernel ...

Loading, please wait...
starting version 237
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.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
/dev/mmcblk0p2: clean, 35087/66096 files, 204604/264192 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.31:  No such file or directory

Welcome to Ubuntu 18.04.4 LTS!

[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
         Mounting Kernel Debug File System...
         Mounting POSIX Message Queue File System...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Starting Set the console keyboard layout...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
         Starting udev Coldplug all Devices...
         Starting Nameserver information manager...
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Reached target Network (Pre).
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Found device /dev/disk/by-uuid/BB6A-F289.
         Starting File System Check on /dev/disk/by-uuid/BB6A-F289...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check on /dev/disk/by-uuid/BB6A-F289.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set console font and keymap...
         Starting Armbian ZRAM config...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Armbian ZRAM config.
         Starting Armbian memory supported logging...
[  OK  ] Started Armbian memory supported logging.
         Starting Journal Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Name Resolution...
[  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 Sockets.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
         Starting Armbian filesystem resize...
         Starting Armbian hardware monitoring...
[  OK  ] Started resolvconf-pull-resolved.path.
[  OK  ] Reached target Paths.
         Starting Armbian hardware optimization...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Message of the Day.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Reached target Host and Network Name Lookups.
[  *** ] A start job is running for Armbian …esystem resize (1min 1s / 6min 9s[ ***  ] A start job is running for Armbian …esystem resize (1min 1s / 6min 9s[***   ] A start job is running for Armbian …esystem resize (1min 2s / 6min 9s[**    ] A start job is running for Armbian …esystem resize (1min 2s / 6min 9s[*     ] A start job is running for Armbian …esystem resize (1min 3s / 6min 9s[**    ] A start job is running for Armbian …esystem resize (1min 3s / 6min 9s[***   ] A start job is running for Armbian …esystem resize (1min 4s / 6min 9s[ ***  ] A start job is running for Armbian …esystem resize (1min 4s / 6min 9s[  *** ] A start job is running for Armbian …esystem resize (1min 5s / 6min 9s[   ***] A start job is running for Armbian …esystem resize (1min 5s / 6min 9s[    **] A start job is running for Armbian …esystem resize (1min 6s / 6min 9s[     *] A start job is running for Armbian …esystem resize (1min 6s / 6min 9s[    **] A start job is running for Armbian …esystem resize (1min 7s / 6min 9s[   ***] A start job is running for Armbian …esystem resize (1min 7s / 6min 9s[  *** ] A start job is running for Armbian …esystem resize (1min 8s / 6min 9s[ ***  ] A start job is running for Armbian …esystem resize (1min 8s / 6min 9s[***   ] A start job is running for Armbian …esystem resize (1min 9s / 6min 9s[**    ] A start job is running for Armbian …esystem resize (1min 9s / 6min 9s[*     ] A start job is running for Armbian …system resize (1min 10s / 6min 9s[**    ] A start job is running for Armbian …system resize (1min 10s / 6min 9s[***   ] A start job is running for Armbian …system resize (1min 11s / 6min 9s[ ***  ] A start job is running for Armbian …system resize (1min 11s / 6min 9s[  *** ] A start job is running for Armbian …system resize (1min 12s / 6min 9s[   ***] A start job is running for Armbian …system resize (1min 12s / 6min 9s[    **] A start job is running for Armbian …system resize (1min 13s / 6min 9s[     *] A start job is running for Armbian …system resize (1min 13s / 6min 9s[    **] A start job is running for Armbian …system resize (1min 14s / 6min 9s[   ***] A start job is running for Armbian …system resize (1min 14s / 6min 9s[  *** ] A start job is running for Armbian …system resize (1min 15s / 6min 9s[ ***  ] A start job is running for Armbian …system resize (1min 15s / 6min 9s[***   ] A start job is running for Armbian …system resize (1min 16s / 6min 9s[**    ] A start job is running for Armbian …system resize (1min 16s / 6min 9s[*     ] A start job is running for Armbian …system resize (1min 17s / 6min 9s[**    ] A start job is running for Armbian …system resize (1min 17s / 6min 9s[***   ] A start job is running for Armbian …system resize (1min 18s / 6min 9s[ ***  ] A start job is running for Armbian …system resize (1min 18s / 6min 9s[  *** ] A start job is running for Armbian …system resize (1min 19s / 6min 9s[   ***] A start job is running for Armbian …system resize (1min 19s / 6min 9s[    **] A start job is running for Armbian …system resize (1min 20s / 6min 9s[     *] A start job is running for Armbian …system resize (1min 20s / 6min 9s[    **] A start job is running for Armbian …system resize (1min 21s / 6min 9s[   ***] A start job is running for Armbian …system resize (1min 21s / 6min 9s[  *** ] A start job is running for Armbian …system resize (1min 22s / 6min 9s[ ***  ] A start job is running for Armbian …system resize (1min 22s / 6min 9s[***   ] A start job is running for Armbian …system resize (1min 23s / 6min 9s[**    ] A start job is running for Armbian …system resize (1min 23s / 6min 9s[*     ] A start job is running for Armbian …system resize (1min 24s / 6min 9s[  OK  ] Started Armbian filesystem resize.
[  OK  ] Reached target Basic System.
         Starting rng-tools.service...
         Starting System Logging Service...
[  OK  ] Started Armbian first run tasks.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Resets System Activity Data Collector...
         Starting Dispatcher daemon for systemd-networkd...
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Login Service.
         Starting Network Manager...
         Starting WPA supplicant...
         Starting resolvconf-pull-resolved.service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started rng-tools.service.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started resolvconf-pull-resolved.service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Network Manager Wait Online...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting chrony, an NTP client/server...
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Set console scheme...
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started chrony, an NTP client/server.
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Authorization Manager...
[  OK  ] Started Authorization Manager.
[**    ] A start job is running for Network … Wait Online (1min 35s / no limit[***   ] A start job is running for Network … Wait Online (1min 35s / no limit[ ***  ] A start job is running for Network … Wait Online (1min 35s / no limit[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyAML0.
[  OK  ] Reached target Login Prompts.
[  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.

Armbian 20.02.17 Bionic ttyAML0

odroidc1 login:

Buster-server:

QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
-----------------------------------------------------------------------
CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC13C0001
S/N : HKC1CB0349B4FD9B
0x0000009f
check SD_boot_type:0x1   card_type:0x1
Loading U-boot...success.


U-boot-00000-gb7b8dc2-dirty(odroidc@b7b8dc21) (May 16 2020 - 10:31:42)

I2C:   clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=ffccfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffecfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
ready
DRAM:  1 GiB
relocation Offset is: 2ff18000
MMC:   SDCARD: 0, eMMC: 1
IR init is done!
*** Warning - bad CRC, using default environment

mmc save env ok
vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
Error: Bad gzipped data
There is no valid bmp file at the given address
============================================================
Vendor: Man 035344 Snr 367b08d0 Rev: 8.0 Prod: SU08G
            Type: Removable Hard Disk
            Capacity: 7580.0 MB = 7.4 GB (15523840 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
    1                 8192          409600       e
    2               417792         2539520      83
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  0
exit abortboot: 0
reading boot.ini

3758 bytes read
Loading boot.ini from mmc0:1 (vfat)
Executing the script...
setenv rootdev "UUID=d524574c-c83a-48c3-9211-b8eed72ec103"
setenv rootfstype "ext4"
setenv m "1080p"                # 1080P@60Hz
setenv vout_mode "hdmi"
setenv m_bpp "32"
setenv monitor_onoff "false" # true or false
setenv hpd "0"
setenv cec "0"
setenv disableuhs "disableuhs"
setenv vpu "1"
setenv hdmioutput "1"
setenv condev "console=ttyAML0,115200n8"
setenv disable_vu7 "false" # false
setenv max_freq "1536"
if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
setenv bootargs "root=${rootdev} rootwait rw ${condev} rootfstype=${rootfstype} loglevel=1 no_console_suspend consoleblank=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks} ${extraargs}"
ext4load mmc 0:1 0x20800000 /boot/uImage || fatload mmc 0:1 0x20800000 uImage || ext4load mmc 0:1 0x20800000 uImage
Loading file "/boot/uImage" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading uImage

7991872 bytes read
ext4load mmc 0:1 0x22000000 /boot/uInitrd || fatload mmc 0:1 0x22000000 uInitrd || ext4load mmc 0:1 0x22000000 uInitrd
Loading file "/boot/uInitrd" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading uInitrd

9201217 bytes read
ext4load mmc 0:1 0x21800000 /boot/dtb/meson8b-odroidc1.dtb || fatload mmc 0:1 0x21800000 dtb/meson8b-odroidc1.dtb || ext4load mmc 0:1 0x21800000 dtb/meson8b-odroidc1.dtb
Loading file "/boot/dtb/meson8b-odroidc1.dtb" from mmc device 0:1 xxa1
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - mmc 0:1 **
reading dtb/meson8b-odroidc1.dtb

17758 bytes read
fdt addr 21800000
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
bootm 0x20800000 0x22000000 0x21800000
## Booting kernel from Legacy Image at 20800000 ...
   Image Name:   Linux
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7991808 Bytes = 7.6 MiB
   Load Address: 02080000
   Entry Point:  02080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 22000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9201153 Bytes = 8.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 21800000
   Booting using the fdt blob at 0x21800000
   Loading Kernel Image ... OK
OK
uboot time: 6565375 us.
Using machid 0xf81 from environment
faild to get aml_reserved_end address
the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
   Loading Ramdisk to 1f739000, end 1ffff601 ... OK
   Loading Device Tree to 1f731000, end 1f73855d ... OK
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND

Starting kernel ...

Loading, please wait...
Starting version 241
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.33.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
/dev/mmcblk0p2: clean, 37397/79360 files, 248648/317440 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.31:  No such file or directory

Welcome to Debian GNU/Linux 10 (buster)!

[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Set the console keyboard layout...
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Created slice User and Session Slice.
         Mounting Kernel Debug File System...
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Audit Socket.
         Starting Nameserver information manager...
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Remote File Systems.
         Starting Restore / save the current clock...
         Starting Create list of re…odes for the current kernel...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on udev Kernel Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Swap.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Nameserver information manager.
         Starting Create System Users...
         Starting Load/Save Random Seed...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Found device /dev/disk/by-uuid/C3D7-565C.
         Starting File System Check…/dev/disk/by-uuid/C3D7-565C...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check on /dev/disk/by-uuid/C3D7-565C.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Raise network interfaces...
         Starting Set console font and keymap...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Armbian ZRAM config.
         Starting Armbian memory supported logging...
[  OK  ] Started Armbian memory supported logging.
         Starting Journal Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         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 Sockets.
[  OK  ] Started Daily Cleanup of Temporary Directories.
         Starting Armbian hardware optimization...
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting Armbian filesystem resize...
         Starting Armbian hardware monitoring...
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Started Armbian hardware monitoring.
[    **] A start job is running for Armbian filesystem resize (59s / 6min 15s)

@igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented May 19, 2020

The Buster minimal version from 08.05. is broken, I guess something happend between 08.05. and 16.05. which made the builds work again

There are days of suffering hidden behind ;) Yes. Its under control now and it will hopefully stay this way. One day also HDMI will be added. There are some experimental builds in the wild, but not really time to proceed on that right now. This board is old and we have very ... very little time.

@nmaas87
Copy link

@nmaas87 nmaas87 commented May 19, 2020

Thank you very much :)! This made the board useable for me, so I am a happy camper 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants