Centos 7 and Odroid C2

Post Reply
gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Centos 7 and Odroid C2

Post by gpson »

I just got the Odroid C2 board.

I'm looking into installing Centos 7 linux. Has anyone tried it? What steps should I take?

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by XeoSal »

Nobody has contributed in such a project yet, it should a little more challenging than before with arm64. You could try creating one with yourself.

gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by gpson »

1. I have found the images for aarch64 architecture. C2 is aarch64 right?

http://mirror.centos.org/altarch/7/isos/aarch64/

2. Is it enough to install the image, what more do I need to access the GPIO ports?

3. How can I create the image by my self? are there any how tos?

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

I am also working on this with my new C2. I'm looking at the same image you are for C7, and am also looking at the work done for 'Cendroid-XU4' ( https://gitlab.com/pixdrift/cendroid-xu4 )

mlinuxguy
Posts: 842
Joined: Thu Feb 28, 2013 10:28 am
languages_spoken: english
ODROIDs: X, X2, XU, XU3, XU4, C1, C1+, C2, N1, USB-IO
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by mlinuxguy »

That is not the approach to take (pulling their boot image)
They know nothing about amlogic s905 SOC chips in their kernel.

What you want to do is use the Hardkernel boot image and a Centos 7 rootfs
The easiest way to do that is take a bootable C2 SD (Ubuntu) and on your PC empty out the 2nd partition (ext4 rootfs)
replace that partition's contents with the Centos7 rootfs tarball

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

mlinuxguy wrote:That is not the approach to take (pulling their boot image)
They know nothing about amlogic s905 SOC chips in their kernel.
Of this I am aware; I'm corresponding with the CentOS devs via their arm devel list. But thanks anyway for the reminder. The bigger issue for the CentOS aarch64 build is that is currently only boots on UEFI boards, not uboot. Seeing S905 support going in to the mainline 4.6 kernel is a good start.
What you want to do is use the Hardkernel boot image and a Centos 7 rootfs
The easiest way to do that is take a bootable C2 SD (Ubuntu) and on your PC empty out the 2nd partition (ext4 rootfs)
replace that partition's contents with the Centos7 rootfs tarball
This is the initial plan, actually, and was suggested by a CentOS core dev, making sure to not overwrite any files required by the kernel. I'm still getting my head wrapped around the uboot setup and the kernel file tree and image used by the C2, but this should be doable. (I have rebuilt CentOS 5 from source on a different 64-bit arch (IA64) so I know more about the CentOS requirements than the C2's requirements......)

crashoverride
Posts: 5867
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 648 times
Contact:

Re: Centos 7 and Odroid C2

Post by crashoverride »

lowen wrote: The bigger issue for the CentOS aarch64 build is that is currently only boots on UEFI boards, not uboot.
Unlike a PC, ARM boards do not have a generic, interchangeable kernel. You will use the exact same kernel currently used for Ubuntu and hosted on GitHub.
lowen wrote:I'm still getting my head wrapped around the uboot setup and the kernel file tree and image used by the C2, but this should be doable.
Take the Ubuntu image and write it to a SD card and boot it. This will place 2 partitions on it and expand the filesystem to use the entire SD. The kernel and device tree are in the first partition (FAT32). The linux file system is in the second partition. The part to keep in the second partition is everything in /lib/modules (take care to preserve permissions).

At this point you can put the SD card in a PC and make a copy of /lib/modules (which are kernel drivers) and format the EXT4 partition taking care to preserve the UUID and label. Then you just expand the CentOS AArch64 rootfs to it. After this, copy back the /lib/modules copy made earlier. Sync and reboot.

This is not a guarantee it will work, but its how you get started.

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

lowen wrote: Of this I am aware; I'm corresponding with the CentOS devs via their arm devel list. But thanks anyway for the reminder. The bigger issue for the CentOS aarch64 build is that is currently only boots on UEFI boards, not uboot. Seeing S905 support going in to the mainline 4.6 kernel is a good start.
I'm working on bringing UEFI on some armv7 boards and possibly armv8. But it's the loooong way to wait for. So, sorry for the useless comment. CentOS is doing right with this (or rather Redhat does). I just couldn't not react on this, since it's obviously interesting for me, I'm very curiuos how many potential users of UEFI firmware on low end arm mini PC's there might be. But I think it's too early to make a thread about this. Still it's needed to know now for choosing right targets from the beginning, since this is the FW it's heavily hardware dependent and I'm not going to turn it into a for-every-toaster-ever-made approach as uboot does.
Would you, guys, playing with XUx/Cx, use UEFI for booting your favourite linux thingies? Fully implemented it would support booting from eMMC, SD, USB (sticks, hdd's), SSD's, HDD's (SATA, SCSI), network. Without the need of having your kernel exactly on eMMC or SD card. With GPT! :lol: Dual, triple, quadruple and more booting. Different OS's, different versions of the same OS. Secure boot. (the last hardly would be welcome here though :D).
I have rebuilt CentOS 5 from source on a different 64-bit arch (IA64) so I know more about the CentOS requirements than the C2's requirements......
Itanium? Cool, I love it! Too bad its support/promotion has been screwed up by Intel.
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

indium wrote: I'm working on bringing UEFI on some armv7 boards and possibly armv8.
lowen wrote: I have rebuilt CentOS 5 from source on a different 64-bit arch (IA64) so I know more about the CentOS requirements than the C2's requirements......
Itanium? Cool, I love it! Too bad its support/promotion has been screwed up by Intel.
SGI Altix 350, in particular. 30CPUs, 54GB of RAM, in a full rack. Pics in the nekochan thread at http://forums.nekochan.net/viewtopic.ph ... t=16725868

As to UEFI, I think that would be a cool thing to do if it is practical.

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

lowen wrote: SGI Altix 350, in particular. 30CPUs, 54GB of RAM, in a full rack. Pics in the nekochan thread at http://forums.nekochan.net/viewtopic.ph ... t=16725868
Cool. I'm so jealous. :)
As to UEFI, I think that would be a cool thing to do if it is practical.
Technically, it's practical, because there is nothing in UEFI what prevents it to be implenented on mobile-like platforms, mini-PC's etc, it's not a server-only firmware interface. And it already does have ARM (both 32/64-bit) as supported architectures. It even states the support of armv4! :lol: As for the lack of documenation for devices, well, uboot somehow deals with this, there is nothing special to UEFI, it doesn't require more than other firmware. Such a hardware dependent thing may have been done on only enough documented SoC's, yes.

I was asking in general, would the guys be interested to use it on Odroids if it appeared. But the guys it seems didn't read or they are happy with uboot <cough,cough> loader. :lol: Guys! I'm not about proposing something what yet doesn't exist, I'm only asking about your interest. You might say that: "yes, we'll take a look at it if it comes out, but we don't believe you, you're just jabbering". It's ok, I want not belief in myself, I want to know the level of public interest. Is it worth to add Odroids (at least C1,2) to my list. From my side, I'll make a thread when there is something downloadable for the probe but now it's only as a survey I blatantly inserted into a different topic thread))). Sorry for this again, but I think it's not that bad, it maybe will be holding it longer on the top attracting new advisors.)
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by nobe »

This question deserves its own thread imho.
What are the features UEFI will provide that uboot doesn't ?

crashoverride
Posts: 5867
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 648 times
Contact:

Re: Centos 7 and Odroid C2

Post by crashoverride »

indium wrote:I was asking in general, would the guys be interested to use it on Odroids if it appeared.
I would be more interested in adding Lua to uboot. After playing with the NodeMCU stuff, it would be amazing to bring some of that functionality to uboot:
http://nodemcu.com/index_en.html#fr_547 ... 501100000f
(UEFI already has its own bytecode interpreter)

As long as the board boots, its not really a concern to me how it accomplishes that. For fixed hardware ARM boards like Odroids, UEFI does not really provide many advantages over uboot. It makes a lot more sense in the armv8 configurable server space with 3rd party PCIe bus accessories to initialize/use at boot.

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

nobe wrote: This question deserves its own thread imho.
Yes it does. When (and if of course) I have more to share, I'll create it. Now the question appeared randomly, because it has been mentioned CentOS wants UEFI. I decided to ask here.
What are the features UEFI will provide that uboot doesn't ?
It's standardized and very well designed as a standard. If some imlpementation claims it's UEFI, the specification mandates to have implemented rich set of boot possibilities. U boot also might have this, but it doesn't. It has it sporadically. On the developers discretion basis. On one board it has, on the other it doesn't.
It gives you much more possibilities to boot, this is especially might be useful on development boards where you want to try boot many slightly different boot options without having a bunch of (expensive) eMMC modules or SD cards or need to constantly wipe and reflush them. Also to boot from any UEFI supported media, you don't need to still have an OS on eMMC/SD. Even UEFI itself doesn't need to be there, it's just there is no other place to sit with miniPC which may lack a dedicated ROM storage. But only UEFI should sit on eMMC for example. And the same UEFI will boot next every supported option from anywhere. Do you have this with Uboot? Shortly saying, you take a one eMMC/SD, partition them with as many GPT partitions as you need, put your different OS's in the appropriate for you place, and then using UEFI OS loader clients choose to boot what you need. Or you boot from any kind of USB storage device (stick, external HDD), or from SATA, or from SCSI, or from network.
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

crashoverride wrote: I would be more interested in adding Lua to uboot. After playing with the NodeMCU stuff, it would be amazing to bring some of that functionality to uboot:
http://nodemcu.com/index_en.html#fr_547 ... 501100000f
(UEFI already has its own bytecode interpreter)
Lua would be an overkill at least for the task UEFI EBC is intended - writing CPU independent uefi boot drivers. And despite the byte code interpreter implementaton is required, compiling your drivers into it is not necessary, so I think on "fixed" arm boards those drivers would be natively compiled. It's an unified/simplified assembly language "for all", not a full scripting language as Lua. Lua is even not OF's Forth. It's hard to believe boot environment really needs such a massive tool.
As long as the board boots, its not really a concern to me how it accomplishes that. For fixed hardware ARM boards like Odroids, UEFI does not really provide many advantages over uboot. It makes a lot more sense in the armv8 configurable server space with 3rd party PCIe bus accessories to initialize/use at boot.
Well, UEFI really isn't tight by its design to any particular type of machine. Those configuration things you mention, it's rather an ACPI concern (with its own bytecode), UEFI is only about booting. With this respect it's equally advantageous be it a server with PCIe or arm sbc with eMMC/SD/USB. Actually there might be more boot options on development board than the server. For the user perspective, UEFI advantage is supplying a very developed set of interfaces to provide boot options as rich as possible. uboot in this looks chaotic and not developed.
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

nobe
Posts: 129
Joined: Sun Feb 07, 2016 9:52 pm
languages_spoken: english, french
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by nobe »

The feature i'd like the most is the ability to choose an OS to boot (more or less the same way grub works in the x86 world).

tuxfriend
Posts: 42
Joined: Thu Sep 03, 2015 4:54 pm
languages_spoken: english,german
ODROIDs: ODROID-XU4,C1+, C2,HC1
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by tuxfriend »

Hi there,
I'm interested too in CentOS 7 on Odroid C2. How is the progress? I've my Odroid since last Saturday. Now I'm playing today with Debian.

Greeting
Andreas

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

nobe wrote: The feature i'd like the most is the ability to choose an OS to boot (more or less the same way grub works in the x86 world).
Your wish is an exact one, what a UEFI enthusiast (implementer/developer/supporter) wants to hear about. :) Because UEFI gives it and does it at the enormously detailed basis. I mean "the ability to choose" is so freaking fulfilled and detailed in the specification, it's just impossible to want yet more "abilities to boot"))) And all the internal complexity of the specification, - all those services, protocols, interfaces is called there to satisfy the exactly this goal - giving a rich boot options set. It won't give you Lua or PHP clearly, but what is about boot of your bunch of OS'es, it will do it. In a very well developed and specified manner. Of course it means a lot of work needed to accomplish this, but working with a standardized, specified infrastructure (which UEFI is) is way easier than on a clumsy chaotic all-for-everyone-and-nobody thing like, you know, like some other pretending to be firmware things. :lol:
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

crashoverride
Posts: 5867
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 648 times
Contact:

Re: Centos 7 and Odroid C2

Post by crashoverride »

I feel compelled to mention that the OS also requires UEFI support. The current C2 kernel does not have that support. The current Linaro branch does. The main difference is the use of ACPI tables instead of device tree.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

CentOS 7 boots fine on my C2 (but it needs some manual tweaking ;):

Code: Select all

U-Boot 2015.01-00084-g8aa84ee (Mar 22 2016 - 19:10:30), Build: jenkins-s905_android-ACCESS=Gerrit,BRANCH=s905_5.1.1_master,DEVICE=odroidc2-203

DRAM:  2 GiB
Relocation Offset is: 76f41000
-------------------------------------------------
* Welcome to Hardkernel's ODROID-C2
-------------------------------------------------
CPU : AMLogic S905
S/N : HKC21323359ADD9A
MAC : 00:1e:06:33:01:da
BID : HKC2211512
-------------------------------------------------
register usb cfg[1][0] = 0000000077f98938
register usb cfg[0][1] = 0000000077f98958
vpu detect type: 5
vpu clk_level = 7
set vpu clk: 666667000Hz, readback: 666660000Hz(0x300)
MMC:   aml_priv->desc_buf = 0x0000000073f39d30
aml_priv->desc_buf = 0x0000000073f3bec0
SDIO Port C: 0, SDIO Port B: 1
[mmc_init] mmc init success
In:    serial
Out:   serial
Err:   serial
----------------------------------
MMC Size : 16 GB
----------------------------------
** Unrecognized filesystem type **
** Unrecognized filesystem type **
movi: the partiton 'logo' is reading...

MMC read: dev # 0, block # 58976, count 4096 ... 4096 blocks read: OK
hpd_state=0
[CANVAS]addr=0x3f800000 width=3840, height=1440

Not find '576cvbs' mapped VIC
Not find '576cvbs' mapped VIC
Error: Bad gzipped data
There is no valid bmp file at the given address
Saving Environment to MMC...
Writing to MMC(0)... done
Net:   Meson_Ethernet
Hit [Enter] key twice to stop autoboot:  0
odroidc2#run m_bc_u0p3
(Re)start USB...
USB0:   dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c0000020
USB (1) use clock source: XTAL input, div: 1
USB (1) base addr: 0xc9100000
Force id mode: Host
dwc_otg: Highspeed device found !

scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

USB device 0:
    Device 0: Vendor: SanDisk  Rev: 0001 Prod: Extreme
            Type: Removable Hard Disk
            Capacity: 29923.1 MB = 29.2 GB (61282631 x 512)
... is now current device
326 bytes read in 306 ms (1000 Bytes/s)
12218784 bytes read in 13407 ms (889.6 KiB/s)
5501967 bytes read in 6358 ms (844.7 KiB/s)
28077 bytes read in 557 ms (48.8 KiB/s)
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   initrd.img-3.14.29
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    5501903 Bytes = 5.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
board_usb_stop cfg: 0
   Loading Ramdisk to 5fac0000, end 5ffff3cf ... OK
   Loading Device Tree to 000000001fff6000, end 000000001ffffdac ... OK

Starting kernel ...

uboot time: 45808446 us
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.14.29 (debian@c2) (gcc version 5.3.1 20160121 (Debian 5.3.1-7) ) #1 SMP PREEMPT Mon Apr 11 23:51:00 CEST 2016
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] secmon: share mem setup
[    0.000000] Reserved memory: initialized node linux,secmon, compatible id aml_secmon_memory
[    0.000000] __reserved_mem_alloc_size: linux,meson-fb
[    0.000000] fb: Reserved memory: created fb at 0x0000000078000000, size 128 MiB
[    0.000000] Reserved memory: initialized node linux,meson-fb, compatible id amlogic, fb-memory
[    0.000000] __reserved_mem_alloc_size: linux,di
[    0.000000] DI reserved memory: created CMA memory pool at 0x0000000076200000, size 30 MiB
[    0.000000] Reserved memory: initialized node linux,di, compatible id amlogic, di-mem
[    0.000000] __reserved_mem_alloc_size: linux,ion-dev
[    0.000000] linux,ion-dev add multi user:ffffffc001bf2320
[    0.000000] ion_dev mem setup
[    0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000] ppmgr share mem setup
[    0.000000] linux,ion-dev add multi user:ffffffc001bfabc8
[    0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000] __reserved_mem_alloc_size: linux,codec_mm_cma
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000068400000, size 188 MiB
[    0.000000] Reserved memory: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[    0.000000] __reserved_mem_alloc_size: linux,picdec
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000065400000, size 48 MiB
[    0.000000] Reserved memory: initialized node linux,picdec, compatible id shared-dma-pool
[    0.000000] __reserved_mem_alloc_size: linux,codec_mm_reserved
[    0.000000] codec_mm:vdec: reserved mem setup
[    0.000000] Reserved memory: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[    0.000000] cma: Reserved 8 MiB at 60800000
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc0741a8000 s19456 r8192 d21504 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 478344
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 root=UUID=71a042a2-9217-473a-bf77-b3cce24f3668 rootwait rw fsck.repair=yes governor=conservative no_console_suspend hdm2
[    0.000000] logo: get hdmimode: 1080p60hz
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1504864K/1947648K available (7602K kernel code, 852K rwdata, 2608K rodata, 863K init, 3147K bss, 442784K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffff8040000000   (  1024 MB)
[    0.000000]     vmemmap : 0xffffff8040010000 - 0xffffff80421d0000   (    33 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc078000000   (  1920 MB)
[    0.000000]       .init : 0xffffffc001a7a000 - 0xffffffc001b51c00   (   863 kB)
[    0.000000]       .text : 0xffffffc001080000 - 0xffffffc001a79af4   ( 10215 kB)
[    0.000000]       .data : 0xffffffc001b52000 - 0xffffffc001c271a0   (   853 kB)
[    0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000004] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000022] mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000a994
[    0.000069] local timer MESON TIMER-G mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000c998
[    0.000090] local timer MESON TIMER-H mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000e99c
[    0.000109] local timer MESON TIMER-I mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff80000109a0
[    0.000120] Switching to timer-based delay loop
[    0.000325] Console: colour dummy device 80x25
[    0.000807] console [tty0] enabled
[    0.003153] allocated 8388608 bytes of page_cgroup
[    0.003162] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.003182] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.003200] pid_max: default: 32768 minimum: 301
[    0.003275] Security Framework initialized
[    0.003303] AppArmor: AppArmor initialized
[    0.003339] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.003351] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.005177] device-tree: Duplicate name in /efusekey, renamed to "key0#1"
[    0.005193] device-tree: Duplicate name in /efusekey, renamed to "key1#1"
[    0.005207] device-tree: Duplicate name in /efusekey, renamed to "key2#1"
[    0.005221] device-tree: Duplicate name in /efusekey, renamed to "key3#1"
[    0.006923] Initializing cgroup subsys debug
[    0.006936] Initializing cgroup subsys memory
[    0.006955] Initializing cgroup subsys devices
[    0.006965] Initializing cgroup subsys freezer
[    0.006976] Initializing cgroup subsys net_cls
[    0.006985] Initializing cgroup subsys blkio
[    0.006994] Initializing cgroup subsys perf_event
[    0.007006] Initializing cgroup subsys net_prio
[    0.007018] Initializing cgroup subsys hugetlb
[    0.007048] ftrace: allocating 26865 entries in 105 pages
[    0.030412] /cpus/cpu@0: Missing clock-frequency property
[    0.030443] /cpus/cpu@1: Missing clock-frequency property
[    0.030455] /cpus/cpu@2: Missing clock-frequency property
[    0.030467] /cpus/cpu@3: Missing clock-frequency property
[    0.030480] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.071845] Meson chip version = RevB (1F:B - 0:0)
[    0.090808] CPU1: Booted secondary processor
[    0.110792] CPU2: Booted secondary processor
[    0.130776] CPU3: Booted secondary processor
[    0.130831] Brought up 4 CPUs
[    0.130860] SMP: Total of 4 processors activated.
[    0.131359] devtmpfs: initialized
[    0.142704] pinctrl core: initialized pinctrl subsystem
[    0.142980] regulator-dummy: no parameters
[    0.143285] NET: Registered protocol family 16
[    0.143837] register canvas platform driver
[    0.143848] codec:ignore bus ops for cpu=25
[    0.143855] codec:ignore bus ops for cpu=29
[    0.143863] codec:register amports ops for bus[0]
[    0.143871] codec:register amports ops for bus[4]
[    0.143879] codec:register amports ops for bus[3]
[    0.143886] codec:register amports ops for bus[2]
[    0.143894] codec:register amports ops for bus[1]
[    0.143901] codec:register amports ops for bus[13]
[    0.143909] codec:register amports ops for bus[2]
[    0.143916] codec:register amports ops for bus[14]
[    0.143939] register rdma platform driver
[    0.144184] vdso: 2 pages (1 code, 1 data) at base ffffffc001b5a000
[    0.144217] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.144744] DMA: preallocated 256 KiB pool for atomic allocations
[    0.145939] software IO TLB [mem 0x5c800000-0x5cc00000] (4MB) mapped at [ffffffc05c800000-ffffffc05cbfffff]
[    0.145953] Serial: AMBA PL011 UART driver
[    0.146026] hdmitx: system: amhdmitx_init
[    0.146034] hdmitx: system: Ver: 2014May6
[    0.146063] tv_vout: tv_init_module
[    0.146082] tv_vout: major number 254 for disp
[    0.146091] vout_notify: vout_register_server
[    0.146098] tv_vout: register tv module server ok
[    0.146126] codec_mm:codec_mm_module_init
[    0.146241] gxbb clk HIU base is 0xffffff800005a000
[    0.146250] gxbb clk ao base is 0xffffff800005c000
[    0.146291] register mpll_clk_out0 success done
[    0.146302] register mpll_clk_out1 success done
[    0.146312] register mpll_clk_out2 success done
[    0.146475] register sys pll success done
[    0.146516] clkrate [ xtal   ] : 24000000Hz
[    0.146525] clkrate [ 32Khz  ] : 32000Hz
[    0.146533] clkrate [ clk81  ] : 166666666Hz
[    0.146541] clkrate [ fixed_pll      ] : 2000000000Hz
[    0.146549] clkrate [ fclk_div2      ] : 1000000000Hz
[    0.146557] clkrate [ fclk_div3      ] : 666666000Hz
[    0.146565] clkrate [ fclk_div4      ] : 500000000Hz
[    0.146573] clkrate [ fclk_div5      ] : 400000000Hz
[    0.146581] clkrate [ fclk_div7      ] : 285714000Hz
[    0.146609] gxbb clock initialization complete
[    0.146709] msr_clk_reg0=ffffff800005e75c,msr_clk_reg2=ffffff800006a764
[    0.147512] amlogic iomap probe done
[    0.147652] Init pinux probe!
[    0.148350] pinmux-gxbb c1109880.pinmux: Probed amlogic pinctrl driver
[    0.148597] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.148617] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.148682] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.148701] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.149289] codec:codec map io source 0x00000000c1100000,size=1048576 to 0xffffff8000680000
[    0.149309] codec:codec map io source 0x00000000c8820000,size=65536 to 0xffffff80000a0000
[    0.149327] codec:codec map io source 0x00000000c883c000,size=8192 to 0xffffff8000094000
[    0.149356] codec:codec map io source 0x00000000c8100000,size=1048576 to 0xffffff8000800000
[    0.149376] codec:codec map io source 0x00000000d0100000,size=262144 to 0xffffff8000980000
[    0.149393] codec:codec map io source 0x00000000c8838000,size=1024 to 0xffffff8000092000
[    0.149453] codec_mm has 2 memory regions
[    0.149469] codec_mm codec_mm.14: assigned reserved memory node linux,codec_mm_cma ok
[    0.149484] codec_mm:codec_mm_reserved_init 0000000061300000->0000000065400000
[    0.149497] codec_mm codec_mm.14: assigned reserved memory node linux,codec_mm_reserved ok
[    0.149509] codec_mm:codec_mm_probe mem init done
[    0.149519] codec_mm:add reserve memory 0000000061300000(aligned 0000000061300000) size=4100000(aligned 4100000)
[    0.149544] codec_mm has 2 memory regions
[    0.149555] codec_mm codec_mm.14: assigned reserved memory node linux,codec_mm_cma ok
[    0.149568] codec_mm:codec_mm_reserved_init 0000000061300000->0000000065400000
[    0.149581] codec_mm codec_mm.14: assigned reserved memory node linux,codec_mm_reserved ok
[    0.149592] codec_mm:codec_mm reserved memory probed done
[    0.149600] codec_mm:codec_mm_probe ok
[    0.150216] VPU driver version: v01
[    0.150225] vpu driver detect cpu type: gxbaby
[    0.150240] load vpu_clk in dts: 666667000Hz(7)
[    0.150263] vpu_probe OK
[    0.150451] hdmitx: system: amhdmitx_probe
[    0.150651] hdmitx hpd irq = 89
[    0.150840] hdmitx20: Mapped PHY: 0xc0800000
[    0.150851] hdmitx20: Mapped PHY: 0xc1104400
[    0.150872] hdmitx20: Mapped PHY: 0xc8100000
[    0.150881] hdmitx20: Mapped PHY: 0xc8834000
[    0.150890] hdmitx20: Mapped PHY: 0xc883a000
[    0.150899] hdmitx20: Mapped PHY: 0xc883c000
[    0.150912] hdmitx20: Mapped PHY: 0xd0100000
[    0.150921] hdmitx20: Mapped PHY: 0xda83a000
[    0.151160] avmute set to 1
[    0.151419] canvas_probe reg=00000000c8838000,size=400
[    0.151435] canvas maped reg_base =ffffff800009e000
[    0.154693] rdma_probe
[    0.184152] bio: create slab <bio-0> at 0
[    0.184612] SCSI subsystem initialized
[    0.184759] usbcore: registered new interface driver usbfs
[    0.184796] usbcore: registered new interface driver hub
[    0.184847] usbcore: registered new device driver usb
[    0.184913] media: Linux media interface: v0.10
[    0.184942] Linux video capture interface: v2.00
[    0.184992] pps_core: LinuxPPS API ver. 1 registered
[    0.185001] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.185021] PTP clock support registered
[    0.185170] logo: logo_init
[    0.185201] Advanced Linux Sound Architecture Driver Initialized.
[    0.185497] Bluetooth: Core ver 2.18
[    0.185520] NET: Registered protocol family 31
[    0.185529] Bluetooth: HCI device and connection manager initialized
[    0.185543] Bluetooth: HCI socket layer initialized
[    0.185556] Bluetooth: L2CAP socket layer initialized
[    0.185579] Bluetooth: SCO socket layer initialized
[    0.185592] NetLabel: Initializing
[    0.185599] NetLabel:  domain hash size = 128
[    0.185606] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.185646] NetLabel:  unlabeled traffic allowed by default
[    0.186053] Switched to clocksource Timer-E
[    0.206231] AppArmor: AppArmor Filesystem Enabled
[    0.210505] NET: Registered protocol family 2
[    0.210966] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.211083] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.211311] TCP: Hash tables configured (established 16384 bind 16384)
[    0.211383] TCP: reno registered
[    0.211396] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.211436] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.211597] NET: Registered protocol family 1
[    0.211758] Unpacking initramfs...
[    0.393031] Freeing initrd memory: 5372K (ffffffc05fac0000 - ffffffc05ffff000)
[    0.393695] kvm [1]: error: no compatible GIC node found
[    0.393730] kvm [1]: error initializing Hyp mode: -19
[    0.394133] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.394212] audit: initializing netlink subsys (disabled)
[    0.394264] audit: type=2000 audit(0.370:1): initialized
[    0.394717] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.398066] VFS: Disk quotas dquot_6.5.2
[    0.398200] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.399284] msgmni has been set to 3437
[    0.400088] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.400160] io scheduler noop registered (default)
[    0.400170] io scheduler deadline registered
[    0.400259] io scheduler cfq registered
[    0.422055] meson-rng c8834000.rng: hwrng registered
[    0.422188] mali-utgard d00c0000.mali: max pp is 3
[    0.422200] mali-utgard d00c0000.mali: set min pp to default 1
[    0.422211] mali-utgard d00c0000.mali: min pp is 1
[    0.422221] mali-utgard d00c0000.mali: set min clk default to 0
[    0.422231] mali-utgard d00c0000.mali: min clk  is 0
[    0.422247] mali-utgard d00c0000.mali: hiu io source  0xffffff80000d2000
[    0.422262] mali-utgard d00c0000.mali: hiu io source  0xffffff80000e4000
[    0.422274] mali-utgard d00c0000.mali: num of pp used most of time 3
[    0.422285] mali-utgard d00c0000.mali: clock dvfs table size is 6
[    0.422296] mali-utgard d00c0000.mali: max clk set 4
[    0.422305] mali-utgard d00c0000.mali: max clk  is 4
[    0.422315] mali-utgard d00c0000.mali: turbo clk set to 5
[    0.422325] mali-utgard d00c0000.mali: turbo clk  is 5
[    0.422336] mali-utgard d00c0000.mali: default clk set to 2
[    0.422346] mali-utgard d00c0000.mali: default clk  is 2
[    0.422406] mali-utgard d00c0000.mali: ====================0====================
[    0.422406] clk_freq= 125000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<30 120>, clk_sample=125
[    0.422432] mali-utgard d00c0000.mali: ====================1====================
[    0.422432] clk_freq= 285000000, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 190>, clk_sample=285
[    0.422457] mali-utgard d00c0000.mali: ====================2====================
[    0.422457] clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshod=<152 207>, clk_sample=400
[    0.422483] mali-utgard d00c0000.mali: ====================3====================
[    0.422483] clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<180 220>, clk_sample=500
[    0.422508] mali-utgard d00c0000.mali: ====================4====================
[    0.422508] clk_freq= 666000000, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshod=<210 236>, clk_sample=666
[    0.422534] mali-utgard d00c0000.mali: ====================5====================
[    0.422534] clk_freq= 792000000, clk_parent=  gp0_pll, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=792
[    0.423985] gpu cooling register okay with err=0
[    0.424026] gpu core cooling register okay with err=0
[    0.424166] Mali: Mali device driver loaded
[    0.426155] loop: module loaded
[    0.426469] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.433804] libphy: stmmac: probed
[    0.433828] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    0.433839] eth0: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
[    0.434119] usbcore: registered new interface driver cdc_ether
[    0.434175] usbcore: registered new interface driver cdc_ncm
[    0.434269] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.434280] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[    0.434357] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.434415] usbcore: registered new interface driver cdc_acm
[    0.434424] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.434468] usbcore: registered new interface driver usb-storage
[    0.434556] usbcore: registered new interface driver usbserial
[    0.434778] mousedev: PS/2 mouse device common for all mice
[    0.435018] i2c /dev entries driver
[    0.435088] IR NEC protocol handler initialized
[    0.435097] IR RC5(x) protocol handler initialized
[    0.435105] IR RC6 protocol handler initialized
[    0.435112] IR JVC protocol handler initialized
[    0.435120] IR Sony protocol handler initialized
[    0.435127] IR RC5 (streamzap) protocol handler initialized
[    0.435136] IR SANYO protocol handler initialized
[    0.435144] IR MCE Keyboard/mouse protocol handler initialized
[    0.435562] ledtrig-cpu: registered to indicate activity on CPUs
[    0.435718] usbcore: registered new interface driver usbhid
[    0.435728] usbhid: USB HID core driver
[    0.435912] ashmem: initialized
[    0.436019] logger: created 256K log 'log_main'
[    0.436332] logger: created 256K log 'log_events'
[    0.436427] logger: created 256K log 'log_radio'
[    0.436522] logger: created 256K log 'log_system'
[    0.436800] ==uart0 reg addr = ffffff80002724c0
[    0.436826] c81004c0.serial: ttyS0 at MMIO 0xc81004c0 (irq = 225, base_baud = 1500000) is a meson_uart
[    0.436846] ttyS0 use xtal 24000000 change 0 to 115200
[    2.074410] console [ttyS0] enabled
[    2.078036] ==uart1 reg addr = ffffff80002744c0
[    2.082359] c11084c0.serial: ttyS1 at MMIO 0xc11084c0 (irq = 58, base_baud = 1500000) is a meson_uart
[    2.091761] enter  cpufreq
[    2.094173] probe  cpufreq okay
[    2.139615] dwc_otg: usb1: type: 1 speed: 0, config: 0, dma: 0, id: 1, phy: c0000020, ctrl: 0
[    2.145138] dwc_otg: Core Release: 3.10a
[    2.146363] dwc_otg: Setting default values for core params
[    2.151882] dwc_otg: curmode: 1, host_only: 1
[    2.158378] dwc_otg: Using Buffer DMA mode
[    2.160240] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    2.165328] dwc_otg: Working on port type = HOST
[    2.170131] dwc_otg dwc2_b: DWC OTG Controller
[    2.174311] dwc_otg dwc2_b: new USB bus registered, assigned bus number 1
[    2.181049] dwc_otg dwc2_b: irq 63, io mem 0x00000000
[    2.186029] dwc_otg: -------hcd->flags.d32 = 0
[    2.190451] dwc_otg: Init: Port Power? op_state=1
[    2.195084] dwc_otg: Init1: Power Port (0)
[    2.199582] hub 1-0:1.0: USB hub found
[    2.202865] hub 1-0:1.0: 1 port detected
[    2.206909] dwc_otg: usb0: type: 0 speed: 0, config: 0, dma: 0, id: 0, phy: c0000000, ctrl: 0
[    2.227761] dwc_otg: Core Release: 3.10a
[    2.227786] dwc_otg: Setting default values for core params
[    2.231575] dwc_otg: curmode: 1, host_only: 0
[    2.240071] dwc_otg: Using Buffer DMA mode
[    2.240093] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    2.245023] dwc_otg: Working on port type = OTG
[    2.249515] dwc_otg: Current port type: SLAVE
[    2.253905] dwc_otg dwc2_a: DWC OTG Controller
[    2.258238] dwc_otg dwc2_a: new USB bus registered, assigned bus number 2
[    2.264960] dwc_otg dwc2_a: irq 62, io mem 0x00000000
[    2.270300] hub 2-0:1.0: USB hub found
[    2.273671] hub 2-0:1.0: 1 port detected
[    2.277660] dwc_otg: Dedicated Tx FIFOs mode
[    2.281923] dwc_otg: using timer detectid change, ffffffc05da1a800
[    2.288213] secmon has 1 memory regions
[    2.291702] secmon: share in base: 0xffffff80004e6000, share out base: 0xffffff80004e8000
[    2.299810] secmon secmon.3: assigned reserved memory node linux,secmon ok
[    2.306658] secmon: probe done
[    2.309723] storage: storage in base: 0xffffff8001780000
[    2.314886] storage: storage out base: 0xffffff8001800000
[    2.320241] storage: storage block base: 0xffffff8001880000
[    2.325753] storage: probe done!
[    2.328994] Error: Driver 'ICPlus IP175C' is already registered, aborting...
[    2.335933] libphy: ICPlus IP175C: Error -16 in registering driver
[    2.342534] aml_sd_emmc_probe: line 2954
[    2.345936] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[    2.355343] aml_sd_emmc_reg_init 677
[    2.358770] pdata->caps 60007
[    2.361632] pdata->caps2 0
[    2.364306] get property:                ocr_avail, value:0x00200080
[    2.370611] get property:                    f_min, value:0x00061a80
[    2.376947] get property:                    f_max, value:0x0510ff40
[    2.383198] get property:             max_req_size, value:0x00020000
[    2.389501] get property:                   irq_in, value:0x00000003
[    2.395790] get property:                  irq_out, value:0x00000005
[    2.402093] get property:              power_level, value:0x00000001
[    2.408428] dwc_otg: Indeed it is in host mode hprt0 = 00021501
[    2.416074] get property:                  gpio_cd, str:
[    2.419511] get property:               gpio_power, str:
[    2.424769] get property:                  pinname, str:sd
[    2.430212] get property:                 jtag_pin, str:
[    2.435464] get property:                card_type, value:0x00000005
[    2.441768] get property:                gpio_dat3, str:
[    2.447029] get property:               gpio_volsw, str:
[    2.516131] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[    2.516178] aml_sd_emmc_probe: line 2954
[    2.527159] [aml_is_card_insert] card OUT

[    2.536122] [aml_is_card_insert] card OUT
[    2.536122] [    2.557359] aml_sd_emmc_reg_init 677
[    2.557467] pdata->caps 80000d47
[    2.558506] pdata->caps2 80a1
[    2.561430] get property:                ocr_avail, value:0x00200080
[    2.567737] get property:                    f_min, value:0x00061a80
[    2.574025] get property:                    f_max, value:0x05f5e100
[    2.580328] get property:             max_req_size, value:0x00020000
[    2.586648] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.593030] get property:                  pinname, str:emmc
[    2.593244] dwc_otg: Indeed it is in host mode hprt0 = 00001101
[    2.604480] get property:                card_type, value:0x00000001
[    2.610777] get property:                gpio_dat3, str:
[    2.616029] get property:                 hw_reset, str:
[    2.676068] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[    2.676070] aml_emmc_hw_reset 1356
[    2.679613] ion_dev has 1 memory regions
[    2.695592] fb: osd_init_module
[    2.695686] fb: viu vsync irq: 35
[    2.696416] meson-fb has 1 memory regions
[    2.701674] meson-fb meson-fb.11: assigned reserved memory node linux,meson-fb ok
[    2.707797] tv_vout: tv_set_current_vmode[672]fps_target_mode=10
[    2.713725] tv_vout: mode is 10,sync_duration_den=1,sync_duration_num=60
[    2.720376] switch_vpu_mem_pd: vencp ON
[    2.724160] tv_vout: TV mode 720p60hz selected.
[    2.728660] tv_vout: new mode =720p60hz set ok
[    2.733042] vout_serve: vinfo mode is: 720p60hz
[    2.737536] switch_vpu_mem_pd: viu_osd1 ON
[    2.741582] switch_vpu_mem_pd: viu_osd2 ON
[    2.745634] switch_vpu_mem_pd: viu_osd_scale ON
[    2.745940] emmc: BKOPS_EN bit is not set
[    2.754277] [aml_sd_voltage_switch] switch to 1.8V for a non-uhs device.
[    2.754277]
[    2.754278] osd_rdma: osd_rdma_init: rmda_table p=0x60849000,op=0x60849000 , v=0xffffff80004fa000
[    2.769886] emmc: clk 100000000 SDR mode tuning start
[    2.770317] rx_tuning_result[0][0] = 10
[    2.770614] rx_tuning_result[0][1] = 10
[    2.770913] rx_tuning_result[0][2] = 10
[    2.771208] rx_tuning_result[0][3] = 10
[    2.771504] rx_tuning_result[0][4] = 10
[    2.771802] rx_tuning_result[0][5] = 10
[    2.772096] rx_tuning_result[0][6] = 10
[    2.772392] rx_tuning_result[0][7] = 10
[    2.772719] rx_tuning_result[0][9] = 10
[    2.772722] best_win_start =9, best_win_size =9
[    2.772724] sd_emmc_regs->gclock =0x100024a, sd_emmc_regs->gadjust =0x32000
[    2.772727] emmc: gclock =0x100024a, gdelay=0x56965076
[    2.772728] gadjust=0x32000
[    2.773811] emmc: try set sd/emmc to DDR mode
[    2.773815] emmc: try set sd/emmc to DDR mode
[    2.773819] emmc: clk 100000000 DDR mode tuning start
[    2.775060] rx_tuning_result[0][0] = 10
[    2.776297] rx_tuning_result[0][1] = 10
[    2.777524] rx_tuning_result[0][2] = 10
[    2.778757] rx_tuning_result[0][3] = 10
[    2.778890] best_win_start =0, best_win_size =4
[    2.778892] sd_emmc_regs->gclock =0x1000245, sd_emmc_regs->gadjust =0x12000
[    2.778895] emmc: gclock =0x1000245, gdelay=0x56965076
[    2.778896] gadjust=0x12000
[    2.779371] emmc: new HS400 MMC card at address 0001
[    2.779741] emmc: clock 100000000, 8-bit-bus-width
[    2.779741]
[    2.779742] mmcblk0: emmc:0001 SDW16G 14.6 GiB
[    2.894364] fb: osd_probe vinfo:ffffffc001bf3590
[    2.894902] hub 1-1:1.0: USB hub found
[    2.895189] hub 1-1:1.0: 4 ports detected
[    2.895554]  mmcblk0: p1
[    2.909088] fb: Frame buffer memory assigned at
[    2.913392] fb:     phy: 0x78000000, vir:0xffffff8003c00000, size=98304K
[    2.920218] fb: osd_set_res_bootargs : mode 60
[    2.924603] fb: osd_set_res_bootargs, no available resolution info.
[    2.930649] fb: fb def : 1280 720 1280 1440 32
[    2.935212] fb: init fbdev bpp is:32
[    2.938754] fb: ---------------clear fb0 memory
[    2.970575] fb: osd[0] canvas.idx =0x40
[    2.970577] fb: osd[0] canvas.addr=0x78000000
[    2.970579] fb: osd[0] canvas.width=5120
[    2.970580] fb: osd[0] canvas.height=1440
[    2.997839] Console: switching to colour frame buffer device 160x45
[    3.028697] fb: Frame buffer memory assigned at
[    3.028788] fb:     phy: 0x7e000000, vir:0xffffff8001a00000, size=1024K
[    3.048570] fb: osd probe OK
[    3.048728] vout_serve: vout_init_module
[    3.049837] vout_serve: meson_vout_probe
[    3.053666] vout_serve: create vout attribute OK
[    3.058304] ge2d: ge2d_init_module
[    3.061580] ge2d: ge2d_dev major:245
[    3.065257] ge2d: ge2d clock is 400 MHZ
[    3.068924] ge2d: ge2d: pdev=ffffffc05dad8400, irq=182, rstc=0xffffffc05ac5a080, clk=ffffffc05daa2100
[    3.078168] ge2d: mapped phy: 0xd0160000
[    3.083975] ge2d: ge2d start monitor
[    3.087556] ge2d: ge2d workqueue monitor start
[    3.087641] codec:Amlogic A/V streaming port init
[    3.088277] codec:get gate demux control ok ffffffc05ac61a00
[    3.088281] codec:get gate parser_top control ok ffffffc05ac61b00
[    3.088286] codec:get gate vpu_intr control ok ffffffc05ac61c00
[    3.088291] codec:get gate vdec control ok ffffffc05ac61d00
[    3.088456] codec:[tsync_pcr_init]init success.
[    3.088488] codec:regist mpeg12 codec profile
[    3.088519] codec:regist mpeg4 codec profile
[    3.088521] codec:amvdec_vc1 module init
[    3.088551] codec:regist vc1 codec profile
[    3.088552] codec:amvdec_h264 module init
[    3.088601] codec:regist h264 codec profile
[    3.088603] codec:amvdec_h264mvc module init
[    3.088636] codec:regist hmvc codec profile
[    3.088638] codec:amvdec_h264_4k2k module init
[    3.088668] codec:regist h264_4k2k codec profile
[    3.088670] codec:amvdec_h265 module init
[    3.088699] codec:regist hevc codec profile
[    3.088729] codec:regist mjpeg codec profile
[    3.088730] codec:amvdec_real module init
[    3.088759] codec:regist real codec profile
[    3.088761] codec:amvdec_avs module init
[    3.088793] codec:regist avs codec profile
[    3.088833] amvenc_avc_probe -- reserved memory config fail.
[    3.088835] amvenc_avc - cma memory pool size: 32 MB
[    3.088854] encode_wq_init.
[    3.088863] encode start monitor.
[    3.088934] encode workqueue monitor start.
[    3.089021] jpegenc module init
[    3.089110] codec:picdec_driver_probe called.
[    3.089113] picdec has 1 memory regions
[    3.089144] picdec picdec.19: assigned reserved memory node linux,picdec ok
[    3.089145] codec:picdec_driver_probe done.
[    3.089146] codec:reserved memory config fail , use CMA      .
[    3.244533] codec:cma memory is 65400000 , size is  3000000
[    3.248302] codec:0 addr is 65400000################
[    3.252900] codec:1 addr is 65551800################
[    3.257821] switch_vpu_mem_pd: vpu_arb ON
[    3.261892] codec:create_ge2d_work_queue video task ok
[    3.267048] codec:register clk_set_setting cpu[31]
[    3.271749] di_module_init ok.
[    3.274558] di_module_init: major 241
[    3.278288] di_probe
[    3.280366] deinterlace has 1 memory regions
[    3.284540] di reveser memory 0x76200000, size 30MB.
[    3.289459] deinterlace deinterlace.21: assigned reserved memory node linux,di ok
[    3.297065] rdma_register, rdma_table_addr ffffff8000642000 rdma_table_addr_phy 6084e000 reg_buf ffffffc05ad0e000
[    3.307280] rdma_register success, handle 1 table_size 8192
[    3.312799] di_probe allocate rdma channel 1.
[    3.317138] DI hw version 2.
[    3.319974] 0x000000c3:Y=c3,U=0,V=0
[    3.323434] 0x000000c4:Y=c4,U=0,V=0
[    3.326869] 0x000000c5:Y=c5,U=0,V=0
[    3.330288] 0x000000c6:Y=c6,U=0,V=0
[    3.333710] 0x000000c7:Y=c7,U=0,V=0
[    3.337152] 0x000000c8:Y=c8,U=0,V=0
[    3.340567] 0x000000c9:Y=c9,U=0,V=0
[    3.343996] 0x000000ca:Y=ca,U=0,V=0
[    3.347434] 0x000000cb:Y=cb,U=0,V=0
[    3.350851] 0x000000cc:Y=cc,U=0,V=0
[    3.354284] 0x000000cd:Y=cd,U=0,V=0
[    3.357715] 0x000000ce:Y=ce,U=0,V=0
[    3.361141] 0x000000cf:Y=cf,U=0,V=0
[    3.364652] di_probe here.
[    3.367230] switch_vpu_mem_pd: di_pre OFF
[    3.371318] efusekeynum: 4
[    3.373849] efusekeyname:             mac    offset:     0   size:     6
[    3.380133] efusekeyname:          mac_bt    offset:     6   size:     6
[    3.386315] efusekeyname:        mac_wifi    offset:    12   size:     6
[    3.392483] efusekeyname:            usid    offset:    18   size:    16
[    3.398780] efuse efuse.7: probe OK!
[    3.402288] 6aml_unifykeys_init done!
[    3.405822] ppmgr module init func called
[    3.409843] ppmgr_driver_probe called
[    3.413384] ppmgr has 1 memory regions
[    3.417093] init ppmgr memsource 74200000->761fffff
[    3.422074] ppmgr_probe done
[    3.424960] ionvideo-000: V4L2 device registered as video13
[    3.430367] [dsp]register dsp to char divece(257)
[    3.435250] amaudio: driver amaudio succuess!
[    3.439321] amlvideo_init called
[    3.440724] amlvideo_create_instance called
[    3.446673] v4l2_dev.name=:amlvideo-000
[    3.450500] amlvideo-000: V4L2 device registered as video10
[    3.456001]
[    3.456001]
[    3.456001]  VECM init
[    3.456001]
[    3.467111] saradc c1108680.saradc: initialized by BL30
[    3.468527] saradc c1108680.saradc: calibration start:
[    3.473206] saradc c1108680.saradc: nominal=0, value=3
[    3.478334] saradc c1108680.saradc: nominal=256, value=253
[    3.483768] saradc c1108680.saradc: nominal=512, value=509
[    3.489223] saradc c1108680.saradc: nominal=768, value=767
[    3.494646] saradc c1108680.saradc: nominal=1023, value=1022
[    3.500247] saradc c1108680.saradc: calibration end: coef=4080
[    3.506105] remote: Driver init
[    3.506349] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[    3.515864] remote: platform_data g_remote_ao_offset=580
[    3.521165] remote: platform_data irq =228
[    3.525227] remote: set drvdata completed
[    3.529275] remote: device_create_file completed
[    3.534294] input: aml_keypad as /devices/meson-remote.9/input/input0
[    3.540654] remote: input_register_device completed
[    3.545529] remote: [0x480] = 0x1dd0190
[    3.549292] remote: [0x484] = 0xf800ca
[    3.552961] remote: [0x488] = 0x82006e
[    3.556683] remote: [0x48c] = 0x3c0030
[    3.560371] remote: [0x490] = 0x30fa0013
[    3.564253] remote: [0x498] = 0x6f19000
[    3.568025] remote: [0x49c] = 0xbe40
[    3.571517] remote: [0x580] = 0xfa00a0
[    3.575203] remote: [0x584] = 0xfa00a0
[    3.578901] remote: [0x588] = 0xfa00a0
[    3.582568] remote: [0x58c] = 0x640030
[    3.586252] remote: [0x590] = 0x30fa0013
[    3.590086] remote: [0x598] = 0x961b800
[    3.593835] remote: [0x59c] = 0x9740
[    3.597337] remote: [0x5a0] = 0x104
[    3.600732] remote: [0x5a4] = 0x0
[    3.603976] remote: [0x5a8] = 0x0
[    3.607243] remote: set_remote_mode[72]
[    3.611035] remote: remote config major:237
[    3.615287] remote: physical address:0x5ad1c000
[    3.620074] aml-thermal : min state:500000 400 1 2
[    3.624697] aml-thermal : not found gpucore node
[    3.629185] aml-thermal : gpu coef:437, pp:3
[    3.634876] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    3.639900] scsi0 : usb-storage 1-1.2:1.0
[    3.643617] aml-thermal : cdev1 set upper to 5
[    3.648028] aml-thermal : cdev2 set upper to 5
[    3.652437] aml-thermal : cdev0 set upper to 3
[    3.659377] 6--------------------------------------------------------
[    3.663356] 6odroid_sysfs_init(321) : Sleep Enable !!
[    3.668477] 6--------------------------------------------------------
[    3.675217] input: vt-input as /devices/virtual/input/input1
[    3.680712] 6Virtual-Key input driver registered!!
[    3.685820] adbattery: android dummy battery driver loaded
[    3.691258] enter aml_soc_platform_pcm2bt_probe
[    3.695554] divider=16,frac=33920000,SDMval=4523
[    3.700060] enter aml_pcm_dai_probe
[    3.703403] [aml-spdif-dai]enter aml_dai_spdif_init
[    3.708267] aml_spdif_probe
[    3.711001] enter spdif_dit_probe
[    3.714665] odroid_hdmi_snd odroid_hdmi.36: dit-hifi <-> I2S.27 mapping ok
[    3.721633] GACT probability on
[    3.724236] Mirror/redirect action on
[    3.727899] u32 classifier
[    3.730588]     Performance counters on
[    3.734391]     input device check on
[    3.738035]     Actions configured
[    3.741485] TCP: cubic registered
[    3.744709] NET: Registered protocol family 17
[    3.749211] NET: Registered protocol family 15
[    3.753636] Bluetooth: RFCOMM TTY layer initialized
[    3.758441] Bluetooth: RFCOMM socket layer initialized
[    3.763542] Bluetooth: RFCOMM ver 1.11
[    3.767261] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.772588] Bluetooth: BNEP filters: protocol multicast
[    3.777772] Bluetooth: BNEP socket layer initialized
[    3.782703] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.788613] Bluetooth: HIDP socket layer initialized
[    3.793551] NET: Registered protocol family 35
[    3.798091] Key type dns_resolver registered
[    3.802442] Registering SWP/SWPB emulation handler
[    3.807195] AppArmor: AppArmor sha1 policy hashing enabled
[    3.812405] regulator-dummy: disabling
[    3.816165] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.823503] input: cec_input as /devices/virtual/input/input2
[    3.828340] 6enter meson_pm_probe!
[    3.831544] meson_pm_probe done
[    3.834735] ALSA device list:    3.840717] ttyS0 use xtal 24000000 change 115200 to 115200
[    3.843223] Freeing unused kernel memory: 860K (ffffffc001a7a000 - ffffffc001b51000)
Loading, please wait...
[    3.877515] systemd-udevd[106]: starting version 215
[    3.880854] random: systemd-udevd urandom read with 103 bits of entropy available
[    4.013273] random: nonblocking pool is initialized
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system [    4.072476] vout_serve: vmode set to 1080p60hz
[    4.072476]
... Begin: Running /scripts/loca[    4.080472] vout_serve: disable HDMI PHY as soon as possible
[    4.086541] tv_vout: tv_set_current_vmode[672]fps_target_mode=12
[    4.092416] tv_vout: mode is 12,sync_duration_den=1,sync_duration_num=60
[    4.099113] switch_vpu_mem_pd: vencp ON
[    4.102856] tv_vout: TV mode 1080p60hz selected.
[    4.107443] tv_vout: new mode =1080p60hz set ok
[    4.111899] vout_serve: vinfo mode is: 1080p60hz
[    4.116493] vout_serve: new mode 1080p60hz set ok
[    4.121150] hdmitx: video: get current mode: 1080p60hz
[    4.126276] hdmitx: hpd: HPD deassert!
[    4.129966] fb: current vmode=1080p60hz
l-top ... /scripts/local-top/c2_init.sh: line 108: fbset: not found
/[    4.137643] vout_serve: vmode set to 1080p60hz
[    4.137643]
scripts/local-top/c2_init.sh: li[    4.147993] vout_serve: don't set the same mode as current.
[    4.154087] fb: osd0 free scale DISABLE
ne 108: fbset: not found
[    4.176962] fb: osd[0] enable: 1 (c2_init.sh)
done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    4.646729] scsi 0:0:0:0: Direct-Access     SanDisk  Extreme          0001 PQ: 0 ANSI: 6
[    4.653972] sd 0:0:0:0: [sda] 61282631 512-byte logical blocks: (31.3 GB/29.2 GiB)
[    4.659969] sd 0:0:0:0: [sda] Write Protect is off
[    4.664577] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.685848]  sda: sda1 sda2 sda3 sda4
[    4.691843] sd 0:0:0:0: [sda] Attached SCSI removable disk
Begin: Running /scripts/local-block ... done.
done.
Begin: Checking root file system ... fsck from util-linux 2.25.2
[    5.256929] switch_vpu_mem_pd: viu_vd1 OFF
[    5.259600] switch_vpu_mem_pd: afbc_dec OFF
[    5.263530] switch_vpu_mem_pd: di_post OFF
[    5.267543] switch_vpu_mem_pd: viu_vd2 OFF
/dev/sda3: clean, 54940/458752 files, 428808/1835008 blocks
done.
[    5.339932] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    5.701118] systemd[1]: Inserted module 'autofs4'
[    5.729409] NET: Registered protocol family 10
[    5.732707] systemd[1]: Inserted module 'ipv6'
[    5.739216] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.741886] systemd[1]: Inserted module 'ip_tables'
[    5.759694] ttyS0 use xtal 24000000 change 115200 to 115200
[    5.778114] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTI)
[    5.796454] systemd[1]: Detected architectuR    5.800454] ttyS0 use xtal 24000000 change 115200 to 115200

Welcome to CentOS Linux 7 (AltArch)!

[    5.816145] systemd[1]: No hostname configured.
[    5.818909] systemd[1]: Set hostname to <localhost>.
[    5.858301] ttyS0 use xtal 24000000 change 115200 to 115200
[    6.082283] systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without rest.
[    6.151632] systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    6.228228] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[    6.256152] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.263304] systemd[1]: Starting Arbitrary Executable File Formats File System A]    6.272654] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Created slice Root Slice.
[    6.296129] systemd[1]: Created slice Root Slice.
[    6.299648] systemd[1]: Start    6.303517] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on LVM2 poll daemon socket.
[    6.326118] systemd[1]: Listening on LVM2 poll daemon socket.
[    6.329758] systemd[1]: Starting LVM2 pol    6.335566] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Created slice User and Session Slice.
[    6.356106] systemd[1]: Created slice User and Session Slice.
[    6.359775] systemd[1]: Starting Userꁠ[    6.365334] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on udev Control Socket.
[    6.386106] systemd[1]: Listening on udev Control Socket.
[    6.389610] systemd[1]: Starting ude    6.394800] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Created slice System Slice.
[    6.416106] systemd[1]: Created slice System Slice.
[    6.419577] systemd[1]: Starting System Slice.
[    6.423187] systemd[1]: Started Replay Read-Ahead Data.
[    6.428499] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.435899] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    6.445185] systemd[1]: Starting Collect r[    6.449484] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Collect Read-Ahead Data...
[    6.459587] systemd-readahead[181]: Failed to create fanotify object: Function not implemented
[    6.476642] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[    6.496147] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    6.500708] systemd[1]: Starting Device-mapper ev    6.507079] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Reached target Slices.
[    6.526108] systemd[1]: Reached target Slices.
[    6.529588] systemd[1]: Starting[    6.533528] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.556112] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.560086] systemd[1]: Starting system-seriS    6.566409] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Created slice system-getty.slice.
[    6.586110] systemd[1]: Created slice system-getty.slice.
[    6.589483] systemd[1]: Starting[    6.594477] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on Journal Socket.
[    6.616110] systemd[1]: Listening on Journal Socket.
[    6.619145] systemd[1]: Starting Journal Socket.
[    6.624325] systemd[1]: ▒[    6.628011] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Journal Service...
[    6.648038] systemd[1]: Starting Create list of required static device nodesӬ▒r▒▒▒▒º▒▒ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Create list of required st... nodes for the current kernel...
[    6.676440] systemd[1]: Started Device-Mapper Multipath Device Controller.
[    6.682020] systemd[1]: Mounting POSIX Mess[    6.687242] ttyS0 use xtal 24000000 change 115200 to 115200
         Mounting POSIX Message Queue File System...
[    6.707753] systemd[1]: Mounting ▒[    6.710948] ttyS0 use xtal 24000000 change 115200 to 115200
         Mounting Debug File System...
[    6.736481] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Reached target Swap.
[    6.756120] systemd[1]: Reached target Swap.
[    6.758898] syst[    6.761998] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on udev Kernel Socket.
[    6.786123] systemd[1]: Listening on udev Kernel Socket.
[    6.788883] systemd[1]: S    6.793794] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on LVM2 metadata daemon socket.
[    6.816110] systemd[1]: Listening on LVM2 metadata daemon socket.
[    6.819305] systemd[1]: Starting LVM2 metadata daemon socket.
[    6.826558] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeven    6.835675] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[    6.856650] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    6.876203] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    6.880493] systemd[1]: Starting /dev/initctl C[    6.887420] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Listening on Delayed Shutdown Socket.
[    6.906135] systemd[1]: Listening on Delayed Shutdown Socket.
[    6.909039] systemd[1]: Starting Delayed Shutdown Socket.
[    6.915961] systemd[1]: Mounting    6.920182] ttyS0 use xtal 24000000 change 115200 to 115200
         Mounting Huge Pages File System...
[    6.938327] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Mounted Huge Pages File System.
[    6.956129] systemd[1]: Mounted H    6.959222] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Mounted POSIX Message Queue File System.
[    6.976115] systemd[1]: Mounted POSIY    6.979502] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Mounted Debug File System.
[    6.996118] systemd[1]: Mounted DebugX    6.999587] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Journal Service.
[    7.016129] systemd[1]: Started Journal Service.
[    7.020974] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Collect Read-Ahead Data.
[    7.047834] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    7.102663] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started LVM2 metadata daemon.
[    7.128057] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting LVM2 metadata daemon...
[    7.148738] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Remount Root and Kernel File Systems...
[    7.170513] EXT4-fs (sda3): re-mounted. Opts: (null)
[    7.180432] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Setup Virtual Console...
[    7.201247] ttyS0 use xtal 24000000 change 115200 to 115200
         Mounting Configuration File System...
[    7.232525] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Create Static Device Nodes in /dev...
[    7.258171] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Apply Kernel Variables...
[    7.281712] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Mounted Configuration File System.
[    7.307931] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Remount Root and Kernel File Systems.
[    7.327622] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Create Static Device Nodes in /dev.
[    7.347907] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Apply Kernel Variables.
[    7.367359] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Setup Virtual Console.
[    7.413429] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting udev Kernel Device Manager...
[    7.439365] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Flush Journal to Persistent Storage...
[    7.456548] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Reached target Local File Systems (Pre).
[    7.482229] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting udev Coldplug all Devices...
[    7.510401] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Configure read-only root support...
[    7.528187] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Load/Save Random Seed...
[    7.549657] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started udev Kernel Device Manager.
[    7.569234] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Load/Save Random Seed.
[    7.587439] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[    7.618093] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Configure read-only root support.
[    7.637471] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started udev Coldplug all Devices.
[    7.669316] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Found device /dev/ttyS0.
[    7.704563] Driver for 1-wire Dallas network protocol.
[    7.706517] systemd-journald[183]: Received request to flush runtime journal from P    7.717053] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Flush Journal to Persistent Storage.
[    7.775706] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Reached target Sound Card.
[    7.798424] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting udev Wait for Complete Device Initialization...
[    7.818544] ttyS0 use xtal 24000000 change 115200 to 115200
         Starting Show Plymouth Boot Screen...
[    7.872637] ttyS0 use xtal 24000000 change 115200 to 115200
[  OK  ] Started Show Plymouth Boot Screen.
GG[    7.973087] ionvideo open
[    8.166077] ionvideo_stop_generating!!!!
[    8.167657] ionvideo release
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of DM RAID sets...
[    8.215139] device-mapper: uevent: version 1.0.3
[    8.217022] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[  OK  ] Started Activation of DM RAID sets.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Security Auditing Service...
[    8.394872] audit: type=1305 audit(8.370:2): audit_pid=283 old=0 auid=4294967295 ses=4294967295 res=1
[  OK  ] Started Security Auditing Service.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[  OK  ] Listening on Open-iSCSI iscsid Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Open-iSCSI iscsiuio Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Dump dmesg to /var/log/dmesg...
         Starting firewalld - dynamic firewall daemon...
[  OK  ] Started irqbalance daemon.
         Starting irqbalance daemon...
         Starting System Logging Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting D-Bus System Message Bus...
         Starting NTP client/server...
         Starting Login Service...
[  OK  ] Started System Logging Service.
[  OK  ] Started Dump dmesg to /var/log/dmesg.
[  OK  ] Started Login Service.
[  OK  ] Started NTP client/server.
[    9.495332] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    9.524671] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.693436] Ebtables v2.0 registered
[    9.722908] Bridge firewalling registered
[  OK  ] Started firewalld - dynamic firewall daemon.
         Starting Network Manager...
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
         Starting Authorization Manager...
         Starting WPA Supplicant daemon...
[  OK  ] Started Network Manager Wait Online.
         Starting LSB: Bring up/down networking...
[FAILED] Failed to start LSB: Bring up/down networking.
See 'systemctl status network.service' for details.
[  OK  ] Started WPA Supplicant daemon.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting Dynamic System Tuning Daemon...
         Starting Postfix Mail Transport Agent...
         Starting Logout off all iSCSI sessions on shutdown...
[  OK  ] Started OpenSSH server daemon.
         Starting OpenSSH server daemon...
[  OK  ] Started Logout off all iSCSI sessions on shutdown.
         Starting Availability of block devices...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Permit User Sessions...
         Starting Crash recovery kernel arming...
[  OK  ] Started Availability of block devices.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Command Scheduler.
         Starting Command Scheduler...
         Starting Wait for Plymouth Boot Screen to Quit...
         Starting Terminate Plymouth Boot Screen...
[   12.977495] ttyS0 use xtal 240p[   12.980427] ttyS0 use xtal 24000000 change 115200 to 115200
[   13.011728] ttyS0 use xtal 24000000 change 115200 to 115200
[   13.026561] ttyS0 use xtal 24000000 change 115200 to 115200
[   13.681619] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

CentOS Linux 7 (AltArch)
Kernel 3.14.29 on an aarch64

localhost login: [   14.826160] libphy: stmmac-0:00 - Link is Up - 1000/Full

CentOS Linux 7 (AltArch)
Kernel 3.14.29 on an aarch64

localhost login: root
[   22.420690] ttyS0 use xtal 24000000 change 115200 to 115200
[   22.436093] ttyS0 use xtal 24000000 change 115200 to 115200
[   22.455726] ttyS0 use xtal 24000000 change 115200 to 115200
Last login: Thu Jan  1 00:00:26 on ttyS0
[root@localhost ~]# uname -a
Linux localhost 3.14.29 #1 SMP PREEMPT Mon Apr 11 23:51:00 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]#

tuxfriend
Posts: 42
Joined: Thu Sep 03, 2015 4:54 pm
languages_spoken: english,german
ODROIDs: ODROID-XU4,C1+, C2,HC1
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by tuxfriend »

Hi umiddelb,

thanks for your work. What is your base: you make all this changes on a normal Debian PC or direct on the Odroid C2. Which Image? The Ubuntu or Debian one? It is possible the get the whole modified Image ?
I'm working with the Ubuntu-Image with changing the root filesytems like the the work with the Odroid XU4.

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

crashoverride wrote: I feel compelled to mention that the OS also requires UEFI support. The current C2 kernel does not have that support. The current Linaro branch does. The main difference is the use of ACPI tables instead of device tree.
It's possible for UEFI to pass to the kernel the DT as a configuration table in the system table. Among ACPI tables or anything else. OS loader (which is an UEFI application written to take the final step of loading the target OS) for the particular boot option also might pass DT for its kernel without any problem. So, theoretically, there is no need for a kernel to support UEFI, but, of course, it would be very nice, if it did. Because at least the kernel should respect the presence of UEFI and not screw up the Runtime Services which continue to sit in memory at the OS run and may be used and therefore should remain operational. They even might be mapped into some Virtual Address Space, by that mentioned OS loader, proper way (using the runtime service SetVirtualAddressMap()) (the best choise is the kernel part of a space which is the same for all VAS'es). OS is not mandated to use them but should be aware of them and not touch the memory with them (tiny amount actually). But even if not being aware of them it pollutes those pages with Runtime services, it's not that bad.
It's not necessary to support UEFI, although desirable, and it should not be that complex to add that support (at least the mininum level required to proper coexisting), there is even no need to get rid of using DT's, they still may be used (even by uefi itself, - DT aware drivers or applications like OS loaders might populate some nodes, correct or do any other operations if needed).
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

tuxfriend wrote:Hi umiddelb,

thanks for your work. What is your base: you make all this changes on a normal Debian PC or direct on the Odroid C2. Which Image? The Ubuntu or Debian one? It is possible the get the whole modified Image ?
I'm working with the Ubuntu-Image with changing the root filesytems like the the work with the Odroid XU4.
Hi tuxfriend,

I'll try to integrate the CentOS setup as part of z2d in the next couple of days, so you will be able to create your own CentOS install on your C2 directly. At this time I prefer Debian on the C2 in favour of Ubuntu, since Ubuntu on aarch64 still has some issues to be solved. The CentOS 7 base image can be found here.

Cheers
Uli

tuxfriend
Posts: 42
Joined: Thu Sep 03, 2015 4:54 pm
languages_spoken: english,german
ODROIDs: ODROID-XU4,C1+, C2,HC1
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by tuxfriend »

Hi umiddelb,
after a few hours compiling (I've made everything from the howto on the C2) I've manged to get CentOS on Odroid C2. Thank you for your Howto.

Greeting

Andreas

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

tuxfriend wrote:Hi umiddelb,
after a few hours compiling (I've made everything from the howto on the C2) I've manged to get CentOS on Odroid C2. Thank you for your Howto.

Greeting

Andreas
Hi Andreas,

I've committed the scripts for setting up CentOS 7 on the C2 to GitHub. You may try them. Feedback welcome.
Compiling the kernel on the C2 shouldn't run for hours, btw. did you manage to compile the 3.14 kernel under CentOS (`make menuconfig` throws "unknown type name ‘u64’")?

Cheers
Uli

tuxfriend
Posts: 42
Joined: Thu Sep 03, 2015 4:54 pm
languages_spoken: english,german
ODROIDs: ODROID-XU4,C1+, C2,HC1
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by tuxfriend »

umiddelb,
thanks for the update. I will look for it tomorrow.
My C2 need nearly 3 hours to compile all the steps from "Compile C2 BSP kernel" with the Debian Image. I had to change "make -j 8 Image dtbs modules" to "make without -j" because of the high temperature. The C2 reboots after few minutes. The only thing I did under CentOS was mounting the SD-Card-Image, deleting all the Debian stuff and moving all the files from "/media/target/" to the root.
Greeting
Andreas

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

tuxfriend wrote: ...
My C2 need nearly 3 hours to compile all the steps from "Compile C2 BSP kernel" with the Debian Image. I had to change "make -j 8 Image dtbs modules" to "make without -j" because of the high temperature. The C2 reboots after few minutes.
This shouldn't happen. Usually the CPU gets throttled at higher temperatures, see here for details. You may file an RMA.
tuxfriend wrote: The only thing I did under CentOS was mounting the SD-Card-Image, deleting all the Debian stuff and moving all the files from "/media/target/" to the root.
Then you might check if you have updated the kernel image (on the 1st partition) as well, otherwise the kernel won't load any kernel modules.

User avatar
odroid
Site Admin
Posts: 42334
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3657 times
Been thanked: 2030 times
Contact:

Re: Centos 7 and Odroid C2

Post by odroid »

Kernel cloning might take a few hours if you have slow connectivity.
Kernel compiling time was around 30~40 minutes on my eMMC when I followed this instruction with the stock Ubuntu image.
http://odroid.com/dokuwiki/doku.php?id= ... nux_kernel
You might need 40~60 minutes if your SD card is slow.

It is worth to remove the top-case while you run a heavy computing or compiling.
Also check your power supply too.

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

FWIW, for me the clone took about 4 minutes, and the build took about 40. This is using meveric's Jessie image, which incidentally needs several packages installed to be able to clone and build the kernel (nothing radical, except when you install git you will also need to install ca-certificates )

The build worked ok. I'm waiting on an eMMC card to be shipped from odroid to finish this; I only purchased a couple of the inexpensive SanDisk Ultra 32GB microSD cards, and hadn't bought an eMMC yet.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

If you want to take a shortcut (instead of the full journey) you make take the setup-scripts to be found here.

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

umiddelb wrote:If you want to take a shortcut (instead of the full journey) you make take the setup-scripts to be found here.
Thanks; I had cloned z2d earlier and am doing git pull as needed to keep it up to date. It goes a bit further than what I need (I'm not after docker), but does have enough information to illustrate some of the potential pitfalls.

At the moment I'm waiting on delivery of the eMMC module, since I'd rather do the build totally on the C2 instead of just making it happen using an SD reader and my CentOS 7 laptop (although, depending on how long the eMMC takes to get here I may just go ahead and do the rootfs work using my C7 laptop.....).

The CentOS developers would likely prefer to just make a compressed image for the C2 that could just simply be blown onto flash and just booted right away, removing any manual steps, much like their images for CubieTruck and others.

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

lowen wrote:...
The CentOS developers would likely prefer to just make a compressed image for the C2 that could just simply be blown onto flash and just booted right away, removing any manual steps, much like their images for CubieTruck and others.
Feel free, I personally prefer it this way around, but I'm fine if someone else provides (and maintains) ready to use images on top of this. I talked to Jim Perrin, he considers to publish a generic CentOS rootfs tar archive like Ubuntu or Archlinux do.

User avatar
indium
Posts: 93
Joined: Thu May 28, 2015 2:27 pm
languages_spoken: english, ukrainian
Location: Ukraine
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by indium »

umiddelb wrote:
lowen wrote:...
The CentOS developers would likely prefer to just make a compressed image for the C2 that could just simply be blown onto flash and just booted right away, removing any manual steps, much like their images for CubieTruck and others.
Feel free, I personally prefer it this way around, but I'm fine if someone else provides (and maintains) ready to use images on top of this. I talked to Jim Perrin, he considers to publish a generic CentOS rootfs tar archive like Ubuntu or Archlinux do.
Well, of course the linaro blog is a big deal, but that guy from the blog has expressed his own opinion on the topic:
At this present time, I don’t see any compelling reason to adopt ACPI outside of the server market. If you are not doing server work you can stop reading right now and keep using what you already have.
And despite he was talking about UEFI+ACPI thing, he funny avoided to mention UEFI in that "I don't see" part. Happily, possibility of implemetation of UEFI anywhere it's applicaple to by its definition is not bound neither to linux nor to linaro nor anybody else. And doesn't need any kind of blessing from those parties. I'm not sure about ACPI, but mostly the same (as I remember ACPI has a hardware part). I believe UEFI on SBC's would be a reality faster than arm becomes a (serious) server reality. :lol:
ANT a Windows NT-inspired hobby OS for x86 and arm PCs/SBCs

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

Either way, I have CentOS 7 running on my C2. Incidentally, if you use meveric's Jessie you will get a kernel with all of the xfs goodness already installed.

I did the install using meveric's Jessie, fully updated, as the base, and then, since I haven't gotten my eMMC module yet, I did most of the work on my CentOS 7 laptop and a USB 3.0 microSD reader (the Transcend reader recommended by hardkernel). I made sure to copy /lib/modules/3.14.29+ over, but I haven't yet pulled the kernel includes. I did pull a built kernel source tree over from the Jessie install, and it may be that I can do the include and firmware install steps from the CentOS root using the tree I built under Jessie. Once my eMMC gets here I may do another build just to be consistent.

At the moment I'm doing the real testing, building GNURadio from source.....

EDIT (a few days later). The GNURadio build requires a lot of RAM. In fact, it requires more RAM than what the C2 even has on it. On my CentOS 7 laptop (Dell Precision M6500, Core i7-740QM (Quad Core 1.73GHz) with 20GB of RAM (not a typo; twenty GB)) it takes right at 2 hours to build GNURadio.

I succeeded in crashing the CentOS 7 install multiple times on the C2 trying to build GNURadio, and it always crashed (hard kernel panic crash) in the same place. So I did some testing with a much less capable Intel box, a Dell Inspiron 530s (Core 2 Duo E8600 3.3GHz, 2GB RAM), and found out that the GNURadio build hits swap. Hits swap hard.

So, after the eMMC card arrived (fantastic shipping speed, HardKernel!) I set it up with CentOS7, but added a swap partition:

Code: Select all

Disk /dev/mmcblk0: 31.3 GB, 31268536320 bytes, 61071360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xd3630000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048      264191      131072    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          264192     8652799     4194304   82  Linux swap / Solars
/dev/mmcblk0p3         8652800    58984447    25165824   83  Linux
[root@dhcp-pool169 ~]# 

And here's a quick screencap of the terminal session running top showing just how much that one file in GNURadio needed to compile:
Image

Swap (or at least 3GB RAM, preferably 4GB) is required for building GNURadio...... the build (which didn't include some pieces due to EPEL7 not being available yet for things like wxPython and others required by the GNURadio GUI) took right at 400 minutes (6 hours, 40 minutes).

gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by gpson »

great news, @lowen !

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

More news:

Got GNURadio fully built. Got the C2 running with a VNC server and C7. Here's a link to a(high resolution) screenshot:
https://nebula.pari.edu/index.php/s/3DI ... d/download

Works well, pretty speedy, too.

gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by gpson »

@lowen if you took notes maybe you could share a how to for other newbies like me:)? how to build centos and gnuradio..

btw what is your project with gnuradio?
lowen wrote:More news:

Got GNURadio fully built. Got the C2 running with a VNC server and C7. Here's a link to a(high resolution) screenshot:
https://nebula.pari.edu/index.php/s/3DI ... d/download

Works well, pretty speedy, too.

crashoverride
Posts: 5867
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 648 times
Contact:

Re: Centos 7 and Odroid C2

Post by crashoverride »

Is there some special connection between CentOS7 and GnuRadio? Is the Ubuntu version deficient in some way?

umiddelb
Posts: 452
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Centos 7 and Odroid C2

Post by umiddelb »

lowen wrote:More news:

Got GNURadio fully built. Got the C2 running with a VNC server and C7. Here's a link to a(high resolution) screenshot:
https://nebula.pari.edu/index.php/s/3DI ... d/download

Works well, pretty speedy, too.
If you want, you might add some remarks to / edit the wiki page on GitHub, explaining the steps needed to add X11 and a window manager.

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

crashoverride wrote:Is there some special connection between CentOS7 and GnuRadio? Is the Ubuntu version deficient in some way?
No, the Ubuntu version isn't deficient. We are already running GNURadio on x86_64 CentOS 7, and we want consistency among devices, and that's the primary reason for C7 on C2 for us.
Last edited by lowen on Mon May 02, 2016 11:59 pm, edited 1 time in total.

lowen
Posts: 19
Joined: Sun Mar 27, 2016 5:23 am
languages_spoken: english
ODROIDs: ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by lowen »

gpson wrote:@lowen if you took notes maybe you could share a how to for other newbies like me:)? how to build centos and gnuradio..
I've posted some to the CentOS arm-dev mailing list, but I did keep some notes. Once EPEL7 for AArch64 is available the whole procedure will change, so I'd rather wait until then to write out a full documentation.
btw what is your project with gnuradio?
Our primary application is RFI sniffing with the RTL-SDR as a basic, non-calibrated, ethernet-connected web-UI spectrum analyzer to check on interference for our radio telescopes (a 4.6 meter, a 12.2 meter, and two 26 meter parabolic dishes with 1.42GHz, 2.3GHz, and 8.5GHz frontends). We plan to put a C2 plus an RTL-SDR on each instrument plus an Ettus Research USRP with DBSRX on a couple).

I do not yet have local X11 tested working; that screenshot was VNC, using one of the many tigervnc-server tutorials for CentOS 7; to get the GUI installed it is a simple:

Code: Select all

yum groupinstall "GNOME Desktop"
and then wait while yum does its magic. I'll pull together the yum install log from the running installation, and try to clean it up some, since I had to do local package building and installation for the GNURadio dependencies.

polrus
Posts: 1
Joined: Sat Nov 05, 2016 5:45 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by polrus »

IS software reposiory comparable with other architectures?
I was wondering if spacewalk is available.

gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by gpson »

I tried to make a Centos image from Ubuntu iso, but it is not booting.

https://github.com/umiddelb/aarch64/issues/3

Maybe someone can help?..

gpson
Posts: 11
Joined: Thu Mar 17, 2016 3:51 am
languages_spoken: english
ODROIDs: C2
Location: Lithuania
Has thanked: 0
Been thanked: 0
Contact:

Re: Centos 7 and Odroid C2

Post by gpson »

Hey, I manged to connect USB to UART module and get the output. Updated the issue description.

What could you suggest?

More details: https://github.com/umiddelb/aarch64/issues/3

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest