Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump to linux-4.x.y #3

Open
ndoo opened this issue Jul 12, 2016 · 439 comments
Open

Bump to linux-4.x.y #3

ndoo opened this issue Jul 12, 2016 · 439 comments

Comments

@ndoo
Copy link

ndoo commented Jul 12, 2016

linux-3.4.y is quite an old release, and the amount of changed lines from upstream kernel is not too much.

Are there plans to work on a newer kernel version? Also it would be great if support for this SoC is upstreamed.

@friendlyarm
Copy link
Owner

Thank you for your attention. In general we focus on a kernel which gets support from chip vendors. If chip vendors release a new kernel usually we will catch up with it otherwise we may not do it.

@ndoo
Copy link
Author

ndoo commented Jul 27, 2016

Thanks for the comment. It would bring about a lot of nice things like having updated device tree support.

@icebob
Copy link

icebob commented Jul 27, 2016

+1

@sarietta
Copy link

@friendlyarm is there any word from the chip vendor (Nexell I believe) about when they are going to release a new version?

Supporting 4.x.y on some of your products would be a enormous win.

@igorpecovnik
Copy link

We just added 4.6.7 and 4.7.2 for H3 based boards, first one is Nanopi Neo: http://www.armbian.com/nanopi-neo/

@ndoo
Copy link
Author

ndoo commented Aug 23, 2016

This issue is specifically referring to linux-3.4.y boards i.e. Nexell boards.

@igorpecovnik
Copy link

igorpecovnik commented Aug 23, 2016

With Nexell I haven't done much of a research yet but moving from "old android kernel" toward recent is a heavy project even for experienced crews, especially if documentation is poor, if we need to face blobs and (c) issues. How far and what was already done, don't know and can't really comment. Out of all dev boards, what is known to me, good mainline support is on: Rpi, most popular Allwinners, some imx6, ... , rk3188, odroid xu4, ... Even Samsung chips have issues on mainline kernel what prevents usage in productive environment, while you can use first three from the list mostly without any serious problems.

@ndoo
Copy link
Author

ndoo commented Aug 23, 2016

Yup, the request is intended to be addressed to FriendlyArm and Nexell to complete the port as vendors of the boards rather than a request for the larger community to unbreak the codebase and forward port :)

@sarietta
Copy link

Exactly @ndoo. I have attempted to email the contact noted in arch/arm/boot/cpu.c at Nexell about any possible updates, but I'm not sure if that will work.

It seems to me that someone at @friendlyarm must have a contact at Nexell who can at least provide a timeline.

@awl1
Copy link

awl1 commented Aug 24, 2016

Have a look here for the latest news:
http://www.friendlyarm.com/Forum/viewtopic.php?f=44&t=204&start=10

Nexell:

There will be a 64-bit based linux kernel on S5P6818 and the kernel version will be 3.18 or up. But when will it be released, we don't know exactly. It's under developing. The schedule is at the end of 2016 the 64-bit kernel will be released.

FriendlyARM:

Once we get this support we will arrange its development but we cannot say it for sure exactly we will be able to release it since it depends on various factors

@daiaji
Copy link

daiaji commented Apr 8, 2017

Oh, it's 2017
No new kernel messages

@spacecdr
Copy link

spacecdr commented Apr 8, 2017 via email

@daiaji
Copy link

daiaji commented Apr 9, 2017

@spacecdr
A good news!
I found SamsungARTIK
Artik 710 (S5P6818) has available 4.4 ARM64 kernel
Metro94 seems to be working on some NanoPi-M3 bootloader and kernel porting
😄

@ghost
Copy link

ghost commented May 21, 2017

Dear Metro94, dear jensen, dear hmz007 Dear Friendly-arm community,

I would like to use the kernel from the A710/v4.4 branch of https://github.com/SamsungARTIK/linux-artik on the Nanopi-M3. With gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz toolchain from Linaro, I get :

./arch/arm64/boot/dts/nexell/s5p6818-artik710-raptor-rev01.dtb
./arch/arm64/boot/dts/nexell/s5p6818-artik710-explorer.dtb
./arch/arm64/boot/dts/nexell/s5p6818-drone.dtb
./arch/arm64/boot/dts/nexell/s5p6818-artik710-raptor-rev03.dtb
./arch/arm64/boot/dts/nexell/s5p6818-artik710-raptor-rev00.dtb

and 211 modules. (I will see later for the three modules bcmdhd.ko nx_vpu.ko vr.ko, for now, I just need a reasonable recent kernel able to start an android init service or even just a linux elf binary or bash script)

and a image

arch/arm64/boot/Image

Is it possible to load it ?

-with the nanopi2-lollipop-mr1 branch of https://github.com/friendlyarm/uboot_nanopi2.git ?

if not

-with the A710/v2016.01 branch of https://github.com/SamsungARTIK/u-boot-artik.git or the NanoPi_M3 branch of https://github.com/metro94/NanoPi_M3-U-boot.git ?

if not

-with a mixture of NanoPi_M3 branch of https://github.com/metro94/NanoPi_M3-2ndboot.git + one of the previous mentionned uboot

if not

something even more strange ;) ???

What is the current status of Samsung/Nexell/friendlyarm collaboration on these reasonable recents uboot + 64bits-linux/drivers ???

I mean... come on... guys, it's May 2017, Jonathan Corbet announced yesterday on lwn.net

The 4.11.2, 4.10.17, 4.9.29, 4.4.69, and 3.18.54 stable kernel updates have all been released with the usual set of important fixes. Note that this is the final update for the 4.10 kernel.

and Greg KH announced in September 2016 on lwn.net

the 3.14.y LTS kernel series is now end-of-life ...

Please Friendly-Arm, update the wiki and give us a way to have reasonable recent uboot/linux/{ubuntu/android} software !! and not a 32bits 3.4.* kernel thas has already reached it's Projected EOL (https://www.kernel.org/category/releases.html)

We can help, test, debug, but the bare-metal stuff have to be done by friendly-arm / nexell / samsung ...

Thank you all in advance !

@friendlyarm
Copy link
Owner

Actually we tried code from https://github.com/SamsungARTIK/boot-firmwares-artik710 and https://github.com/SamsungARTIK/u-boot-artik and made an SD card. Unfortunately that SD card couldn't boot our board. We may have to wait for Nexell to release its latest BSP. We can do development based on u-boot-artik and https://github.com/SamsungARTIK/linux-artik but without a workable boot-firmware we cannot boot our board and test an image.

@ghost
Copy link

ghost commented May 23, 2017

Have you tried this alternative to 2ndboot.bin ?

https://github.com/metro94/s5p6818_bootloader

it boots ...

@ghost
Copy link

ghost commented May 23, 2017

compiled in DEBUG=1 mode, one gets :

****************************************
* Bootloader for S5P6818 - Version 1.2 *
* Compiled at 22:39:32, May 22 2017    *
****************************************

---------------------------
|   Clock   |  Frequency  |
| PLL0      | 1000000000  |
| PLL1      | 1600000000  |
| PLL2      | 1600000000  |
| PLL3      | 1600000000  |
| CPU0 FCLK | 1000000000  |
| CPU0 HCLK |  250000000  |
| CPU1 FCLK | 1000000000  |
| CPU1 HCLK |  250000000  |
| BCLK      |  320000000  |
| PCLK      |  160000000  |
| MDCLK     |  800000000  |
| MCLK      |  800000000  |
| MBCLK     |  400000000  |
| MPCLK     |  200000000  |
| GR3D BCLK |  320000000  |
| GR3D PCLK |  160000000  |
| MPEG BCLK |  266666666  |
| MPEG PCLK |  133333333  |
| DISP BCLK |  266666666  |
| DISP PCLK |  133333333  |
| HDMI PCLK |  100000000  |
| FAST BCLK |  400000000  |
---------------------------
[INFO]I2C Bus is ready
[INFO]Initializing PMIC

[INFO]Trying to initialize DDR3
[INFO]DDR3 ZQ Calibration starts
[INFO]Direct CMD: cmd = 7, chip = 0, bank = 0, addr = 0000
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 2, addr = 0018
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 3, addr = 0000
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 1, addr = 0046
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 0, addr = 1d70
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 0, addr = 1c70
[INFO]Direct CMD: cmd = a, chip = 0, bank = 0, addr = 0000
[INFO]DDR3 H/W Write Leveling starts
[INFO]Direct CMD: cmd = 1, chip = 0, bank = 0, addr = 0000
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 1, addr = 00c6
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 1, addr = 0046
[INFO]DDR3 Gate Leveling starts
[INFO]Direct CMD: cmd = 1, chip = 0, bank = 0, addr = 0000
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 3, addr = 0004
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 3, addr = 0000
[INFO]DDR3 Read Leveling starts
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 3, addr = 0004
[INFO]Direct CMD: cmd = 0, chip = 0, bank = 3, addr = 0000
[INFO]DDR3 Write Latency Calibration starts
[INFO]DDR3 Write DQ Calibration starts
[INFO]Direct CMD: cmd = 1, chip = 0, bank = 0, addr = 0000
[INFO]DDR3 has been initialized
[INFO]DDR3 base addr = 0x40000000, size = 0x40000000

[INFO]Setting DREX QoS

[INFO]Initializing CCI-400 bus

[INFO]Trying to wake up slave CPU
[INFO]CPU1 is ready
[INFO]CPU1 enters wfi
[INFO]CPU2 is ready
[INFO]CPU2 enters wfi
[INFO]CPU3 is ready
[INFO]CPU3 enters wfi
[INFO]CPU4 is ready
[INFO]CPU4 enters wfi
[INFO]CPU5 is ready
[INFO]CPU5 enters wfi
[INFO]CPU6 is ready
[INFO]CPU7 enters wfi

[INFO]SD Card Information:
[INFO]Transport Speed = 25000000
[INFO]Block Size = 512
[INFO]Capacity = 15931539456
[INFO]First Partition Information:
[INFO]Boot Indicator = 00
[INFO]Starting Head = 0
[INFO]Starting Sector = 1
[INFO]Starting Cylinder = 128
[INFO]System ID = 06
[INFO]Ending Head = 03
[INFO]Ending Sector = 16
[INFO]Ending Cylinder = 380
[INFO]Relative Sectors = 2048
[INFO]Total Sectors = 4096
[INFO]FAT Information:
[INFO]Sector Size = 512
[INFO]Sectors Per Cluster = 4
[INFO]Reserved Sectors = 1
[INFO]FAT Table Count = 2
[INFO]FAT Table Sectors = 4
[INFO]Root Maximum Items = 512
[INFO]Hidden Sectors = 2048
[INFO]Total Sectors = 4096
[INFO]FAT Type = FAT12
[INFO]Total Clusters = 1021
[INFO]FAT Table Starting Sector = 2049
[INFO]Root Starting Sector = 2057
[INFO]Data Starting Sector = 2089
Going to 0x0000000043c00000. Good-bye.

@rafaello7
Copy link

rafaello7 commented Jun 16, 2017

I have compiled the bl1 firmware from sources bl-artik710 with BOARD set to DRONE and it works. I have used NSIH based on drone-sd-64.txt file stored in reference-nsih in this project. Below is the script used by me to embed the compiled bl1 and u-boot in SD card. Note that first partition on the SD card should start at 2048 sector. The script should be updated before use, the environment variables with SD device and location of the bl1 and u-boot sources shall be set appropriately.

#!/bin/dash -e
dev=/dev/sde
bl1_dir=bl1-artik710
uboot_dir=u-boot-artik-A710-v2016.01


# bl1 NSIH header
LANG=C LC_ALL=C awk < "$bl1_dir/reference-nsih/drone-sd-64.txt" '
    /^E3822080/ { $1 = "E3822C01" } # change reset vector to 0xFFFF0400
    /^[0-9A-F]/ { for(i=7; i>0; i-=2) printf "%c", strtonum("0x" substr($1, i, 2)) }
' | dd of="$dev" seek=1

# bl1 boot loader
dd if="$bl1_dir/out/bl1-drone.bin" of="$dev" seek=2

# u-boot NSIH header
LANG=C LC_ALL=C awk 'BEGIN {
    for(i = 0; i < 1024; i += 4) {
        switch( i ) {
        case 0x50:  val=0x60000     # load size
                    break
        case 0x58:  val=0x43bffc00  # load address
                    break
        case 0x60:  val=0x43c00000  # launch address
                    break
        case 0x1f8: val=0x68180300  # version
                    break
        case 0x1fc: val=0x4849534E  # "NSIH"
                    break
        default:    val=0
                    break
        }
        for(j=0; j < 4; ++j) {
            printf "%c", val % 256
            val = int(val / 256)
        }
    }
}' | dd of="$dev" seek=64
dd if="$uboot_dir/u-boot.bin" of="$dev" seek=66
sync

The Linux kernel is much more problematic, but I have managed to boot the linux-artik, branch A710v4.4. To be precise, I have entered shell within initial ramdisk, through serial port:

/ # uname -a
Linux S5P6818 4.4.19+ #184 SMP PREEMPT Wed Jun 14 21:10:51 CEST 2017 aarch64 GNU

I have used defconfig for drone, too. To be honest, I don't remember all the changes that I have made in the configuration. As I remember, I have disabled some drivers because they have compilation errors. At least DS1307 driver I have disabled.

There were also some important changes in Linux source code. First change I have made in file head.S (arch/arm64/kernel/head.S). The two lines below should be added somewhere at startup, e.g. in el2_setup:

mov	x0, #3 << 20
msr	cpacr_el1, x0	/* Enable FP/SIMD at EL1 */

Second change: in file s5p6818.dtsi (arch/arm64/boot/dts/nexell/s5p6818.dtsi) the "psci" device description I have removed (commented out). Otherwise system panics at smc instruction call. I have also removed all "enable-method=psci" from all processor descriptions.

Third change: a bug in axp228-mfd.c file (drivers/mfd/axp228-mfd.c). Below is the patch. The bug causes memory corruption and kernel panic little later. From unknown reason the driver does not find axp228 chip and returns with error. Before return it releases memory, but bad function is used for that.

diff --git a/drivers/mfd/axp228-mfd.c b/drivers/mfd/axp228-mfd.c
index 1d77092..c712977 100644
--- a/drivers/mfd/axp228-mfd.c
+++ b/drivers/mfd/axp228-mfd.c
@@ -1111,7 +1111,7 @@ out_free_irq:
 
 out_free_chip:
    i2c_set_clientdata(client, NULL);
-	kfree(axp228);
+	devm_kfree(&client->dev, axp228);
 
    return ret;
 }
@@ -1121,7 +1121,7 @@ static int axp_mfd_remove(struct i2c_client *client)
    struct axp_mfd_chip *chip = i2c_get_clientdata(client);
 
    axp_mfd_remove_subdevs(chip);
-	kfree(chip);
+	devm_kfree(&client->dev, chip);
    return 0;
 }

I got stuck in CPU configuration - the kernel sees only one processor. In dts file the processor "enable-method" is set to "psci", but I don't know how this might work. The smc instruction is disabled at exception level 3 and not intercepted by exception level 2. Even if it would be enabled, the boot loader lacks of handling code.

The bootloader provided by metro94 has one bug in trustzone configuration, but after fix the bootloader works also. It may be used instead of bl1-artik loader. Below is the needed patch:

diff --git a/src/trustzone.c b/src/trustzone.c
index 3ddc5ab..17d7a58 100644
--- a/src/trustzone.c
+++ b/src/trustzone.c
@@ -32,8 +32,9 @@ void set_trustzone(void)
 	for (index = 0; index < TZPC_NUMBERS; ++index) {
 		tzpc[index].r0_size = 0x200;	// Sets the entire RAM
 		for (region = 0; region < 4; ++region) {
-			tzpc[index].decode_protection[region].clr = 0x00000000;
-			tzpc[index].decode_protection[region].set = 0xFFFFFFFF;
+            unsigned toSet = index == 0 && region == 1 ? 0x7f : 0xff;
+			tzpc[index].decode_protection[region].clr = ~toSet;
+			tzpc[index].decode_protection[region].set = toSet;
 		}
 	}

@avafinger
Copy link

Nice work!
If you could create/fork all the code (patched code) and the instructions to build it in github would be awesome and kernel developers could try to help trimming this.
Anyway i will follow your progress with interest.

@rafaello7
Copy link

Actually I'm trying to work with vanilla kernel 4.11.6. I have some trouble when all 8 cpu's are enabled. System behaves unstable, but with 4 processors seems to work pretty. At least ethernet, display, usb and serial port are working. I'm writing this post from NanoPi with the 64-bit kernel. Device drivers I have moved from Samsung Artik kernel 4.4. Here is my desktop:

screenshot_2017-07-05_19-30-56

Graphics driver is nice, because screen resolution may be changed on the fly. No need to compile kernel to change resolution.

I can upload prebuilt boot loader and kernel image. But work is in progress.

@xingrz
Copy link

xingrz commented Jul 5, 2017 via email

@ghost
Copy link

ghost commented Jul 5, 2017

Nice work rafaello7 !!!
The best would be to fork on github : bl-artik710 , u-boot, linux-artik so you can push your progress.
In that case, we could follow/test/push-request then.

@rafaello7
Copy link

All my work is on github:
bl1-nanopi-m3
u-boot-nanopi-m3
linux-nanopi-m3

Additionally I'm using nanopi-load tool to upload images to device through USB port instead of embedding in SD card. But booting from SD card is also possible.

I provide some instructions soon, how to build and run all together. Maybe in README on bl1-nanopi-m3 project.

@daiaji
Copy link

daiaji commented Jul 6, 2017

@rafaello7 coooooool!
Can code work on NanoPC-T3?

@rafaello7
Copy link

Yes.

@rafaello7
Copy link

I have added build instructions on bl1-nanopi-m3 page.

@metro94
Copy link

metro94 commented Jul 8, 2017

Sorry for ignoring the issue of @rafaello7 for a long time. He has made a great progress on it. Actually my NanoPi has been sold, so I'm afraid not to maintain s5p6818_bootloader and s5pxx18_load from now on.

@rafaello7
Copy link

@metro94 no problem ;)

As of Linux 4.11.6, there are stability problems with this kernel when all 8 CPU's are brought up. Kernel boots correctly, but just after boot I'm performing simple test: I'm starting a few "yes" processes:

yes >/dev/null &
yes >/dev/null &
....

Kernel hangs just after 6th process start. I have no idea how to fix the problem. Kernel 4.4 from Samsung Artik does not have the problem, but I have no idea how to find the change that makes difference.

I will try to prepare the Artik v4.4 kernel for NanoPi. Kernel 4.11 goes aside for now.

@rafaello7
Copy link

I have found the problem reason. In fact, these were two reasons: two long extension cables between USB socket on my PC and micro USB cable connected to NanoPi. I think you can guess the rest. After shortening the distance NanoPi seems to work stable with 8 CPU's.

@JamesKingdon
Copy link

Excellent - that's exciting news!

@PVlado
Copy link

PVlado commented May 13, 2018

So, now I change location to SD card. Installed fixed Release 1.2.
And
root@T3plusMMC:/home/vlado/Downloads/Rafal/u-boot-nanopi-m3-master# nano-blembed u-boot.bin
unable to determine boot device

this
dd if=/dev/mmcblk0 bs=4 skip=166 count=1 | od -t x4
give 03100302
dd if=/dev/mmcblk2 bs=4 skip=166 count=1 | od -t x4
give 03100301

@PVlado
Copy link

PVlado commented May 13, 2018

I tried it /dev/mmcblk2p1 instead of uuid for /boot
Did not help

@PVlado
Copy link

PVlado commented May 13, 2018

can you give me contact?

@rafaello7
Copy link

Please install release 1.3. I have added possibility to specify boot device in command line:

nano-blembed u-boot.bin /dev/mmcblk2

Are you booting from SD card or from EMMC? You should install updated bl1 on SD if you are booting from it.

@PVlado
Copy link

PVlado commented May 16, 2018

@rafaello7
Can you give me link to datasheets where it described?

I allege change in startup_aarch64.S line 61 may help. This line and subsequent one are the SDRAM memory parameters. Maybe change of 0x03100301 to 0x03100302 would help?

@rafaello7
Copy link

@PVlado I don't know about any such datasheets. I looked at bl1 source code.

@PVlado
Copy link

PVlado commented May 20, 2018

@rafaello7
Log from UART
what do you think about it?
``
I2C_WriteByte nack returned
I2C Device Address Write Abitration Error
I2C_WriteByte nack returned
I2C Device Address Write Abitration Error
I2C_WriteByte nack returned
I2C Device Address Write Abitration Error
I2C_WriteByte nack returned
I2C Device Address Write Abitration Error
Wakeup Sub CPU 1234567

CPU Wakeup done! WFI is expected.
CPU0 is Master!

U-Boot 2016.01 (May 16 2018 - 00:08:21 +0800)

DRAM: 2 GiB
MMC: NEXELL DWMMC: 0, NEXELL DWMMC: 1
loaded from SD, getting env from MMC 1
MIPI: display.0
HDMI: display.0, preset 0 (1280 * 720)
HDMI: phy ready...
LCD: [HDMI] dp.0.1 1220x680 16bpp FB:0x46000000
In: serial
Out: vga
Err: vga
Hit any key to stop autoboot: 0
4755234 bytes read in 245 ms (18.5 MiB/s)
Uncompressed size: 10579976 = 0xA17008
3798042 bytes read in 200 ms (18.1 MiB/s)
47383 bytes read in 29 ms (1.6 MiB/s)
Flattened Device Tree blob at 4a000000
Booting using the fdt blob at 0x4a000000
Loading Device Tree to 00000000bdf57000, end 00000000bdf65916 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.4+ (rafal@wilk) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1)) 1 SMP PREEMPT Tue Dec 5 19:30:49 CET 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd033]
[ 0.000000] Machine model: nexell soc
[ 0.000000] cma: Reserved 128 MiB at 0x00000000b5c00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 22 pages/cpu @ffffffc07fefc000 s50216 r8192 d31704 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Kernel command line: console=ttySAC0,115200n8 initrd=0x49000000,0x800000 root=/dev/mmcblk2p2 console=tty1
[ 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: 1909824K/2097152K available (6398K kernel code, 860K rwdata, 2588K rodata, 448K init, 752K bss, 56256K reserved, 131072K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff80086c0000 ( 6400 KB)
[ 0.000000] .rodata : 0xffffff80086c0000 - 0xffffff8008950000 ( 2624 KB)
[ 0.000000] .init : 0xffffff8008950000 - 0xffffff80089c0000 ( 448 KB)
[ 0.000000] .data : 0xffffff80089c0000 - 0xffffff8008a97008 ( 861 KB)
[ 0.000000] .bss : 0xffffff8008a97008 - 0xffffff8008b53168 ( 753 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf02000000 ( 32 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU features: GIC system register CPU interface present but disabled by higher exception level
[ 0.000000] PLL : [0] = 800000000, [1] = 800000000, [2] = 614394000, [3] = 800000000
[ 0.000000] (0) PLL1: CPU FCLK = 800000000, HCLK = 200000000 (G0)
[ 0.000000] (7) PLL1: CPU FCLK = 800000000, HCLK = 200000000 (G1)
[ 0.000000] (2) PLL3: MEM FCLK = 800000000, DCLK = 800000000, BCLK = 400000000,
[ 0.000000] PCLK = 200000000
[ 0.000000] (1) PLL0: BUS BCLK = 400000000, PCLK = 200000000
[ 0.000000] (8) PLL0: CCI4 BCLK = 400000000, PCLK = 200000000
[ 0.000000] (3) PLL0: G3D BCLK = 400000000
[ 0.000000] (4) PLL0: VPU BCLK = 400000000, PCLK = 200000000
[ 0.000000] (5) PLL0: DISP BCLK = 400000000, PCLK = 200000000
[ 0.000000] CPU REF HZ: 24000000 hz (0xc0010000:0xffffff8008015000)
[ 0.000000] clocksource: source timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627 ns
[ 0.000000] sched_clock: 64 bits at 250 Hz, resolution 4000000ns, wraps every 9007199254000000ns
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty1] enabled
[ 0.040000] Calibrating delay loop... 19.84 BogoMIPS (lpj=39680)
[ 0.044000] pid_max: default: 32768 minimum: 301
[ 0.044000] Security Framework initialized
[ 0.044000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.060000] ASID allocator initialised with 256 entries
[ 0.068000] Hierarchical SRCU implementation.
[ 0.084000] smp: Bringing up secondary CPUs ...
[ 0.112000] Detected VIPT I-cache on CPU1
[ 0.112000] CPU1: Booted secondary processor [410fd033]
[ 0.140000] Detected VIPT I-cache on CPU2
[ 0.140000] CPU2: Booted secondary processor [410fd033]
[ 0.168000] Detected VIPT I-cache on CPU3
[ 0.168000] CPU3: Booted secondary processor [410fd033]
[ 0.196000] Detected VIPT I-cache on CPU4
[ 0.196000] CPU4: Booted secondary processor [410fd033]
[ 0.224000] Detected VIPT I-cache on CPU5
[ 0.224000] CPU5: Booted secondary processor [410fd033]
[ 0.252000] Detected VIPT I-cache on CPU6
[ 0.252000] CPU6: Booted secondary processor [410fd033]
[ 0.280000] Detected VIPT I-cache on CPU7
[ 0.280000] CPU7: Booted secondary processor [410fd033]
[ 0.280000] smp: Brought up 1 node, 8 CPUs
[ 0.280000] SMP: Total of 8 processors activated.
[ 0.280000] CPU features: detected feature: 32-bit EL0 Support
[ 0.280000] CPU: All CPU(s) started at EL2
[ 0.280000] alternatives: patching kernel code
[ 0.280000] devtmpfs: initialized
[ 0.292000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.292000] futex hash table entries: 2048 (order: 6, 262144 bytes)
[ 0.300000] pinctrl core: initialized pinctrl subsystem
[ 0.300000] ECID: 0e2afd12:61380137:00000000:04e81234
[ 0.300000] LOT ID : NCRU2
[ 0.300000] NET: Registered protocol family 16
[ 0.300000] cpuidle: using governor menu
[ 0.300000] vdso: 2 pages (1 code @ ffffff80086c6000, 1 data @ ffffff80089c4000)
[ 0.300000] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.304000] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.312000] nexell-reset c0012000.reset: nexell reset: nr_resets [96], base [ffffff8008ba5000]
[ 0.328000] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.328000] pl08xdmac c0000000.pl08xdma: initialized 8 virtual memcpy channels
[ 0.328000] pl08xdmac c0000000.pl08xdma: initialized 16 virtual slave channels
[ 0.332000] pl08xdmac c0000000.pl08xdma: DMA: PL080 rev0 at 0xc0000000 irq 16
[ 0.332000] pl08xdmac c0001000.pl08xdma: initialized 8 virtual memcpy channels
[ 0.332000] pl08xdmac c0001000.pl08xdma: initialized 16 virtual slave channels
[ 0.332000] pl08xdmac c0001000.pl08xdma: DMA: PL080 rev0 at 0xc0001000 irq 17
[ 0.332000] SCSI subsystem initialized
[ 0.332000] usbcore: registered new interface driver usbfs
[ 0.332000] usbcore: registered new interface driver hub
[ 0.332000] usbcore: registered new device driver usb
[ 0.332000] onewire c0017000.nanopi-onewire: probe success
[ 0.368000] axp_mfd 3-0034: failed reading at 0x03
[ 0.368000] [AXP22-MFD] try to read chip id failed!
[ 0.368000] axp_mfd 3-0034: axp_mfd_probe() Error: init_chip()
[ 0.368000] i2c-gpio c0000000.soc:i2c@0: using pins 159 (SDA) and 158 (SCL)
[ 0.368000] s3c-i2c c00a4000.i2c: slave address 0x66
[ 0.368000] s3c-i2c c00a4000.i2c: bus frequency set to 97 KHz
[ 0.372000] s3c-i2c c00a4000.i2c: i2c-0: S3C I2C adapter
[ 0.372000] s3c-i2c c00a5000.i2c: slave address 0x66
[ 0.372000] s3c-i2c c00a5000.i2c: bus frequency set to 97 KHz
[ 0.372000] s3c-i2c c00a5000.i2c: i2c-1: S3C I2C adapter
[ 0.372000] s3c-i2c c00a6000.i2c: slave address 0x66
[ 0.372000] s3c-i2c c00a6000.i2c: bus frequency set to 97 KHz
[ 0.372000] s3c-i2c c00a6000.i2c: i2c-2: S3C I2C adapter
[ 0.372000] media: Linux media interface: v0.10
[ 0.372000] Linux video capture interface: v2.00
[ 0.372000] pps_core: LinuxPPS API ver. 1 registered
[ 0.372000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.376000] Advanced Linux Sound Architecture Driver Initialized.
[ 0.376000] NetLabel: Initializing
[ 0.376000] NetLabel: domain hash size = 128
[ 0.376000] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.376000] NetLabel: unlabeled traffic allowed by default
[ 0.376000] clocksource: Switched to clocksource source timer
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] Clockevents: could not switch to one-shot mode:
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] dummy_timer is not functional.
[ 0.380000] Could not switch to high resolution mode on CPU 4
[ 0.380000] Could not switch to high resolution mode on CPU 6
[ 0.380000] Could not switch to high resolution mode on CPU 7
[ 0.380000] Could not switch to high resolution mode on CPU 1
[ 0.380000] Could not switch to high resolution mode on CPU 3
[ 0.380000] Could not switch to high resolution mode on CPU 0
[ 0.380000] Could not switch to high resolution mode on CPU 2
[ 0.380000] dummy_timer is not functional.
[ 0.380000] Could not switch to high resolution mode on CPU 5
[ 0.456000] NET: Registered protocol family 2
[ 0.456000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.456000] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
[ 0.456000] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.460000] UDP hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.460000] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.460000] NET: Registered protocol family 1
[ 0.460000] Unpacking initramfs...
[ 0.776000] Freeing initrd memory: 8192K
[ 0.776000] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.780000] audit: initializing netlink subsys (disabled)
[ 0.780000] audit: type=2000 audit(0.776:1): state=initialized audit_enabled=0 res=1
[ 0.780000] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 0.780000] fuse init (API version 7.26)
[ 0.784000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.784000] io scheduler noop registered
[ 0.784000] io scheduler cfq registered (default)
[ 0.784000] io scheduler mq-deadline registered
[ 0.784000] io scheduler kyber registered
[ 0.788000] c00a1000.serial: ttySAC0 at MMIO 0xc00a1000 (irq = 18, base_baud = 0) is a S3C6400/10
[ 1.020000] onewire c0017000.nanopi-onewire: no panel
[ 1.752000] console [ttySAC0] enabled
[ 1.756000] c00a0000.serial: ttySAC1 at MMIO 0xc00a0000 (irq = 19, base_baud = 0) is a S3C6400/10
[ 1.768000] [drm] Load RGB panel
[ 1.768000] [drm] Load LVDS panel
[ 1.772000] [drm] Load HDMI panel
[ 1.776000] [drm] irq 35 install for hdp
[ 1.780000] [drm] num of crtcs 2, FB 1 align, FB vblank Pass
[ 1.784000] [drm] irq 33 install for crtc.0
[ 1.788000] [drm] crtc[0]: pipe.0 (irq.33)
[ 1.792000] [drm] irq 34 install for crtc.1
[ 1.796000] [drm] crtc[1]: pipe.1 (irq.34)
[ 1.800000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.808000] [drm] No driver support for vblank timestamp query.
[ 1.812000] [drm] Bind RGB panel
[ 1.816000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_rgb (ops panel_comp_ops)
[ 1.824000] [drm] Bind LVDS panel
[ 1.828000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_lvds (ops panel_comp_ops)
[ 1.840000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_hdmi (ops panel_comp_ops)
[ 1.848000] [drm] Initialized nexell 2.0.0 20160219 for c0102800.display_drm on minor 0
[ 1.856000] [drm] HDMI: connect
[ 1.860000] [drm] FB counts = 1
[ 1.864000] [drm] HDMI: connect
[ 1.892000] [drm] preferred mode from EDID: 1440x900p@60
[ 1.900000] [drm] set hdmi mode to vic16,1920x1080@60Hz 16:9
[ 1.912000] HDMI: PHY [Ready Done][0x1] ...
[ 2.060000] Console: switching to colour frame buffer device 240x67
[ 2.104000] nexell,display_drm c0102800.display_drm: fb0: frame buffer device
[ 2.108000] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.124000] loop: module loaded
[ 2.124000] libphy: Fixed MDIO Bus: probed
[ 2.128000] nexell-dwmac c0060000.ethernet: snps,phy-addr property is deprecated
[ 2.132000] nexell-dwmac c0060000.ethernet: PTP uses main clock
[ 2.136000] stmmac - user ID: 0x37, Synopsys ID: 0x37
[ 2.140000] nexell-dwmac c0060000.ethernet: Ring mode enabled
[ 2.144000] nexell-dwmac c0060000.ethernet: DMA HW capability register supported
[ 2.148000] nexell-dwmac c0060000.ethernet: Enhanced/Alternate descriptors
[ 2.152000] nexell-dwmac c0060000.ethernet: Enabled extended descriptors
[ 2.156000] nexell-dwmac c0060000.ethernet: RX Checksum Offload Engine supported
[ 2.160000] nexell-dwmac c0060000.ethernet: COE Type 2
[ 2.164000] nexell-dwmac c0060000.ethernet: TX Checksum insertion supported
[ 2.168000] nexell-dwmac c0060000.ethernet: Wake-Up On Lan supported
[ 2.172000] nexell-dwmac c0060000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.500000] libphy: stmmac: probed
[ 2.500000] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 2.504000] RTL8211E Gigabit Ethernet stmmac-0:07: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[ 2.508000] usbcore: registered new interface driver cdc_ether
[ 2.512000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.516000] ehci-exynos: EHCI EXYNOS driver
[ 2.524000] exynos-ehci c0030000.ehci: EHCI Host Controller
[ 2.528000] exynos-ehci c0030000.ehci: new USB bus registered, assigned bus number 1
[ 2.532000] exynos-ehci c0030000.ehci: irq 26, io mem 0xc0030000
[ 2.552000] exynos-ehci c0030000.ehci: USB 2.0 started, EHCI 1.00
[ 2.552000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.556000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.560000] usb usb1: Product: EHCI Host Controller
[ 2.564000] usb usb1: Manufacturer: Linux 4.14.4+ ehci_hcd
[ 2.568000] usb usb1: SerialNumber: c0030000.ehci
[ 2.572000] hub 1-0:1.0: USB hub found
[ 2.576000] hub 1-0:1.0: 3 ports detected
[ 2.580000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.584000] ohci-exynos: OHCI EXYNOS driver
[ 2.588000] exynos-ohci c0020000.ohci: USB Host Controller
[ 2.592000] exynos-ohci c0020000.ohci: new USB bus registered, assigned bus number 2
[ 2.596000] exynos-ohci c0020000.ohci: irq 26, io mem 0xc0020000
[ 2.664000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.668000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.672000] usb usb2: Product: USB Host Controller
[ 2.676000] usb usb2: Manufacturer: Linux 4.14.4+ ohci_hcd
[ 2.680000] usb usb2: SerialNumber: c0020000.ohci
[ 2.684000] hub 2-0:1.0: USB hub found
[ 2.688000] hub 2-0:1.0: 3 ports detected
[ 2.696000] usbcore: registered new interface driver usb-storage
[ 2.700000] mousedev: PS/2 mouse device common for all mice
[ 2.704000] nx-rtc c0010c00.rtc: [RTC] day=2018.05.20 time=00:48:34
[ 2.708000] nx-rtc c0010c00.rtc: rtc core: registered nx as rtc0
[ 2.712000] i2c /dev entries driver
[ 2.716000] exynos-tmu c0096000.tmuctrl: Regulator node (vtmu) not found
[ 2.720000] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 2.724000] device-mapper: uevent: version 1.0.3
[ 2.728000] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[ 2.732000] DVFS: ASV[3] IDS 28mA, Ro 134 -> Table [IDS 38mA, Ro 170]
[ 2.736000] ASV 0 = 1400000khz, 1225000 uV
[ 2.740000] ASV 1 = 1300000khz, 1175000 uV
[ 2.744000] ASV 2 = 1200000khz, 1125000 uV
[ 2.748000] ASV 3 = 1100000khz, 1075000 uV
[ 2.752000] ASV 4 = 1000000khz, 1050000 uV
[ 2.756000] ASV 5 = 900000khz, 1025000 uV
[ 2.760000] ASV 6 = 800000khz, 1000000 uV
[ 2.764000] ASV 7 = 700000khz, 1000000 uV
[ 2.768000] ASV 8 = 600000khz, 1000000 uV
[ 2.772000] ASV 9 = 500000khz, 1000000 uV
[ 2.776000] ASV 10 = 400000khz, 1000000 uV
[ 2.780000] DVFS: cpu DFS with PLL.1 [tables=11]
[ 2.788000] running cpufreq without cooling device: -38
[ 2.796000] Synopsys Designware Multimedia Card Interface Driver
[ 2.800000] dwmmc_nexell c0069000.dw_mmc: 'num-slots' was deprecated.
[ 2.808000] dwmmc_nexell c0069000.dw_mmc: IDMAC supports 32-bit address mode.
[ 2.812000] dwmmc_nexell c0069000.dw_mmc: Using internal DMA controller.
[ 2.816000] dwmmc_nexell c0069000.dw_mmc: Version ID is 250a
[ 2.820000] dwmmc_nexell c0069000.dw_mmc: DW MMC controller at irq 23,32 bit host data width,32 deep fifo
[ 2.824000] mmc_host mmc0: card is non-removable.
[ 2.848000] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 400000Hz, actual 400000HZ div = 125)
[ 2.884000] dwmmc_nexell c0068000.dw_mmc: 'num-slots' was deprecated.
[ 2.900000] dwmmc_nexell c0068000.dw_mmc: IDMAC supports 32-bit address mode.
[ 2.912000] dwmmc_nexell c0068000.dw_mmc: Using internal DMA controller.
[ 2.916000] usb 1-1: new high-speed USB device number 2 using exynos-ehci
[ 2.928000] dwmmc_nexell c0068000.dw_mmc: Version ID is 250a
[ 2.936000] dwmmc_nexell c0068000.dw_mmc: DW MMC controller at irq 24,32 bit host data width,32 deep fifo
[ 2.948000] dwmmc_nexell c0068000.dw_mmc: allocated mmc-pwrseq
[ 2.956000] mmc_host mmc1: card is non-removable.
[ 3.016000] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 52000000Hz, actual 50000000HZ div = 1)
[ 3.036000] mmc0: new high speed MMC card at address 0001
[ 3.040000] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 3.060000] dwmmc_nexell c0062000.dw_mmc: 'num-slots' was deprecated.
[ 3.064000] dwmmc_nexell c0062000.dw_mmc: IDMAC supports 32-bit address mode.
[ 3.072000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[ 3.072000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.072000] usb 1-1: Product: USB2.0 Hub
[ 3.072000] hub 1-1:1.0: USB hub found
[ 3.072000] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 3.072000] hub 1-1:1.0: 4 ports detected
[ 3.076000] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.076000] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.080000] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.084000] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[ 3.144000] mmcblk0: mmc0:0001 AWMB3R 14.6 GiB
[ 3.148000] dwmmc_nexell c0062000.dw_mmc: Using internal DMA controller.
[ 3.148000] dwmmc_nexell c0062000.dw_mmc: Version ID is 250a
[ 3.148000] dwmmc_nexell c0062000.dw_mmc: DW MMC controller at irq 25,32 bit host data width,32 deep fifo
[ 3.148000] dwmmc_nexell c0062000.dw_mmc: Got CD GPIO
[ 3.164000] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 3.164000] mmc1: new high speed SDIO card at address 0001
[ 3.168000] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 3.188000] usbcore: registered new interface driver usbhid
[ 3.188000] usbhid: USB HID core driver
[ 3.188000] ashmem: initialized
[ 3.188000] nexell-adc c0053000.adc: CHs 8, 200000(1000000 ~ 130208) sample rate, scale=166(bit 6)
[ 3.192000] nexell-pcm nexell-pcm: snd pcm: register sound platform 'nexell-pcm'
[ 3.196000] nexell-i2s c0055000.i2s: snd i2s: ch 0, master, iis mode, 48000(47999)hz, 32 FBITs,
[ 3.196000] nexell-i2s c0055000.i2s: MCLK=12287880hz, RFS=256
[ 3.196000] u32 classifier
[ 3.196000] Actions configured
[ 3.196000] Netfilter messages via NETLINK v0.30.
[ 3.196000] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 3.196000] ctnetlink v0.93: registering with nfnetlink.
[ 3.196000] xt_time: kernel timezone is -0000
[ 3.196000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.272000] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 3.272000] mmc2: new high speed SDHC card at address aaaa
[ 3.272000] mmcblk2: mmc2:aaaa SC16G 14.8 GiB
[ 3.276000] mmcblk2: p1 p2 p3 < p5 >
[ 3.284000] arp_tables: arp_tables: (C) 2002 David S. Miller
[ 3.300000] Initializing XFRM netlink socket
[ 3.300000] NET: Registered protocol family 10
[ 3.300000] Segment Routing with IPv6
[ 3.300000] mip6: Mobile IPv6
[ 3.300000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 3.364000] usb 1-1.3: new low-speed USB device number 3 using exynos-ehci
[ 3.364000] NET: Registered protocol family 17
[ 3.364000] NET: Registered protocol family 15
[ 3.364000] 9pnet: Installing 9P2000 support
[ 3.364000] Key type dns_resolver registered
[ 3.404000] mmcblk0boot0: mmc0:0001 AWMB3R partition 1 4.00 MiB
[ 3.408000] mmcblk0boot1: mmc0:0001 AWMB3R partition 2 4.00 MiB
[ 3.412000] mmcblk0rpmb: mmc0:0001 AWMB3R partition 3 4.00 MiB
[ 3.420000] mmcblk0: p1 p2 p3 < p5 >
[ 3.428000] asoc-simple-card jack_sound: ES8316 HiFi <-> c0055000.i2s mapping ok
[ 3.444000] nexell-spdif-tx c0059000.spdiftx: spdif-tx: 48000(47999)Hz, MCLK=12287880hz
[ 3.456000] asoc-simple-card hdmi_sound: dit-hifi <-> c0059000.spdiftx mapping ok
[ 3.468000] nx-rtc c0010c00.rtc: setting system clock to 2018-05-20 00:48:35 UTC (1526777315)
[ 3.472000] usb 1-1.3: New USB device found, idVendor=0000, idProduct=0538
[ 3.472000] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.472000] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 3.480000] input: USB OPTICAL MOUSE as /devices/platform/c0000000.soc/c0030000.ehci/usb1/1-1/1-1.3/1-1.3:1.0/0003:0000:0538.0001/input/input0
[ 3.480000] hid-generic 0003:0000:0538.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-c0030000.ehci-1.3/input0
[ 3.544000] ALSA device list:
[ 3.552000] 0: Jack
[ 3.560000] usb 1-1.4: new low-speed USB device number 4 using exynos-ehci
[ 3.572000] 1: HDMI
[ 3.584000] Freeing unused kernel memory: 448K
[ 3.680000] usb 1-1.4: New USB device found, idVendor=04d9, idProduct=1203
[ 3.684000] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.700000] input: HID 04d9:1203 as /devices/platform/c0000000.soc/c0030000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/0003:04D9:1203.0002/input/input1
[ 3.764000] hid-generic 0003:04D9:1203.0002: input: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-c0030000.ehci-1.4/input0
[ 3.784000] input: HID 04d9:1203 as /devices/platform/c0000000.soc/c0030000.ehci/usb1/1-1/1-1.4/1-1.4:1.1/0003:04D9:1203.0003/input/input2
[ 3.848000] hid-generic 0003:04D9:1203.0003: input: USB HID v1.11 Device [HID 04d9:1203] on usb-c0030000.ehci-1.4/input1
[ 3.848000] Unable to handle kernel paging request at virtual address 00002028
[ 3.848000] Mem abort info:
[ 3.848000] Exception class = DABT (current EL), IL = 32 bits
[ 3.848000] SET = 0, FnV = 0
[ 3.848000] EA = 0, S1PTW = 0
[ 3.848000] Data abort info:
[ 3.848000] ISV = 0, ISS = 0x00000005
[ 3.848000] CM = 0, WnR = 0
[ 3.848000] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc0096c5000
[ 3.848000] [0000000000002028] *pgd=0000000000000000, *pud=0000000000000000
[ 3.848000] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 3.848000] Modules linked in:
[ 3.848000] CPU: 6 PID: 144 Comm: udevadm Not tainted 4.14.4+ #1
[ 3.848000] Hardware name: nexell soc (DT)
[ 3.848000] task: ffffffc073d77180 task.stack: ffffff8008fc8000
[ 3.848000] PC is at locks_remove_posix+0x24/0x13c
[ 3.848000] LR is at locks_remove_file+0x38/0x1d0
[ 3.848000] pc : [] lr : [] pstate: 60000145
[ 3.848000] sp : ffffff8008fcbc00
[ 3.848000] x29: ffffff8008fcbc00 x28: ffffffc073d77180
[ 3.848000] x27: ffffff80086c1000 x26: 0000000000000000
[ 3.848000] x25: ffffffc074835080 x24: ffffffc074828118
[ 3.848000] x23: ffffffc0754b9e20 x22: ffffffc009070010
[ 3.848000] x21: 0000000000000010 x20: ffffffc074835080
[ 3.848000] x19: 0000000000002000 x18: 00000000000005c3
[ 3.848000] x17: 0000007fa59ad010 x16: ffffff800809d6b4
[ 3.848000] x15: 0000007fa5b48e08 x14: 0000007fa5b56308
[ 3.848000] x13: 00000000ffffffff x12: 0000000000000068
[ 3.848000] x11: 0000000000000160 x10: 0000000000000001
[ 3.848000] x9 : ffffff8008a6ad60 x8 : ffffffbf01ff0b00
[ 3.848000] x7 : ffffffc073d77980 x6 : 0000000000000000
[ 3.848000] x5 : 0000000000000000 x4 : 0000000000000000
[ 3.848000] x3 : 0000000000000001 x2 : 0000000000002000
[ 3.848000] x1 : ffffffc009070000 x0 : ffffffc009070000
[ 3.848000] Process udevadm (pid: 144, stack limit = 0xffffff8008fc8000)
[ 3.848000] Call trace:
[ 3.848000] Exception stack(0xffffff8008fcbac0 to 0xffffff8008fcbc00)
[ 3.848000] bac0: ffffffc009070000 ffffffc009070000 0000000000002000 0000000000000001
[ 3.848000] bae0: 0000000000000000 0000000000000000 0000000000000000 ffffffc073d77980
[ 3.848000] bb00: ffffffbf01ff0b00 ffffff8008a6ad60 0000000000000001 0000000000000160
[ 3.848000] bb20: 0000000000000068 00000000ffffffff 0000007fa5b56308 0000007fa5b48e08
[ 3.848000] bb40: ffffff800809d6b4 0000007fa59ad010 00000000000005c3 0000000000002000
[ 3.848000] bb60: ffffffc074835080 0000000000000010 ffffffc009070010 ffffffc0754b9e20
[ 3.848000] bb80: ffffffc074828118 ffffffc074835080 0000000000000000 ffffff80086c1000
[ 3.848000] bba0: ffffffc073d77180 ffffff8008fcbc00 ffffff800822fe9c ffffff8008fcbc00
[ 3.848000] bbc0: ffffff800822de50 0000000060000145 ffffff8008a6ac00 ffffffbf0002d8c0
[ 3.848000] bbe0: 0000008000000000 ffffff80081b9ab0 ffffff8008fcbc00 ffffff800822de50
[ 3.848000] [] locks_remove_posix+0x24/0x13c
[ 3.848000] [] locks_remove_file+0x38/0x1d0
[ 3.848000] [] __fput+0xb8/0x1b8
[ 3.848000] [] ____fput+0xc/0x14
[ 3.848000] [] task_work_run+0x90/0xc4
[ 3.848000] [] do_exit+0x464/0x8d8
[ 3.848000] [] do_group_exit+0x4c/0x9c
[ 3.848000] [] __wake_up_parent+0x0/0x28
[ 3.848000] Exception stack(0xffffff8008fcbec0 to 0xffffff8008fcc000)
[ 3.848000] bec0: 0000000000000000 0000000000000000 0000000000000000 0000007fa5cf2400
[ 3.848000] bee0: 0000000000000078 0000000000000000 0000000000000000 0000007fa5cfba60
[ 3.848000] bf00: 000000000000005e 0000007fa5cf3ff0 0101010101010101 0000000000000000
[ 3.848000] bf20: 0000007fa5cf44f0 0000007fa5cf5500 0000007fa5b56308 0000007fa5b48e08
[ 3.848000] bf40: 0000007fa5b7a5d8 0000007fa59ad010 00000000000005c3 0000000000000008
[ 3.848000] bf60: 0000000000000008 0000007fa5c97bd0 0000000000000000 0000007fa5c9a000
[ 3.848000] bf80: 0000007fa5c9b5a0 0000007fa5cfa7a0 0000000000000001 0000000000000000
[ 3.848000] bfa0: 0000007fa5c9f000 0000007ffeb55750 0000007fa5b7a260 0000007ffeb55750
[ 3.848000] bfc0: 0000007fa5be93dc 0000000060000000 0000000000000000 000000000000005e
[ 3.848000] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3.848000] [] el0_svc_naked+0x24/0x28
[ 3.848000] Code: f9401854 91064282 c8dffc42 b4000862 (f8428c44)
[ 3.848000] ---[ end trace 0dc0774602244cc8 ]---
[ 3.848000] Fixing recursive fault but reboot is needed!
[ 3.856000] dwc2 c0040000.dwc2otg: c0040000.dwc2otg supply vusb_d not found, using dummy regulator
[ 3.856000] dwc2 c0040000.dwc2otg: c0040000.dwc2otg supply vusb_a not found, using dummy regulator
[ 4.172000] Unable to handle kernel paging request at virtual address 00002000
[ 4.172000] Mem abort info:
[ 4.172000] Exception class = DABT (current EL), IL = 32 bits
[ 4.172000] SET = 0, FnV = 0
[ 4.172000] EA = 0, S1PTW = 0
[ 4.172000] Data abort info:
[ 4.172000] ISV = 0, ISS = 0x00000045
[ 4.172000] CM = 0, WnR = 1
[ 4.172000] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc009662000
[ 4.172000] [0000000000002000] *pgd=0000000000000000, *pud=0000000000000000
[ 4.172000] Internal error: Oops: 96000045 [2] PREEMPT SMP
[ 4.172000] Modules linked in: dwc2(+) udc_core
[ 4.172000] CPU: 0 PID: 106 Comm: mmcqd/0 Tainted: G D 4.14.4+ 1
[ 4.172000] Hardware name: nexell soc (DT)
[ 4.172000] task: ffffffc073d85180 task.stack: ffffff8008ea8000
[ 4.172000] PC is at free_block.constprop.21+0xd8/0x164
[ 4.172000] LR is at ___cache_free+0x15c/0x178
[ 4.172000] pc : [] lr : [] pstate: 200001c5
[ 4.172000] sp : ffffff8008eabb50
[ 4.172000] x29: ffffff8008eabb50 x28: 0000000000000000
[ 4.172000] x27: ffffffc075401700 x26: ffffffc07ff0d1a8
[ 4.172000] x25: ffffff8008eabbb0 x24: ffffffc009634000
[ 4.172000] x23: ffffffc075400600 x22: ffffffc07ff0d198
[ 4.172000] x21: 0000004077549000 x20: 0000000000000004
[ 4.172000] x19: ffffff80089c4198 x18: 0000007f836dca70
[ 4.172000] x17: 0000007f83658a88 x16: 0000000000002000
[ 4.172000] x15: ffffffc075401738 x14: ffffffc075401718
[ 4.172000] x13: dead000000000200 x12: dead000000000100
[ 4.172000] x11: ffffffbf00000000 x10: 0000000000002000
[ 4.172000] x9 : ffffffbf0024caa0 x8 : 0000000000000000
[ 4.172000] x7 : 0000000000000000 x6 : 0000000000000000
[ 4.172000] x5 : ffffffbf0024ca80 x4 : ffffffc075401700
[ 4.172000] x3 : ffffff8008eabbb0 x2 : 0000000000000004
[ 4.172000] x1 : ffffffc07ff0d1a8 x0 : ffffffc075400600
[ 4.172000] Process mmcqd/0 (pid: 106, stack limit = 0xffffff8008ea8000)
[ 4.172000] Call trace:
[ 4.172000] Exception stack(0xffffff8008eaba10 to 0xffffff8008eabb50)
[ 4.172000] ba00: ffffffc075400600 ffffffc07ff0d1a8
[ 4.172000] ba20: 0000000000000004 ffffff8008eabbb0 ffffffc075401700 ffffffbf0024ca80
[ 4.172000] ba40: 0000000000000000 0000000000000000 0000000000000000 ffffffbf0024caa0
[ 4.172000] ba60: 0000000000002000 ffffffbf00000000 dead000000000100 dead000000000200
[ 4.172000] ba80: ffffffc075401718 ffffffc075401738 0000000000002000 0000007f83658a88
[ 4.172000] baa0: 0000007f836dca70 ffffff80089c4198 0000000000000004 0000004077549000
[ 4.172000] bac0: ffffffc07ff0d198 ffffffc075400600 ffffffc009634000 ffffff8008eabbb0
[ 4.172000] bae0: ffffffc07ff0d1a8 ffffffc075401700 0000000000000000 ffffff8008eabb50
[ 4.172000] bb00: ffffff80081c9758 ffffff8008eabb50 ffffff80081c8164 00000000200001c5
[ 4.172000] bb20: ffffffc075401700 0000000000000004 ffffffffffffffff ffffff80081c9664
[ 4.172000] bb40: ffffff8008eabb50 ffffff80081c8164
[ 4.172000] [] free_block.constprop.21+0xd8/0x164
[ 4.172000] [] kfree+0xec/0x100
[ 4.172000] [] mmc_exit_request+0x18/0x28
[ 4.172000] [] free_request_size+0x24/0x38
[ 4.172000] [] mempool_free+0x90/0x98
[ 4.172000] [] __blk_put_request+0x100/0x118
[ 4.172000] [] blk_finish_request+0xe4/0xe8
[ 4.172000] [] blk_end_bidi_request+0x54/0x7c
[ 4.172000] [] blk_end_request+0x24/0x2c
[ 4.172000] [] mmc_blk_issue_rw_rq+0x15c/0x308
[ 4.172000] [] mmc_blk_issue_rq+0x90/0x560
[ 4.172000] [] mmc_queue_thread+0xd4/0x154
[ 4.172000] [] kthread+0x12c/0x13c
[ 4.172000] [] ret_from_fork+0x10/0x18
[ 4.172000] Code: b90018a7 b5000050 f90008aa f94008aa (38274946)
[ 4.172000] ---[ end trace 0dc0774602244cc9 ]---
[ 4.176000] note: mmcqd/0[106] exited with preempt_count 2

@rafaello7
Copy link

@PVlado it looks bad. I mean the oops. Does it appear with 2GB ram only?

You can also try to load the 4.14 kernel using loaders from FriendlyARM.

@PVlado
Copy link

PVlado commented May 21, 2018

All img. from FA works OK.
32 and 64 bit

@PVlado
Copy link

PVlado commented May 21, 2018

On my board it happened only with it:
startup_aarch64.S line 61 change of 0x03100301 to 0x03100302
and
include/configs/s5p6818_nanopim3.h
CONFIG_SYS_SDRAM_SIZE 0x80000000

@awl1
Copy link

awl1 commented Sep 6, 2018

Hello,
can someone please provide an update about the status of booting the 2GB NanoPC-T3+ variant from emmc using Ubuntu Bionic (18.04) and the Armbian (or Rafaello7) 4.14 kernel?
Is this currently possible? If not, what exactly is missing in Armbian to allow for booting from emmc?
Many thanks!

@igorpecovnik
Copy link

It is possible since yesterday. armbian/build@86a00ad Images are not yet updated and you need to build on your own (with parameter EXPERT="yes") or wait a few days.

@awl1
Copy link

awl1 commented Sep 7, 2018

That's great news, Igor! Thanks a million for your great work on Armbian and the M3/T3/T3+! 🥇

@igorpecovnik
Copy link

@awl1
Copy link

awl1 commented Sep 8, 2018

@igorpecovnik Just one more question, if I may:

Regarding the old, 1GB, NanoPC-T3 (without "+", but which also already had an 8 GB emmc), when I build Armbian myself using board "nanopim3", does it now also offer the chance to install onto emmc for this old board?
In case it does not (yet), as the old T3 is very similar to the T3+, would it be feasible to add this even though it is marked as EOS, as I hope this would be a very minor change due to the similarity of the boards?

Thanks a million one more time! 😄

@igorpecovnik
Copy link

It is possible that 1G version won't boot at all. You might need different boot loader settings (the same as for M3/Fire3). Let's do it this way - I will prepare a CSC build target for the one without + and if it works for you it can have the same status. Boards are nearly identical.

@awl1
Copy link

awl1 commented Sep 8, 2018

Great! 👍 Once you've prepared this (did I get you right that it will be a new board name, such as "nanopct3" without plus), just give me a ping!

And: Clearly, there's no need to hurry - enjoy your weekend!!! 😄

@igorpecovnik
Copy link

Briefly checked: 2G hacks are tied directly to the + board, eMMC size does not matter and its made universal, ... and that's all that is different. BT does not work yet on + and it will not work here ... I have to dive into that once in the future.

Thanks. Enjoy yours as well!

@awl1
Copy link

awl1 commented Sep 8, 2018

Thanks again, @igorpecovnik

Regarding Bluetooth, I might be able to help, because I got it working back in the very old days when I had just received my first T3 - see this post on the FA forums:
https://friendlyarm.com/Forum/viewtopic.php?f=44&t=312#p958
and the file attachment below from back then.

Once I found some time to install onto my T3+, I will report back here whether I think that my old BT work will be of any help...

nanopi_bluetooth_fix.tar.gz

@awl1
Copy link

awl1 commented Sep 8, 2018

Bad news: Armbian_5.59_Nanopct3plus_Ubuntu_bionic_next_4.14.68_desktop.7z does NOT work at all for emmc on my T3+ 😞

After copying rootfs onto emmc with nand-sata-install (where I only see option 1 - boot from emmc, system on emmc), when I reboot with SD card removed, it simply hangs at Nano-Pi logo with Armbian u-boot.

When I leave the SD card in the SD card slot, it looks like it might boot from emmc u-boot, but it then always mounts SD card from /dev/mmcblk2p1 as the root partition and leaves /dev/mmc0blk alone. 😢

Will continue testing tomorrow and report back about u-boot logs, but I need to reestablish my NanoPC serial console debugging environment...

@awl1
Copy link

awl1 commented Sep 8, 2018

BTW: I also seem to have issues with wired eth0 on T3+ kernel 4.14.68 when connected to at least one of my switches - will also report back about this later, sometimes no connection, sometimes a bad connection with very erratic latencies (up to 1300ms) and dropped packets... 😞

@igorpecovnik
Copy link

I guess I must have made some mistake somewhere, serial console is a must ... Have you tried to power cycle? Regarding network ... never experience any troubles. That is odd.

@awl1
Copy link

awl1 commented Sep 9, 2018

@igorpecovnik
OK, so having exectuted nand-sata-install, selected option "1" (boot from emmc, system on emmc), here is the serial console NanoPi U-Boot log output when trying to boot from emmc without SD card inserted: putty.log

I am wondering why there is a "CRC" error in the U-Boot environment - maybe nand-sata-install fails to correctly write an U-Boot environment?

Will try to compare the output to that of a successful FA "FriendlyCore" boot from emmc with kernel 4.4.x and Ubuntu xenial and report back one more time...

@awl1
Copy link

awl1 commented Sep 9, 2018

Second update: eth0 wired networking issue seems to be an incompatibility between kernel 4.14 eth0 driver and only one out of three switches that I own. Networking works fine using the other two as well as when connecting directly to the DSL router, so it looks like this is an issue with this particular old GbE switch...

@daiaji
Copy link

daiaji commented Sep 9, 2018

@awl1 @igorpecovnik Though hardly anyone reported
But I did encounter T3 network related problems.
It seems that T3's NIC does not work under gigabit network.
Now I connect T3 to another 10/100 BaseT router and he can work normally.

In fact, I think the router of MT7621 should not be old.
Maybe you can try the old kernel provided by friendlyarm.

@igorpecovnik
Copy link

I am wondering why there is a "CRC" error in the U-Boot environment

That is not a problem but the problem is wrong default boot environment. I didn't clean it (env default -a) before testing and if I clean it now I get the same error as you get. Will be fixed asap.

A network is another story. It works well on both of my switches, gigabit or fast ethernet.

@igorpecovnik
Copy link

Fixed. Flash this u-boot to eMMC and it should work. Perhaps you will need to clear environment with env default -a

dd if=bootemmc.img of=/dev/mmcblk0 seek=1 status=noxfer

bootemmc.img.gz

@awl1
Copy link

awl1 commented Sep 9, 2018

@igorpecovnik Bingo! Many thanks, Igor! I can confirm that it does work fine now! 🏅 👍

Will try to look into the Bluetooth issue later tonight, could be possible I might be able to pay something back (see above with regards to brcm_patchram_plus)... 😃

Regarding eth0, I tend to think the kernel is most probably fine, as it works ok with all but one of my switches/routers. When I find some time, I might check whether the dev kernel changes something to the better for the affected switch, but that's really low prio...

@awl1
Copy link

awl1 commented Sep 9, 2018

Regarding Bluetooth: Hmm - it looks like kernel 4.14.x may still be missing kernel modules for Bluetooth - we need /sys/devices/platform/bt_bcm.0 to be able to access AP6212 Bluetooth device!?
Will check this in Armbian vs FriendlyARM kernel source and report back...

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

No branches or pull requests