Kernel Build Help
#1
Hi,

I'm having a little trouble with building the Kernel for the Rock 64. I'm initially trying to build in the machine itself, I have a 4GB version.

I've follow the process below to set up the machine, download the Kernel, configure it, build it and install it. it's the final step I'm having an issue with...

Step 1: Install prerequisite libraries for the Kernel build

Code:
sudo apt-get install fakeroot kernel-wedge build-essential bison flex libncurses5-dev libncursesw5-dev

Step 2: Get the Kernel Source

Code:
git clone https://github.com/ayufan-rock64/linux-mainline-kernel.git

Step 3: Configure the Kernel

Code:
cd linux-mainline-kernel
make rockchip_linux_defconfig

Step 4: Build the Kernel

Code:
make -j5

Step 5: Install the Kernel Modules

Code:
sudo make modules_install

Step 6: Install the Kernel

Code:
sudo make install

I then got the following error

Code:
/bin/bash ./arch/arm64/boot/install.sh 4.16.0-rc6-46881-g027e722bb005 \
arch/arm64/boot/Image System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.16.0-rc6-46881-g027e722bb005 /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.16.0-rc6-46881-g027e722bb005 /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005
update-initramfs: Generating /boot/initrd.img-4.16.0-rc6-46881-g027e722bb005
Warning: root device  does not exist
Using DTB: rk3328-rock64.dtb
Couldn't find DTB rk3328-rock64.dtb in /usr/lib/linux-image-4.16.0-rc6-46881-g027e722bb005 or /etc/flash-kernel/dtbs
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
arch/arm64/boot/Makefile:40: recipe for target 'install' failed
make[1]: *** [install] Error 1
arch/arm64/Makefile:132: recipe for target 'install' failed
make: *** [install] Error 2

so I found the rk3328-rock64.dtb on the machine and copied it to /etc/flash-kernel/dtbs

Code:
sudo cp /usr/lib/linux-image-4.4.77-rockchip-ayufan-136/rockchip/rk3328-rock64.dtb /etc/flash-kernel/dtbs/rk3328-rock64.dtb


I ran make install again and I now get the following..

Code:
/bin/bash ./arch/arm64/boot/install.sh 4.16.0-rc6-46881-g027e722bb005 \
arch/arm64/boot/Image System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.16.0-rc6-46881-g027e722bb005 /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.16.0-rc6-46881-g027e722bb005 /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005
update-initramfs: Generating /boot/initrd.img-4.16.0-rc6-46881-g027e722bb005
Warning: root device  does not exist
Using DTB: rk3328-rock64.dtb
Installing /etc/flash-kernel/dtbs/rk3328-rock64.dtb into /boot/dtbs/4.16.0-rc6-46881-g027e722bb005/rk3328-rock64.dtb
Installing new rk3328-rock64.dtb.
Ignoring old or unknown version 4.16.0-rc6-46881-g027e722bb005 (latest is 4.16.0-rc6-46881-g027e722bb005.old)
Use --force if you want version 4.16.0-rc6-46881-g027e722bb005.
Installing /etc/flash-kernel/dtbs/rk3328-rock64.dtb into /boot/dtbs/4.16.0-rc6-46881-g027e722bb005.old/rk3328-rock64.dtb
Installing new rk3328-rock64.dtb.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 2
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
arch/arm64/boot/Makefile:40: recipe for target 'install' failed
make[1]: *** [install] Error 1
arch/arm64/Makefile:132: recipe for target 'install' failed
make: *** [install] Error 2

Any guidance would be greatly appreciated.....

EDIT: I'm running artful-minimal-rock64-0.5.15-136-arm64.img
  Reply
#2
I'd just like to chime in that I'm having essentially the same problem. I'm attempting to make some small changes to the kernel to improve support for an Intel RealSense device, but I'm not entirely sure what to do in order to replace my current kernel with the newly built one (as described in the previous post by frewind). Are there any Linux/Rock64 gurus out there who can point us in the right direction?
  Reply
#3
(04-18-2018, 02:15 PM)Lorp Wrote: I'd just like to chime in that I'm having essentially the same problem. I'm attempting to make some small changes to the kernel to improve support for an Intel RealSense device, but I'm not entirely sure what to do in order to replace my current kernel with the newly built one (as described in the previous post by frewind). Are there any Linux/Rock64 gurus out there who can point us in the right direction?

Hi Lorp,

I just spent an evening debugging the various scripts that get run off the back of running the make install command.

I tracked my problem down to the /usr/share/flash-kernel/functions script. This script set a couple of variables (kfile & ifile) which as the names suggest, are for the kermel and the initramfs files including version numbers, the script tests to see if the files are present and if not writes a log then fails.

The log file is /tmp/flash-kernel-no-kernel-error.log and mine contained the following error

Code:
rock64@rock64:~$ more /tmp/flash-kernel-no-kernel-error.log

+ ls -l /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005.old
-rw-r--r-- 1 root root 27386368 Apr 16 13:39 /boot/vmlinuz-4.16.0-rc6-46881-g027e722bb005.old
+ ls -l /boot/initrd.img-4.16.0-rc6-46881-g027e722bb005.old*
ls: cannot access '/boot/initrd.img-4.16.0-rc6-46881-g027e722bb005.old*': No such file or directory

I copy the original to the .old version and now the make install run all the way through

Code:
cp initrd.img-4.16.0-rc6-46881-g027e722bb005 /boot/initrd.img-4.16.0-rc6-46881-g027e722bb005.old

I've not tested any further and I need to get some sleep, otherwise it will be a long day at work tomorrow Smile

I hope this helpful to you....
  Reply
#4
Hi frewind,

Well it's not exactly an elegant solution, but it appears to work! After copying the image to a .old file, re-running sudo make install, and before rebooting, `uname -r` still said "4.4.77-rockchip-ayufan-136". After rebooting, it now says "4.4.120-gac51b70-dirty", which is the newly-built image. I'll have to do some more testing to make sure everything's still working OK, but for now it seems like we have a partial solution.

If anyone out there has a prettier solution, please chime in!
  Reply
#5
(04-19-2018, 12:52 PM)Lorp Wrote: Hi frewind,

Well it's not exactly an elegant solution, but it appears to work! After copying the image to a .old file, re-running sudo make install, and before rebooting, `uname -r` still said "4.4.77-rockchip-ayufan-136". After rebooting, it now says "4.4.120-gac51b70-dirty", which is the newly-built image. I'll have to do some more testing to make sure everything's still working OK, but for now it seems like we have a partial solution.

If anyone out there has a prettier solution, please chime in!

Hi Lorp,

Glad to see you got it working, I've not got that far, when I rebooted my Rock64 fails to boot. Are you doing anything different to me or using a differed version of disto? I'm not trying to xenial minimal to see if that make any difference, otherwise I'll have to find my UART-USB dongle to find out what's going on..
  Reply
#6
Not sure if it is of any interest to this post but I was having issues with the Distro downloads on the forum particularly with getting wifi to work so I downloaded Armbians test version for the Rock64 https://www.armbian.com/rock64/ and wifi worked straight off the bat. 

I do understand many experienced Linux users have their reasons for building their own kernel but this download may be worth giving a try.
  Reply
#7
I've tried xenial minimal and this does not require the workaround, however I still cannot boot. I just get the white LED flashing every half second.
  Reply
#8
Thanks a lot for the sharing.  Just to report my experience.

The .old file extension trick works fine on ayufan's stable release too.  After update the kernel from 4.4.77-rockchip-ayufan-136 to 4.4.120-gac51b70a-dirty, can reboot and do apt update/upgrade.

Not sure if it counts.  The fact that I compile missing drivers as modules (no device tree change) allows me to directly copy the dtb from old kernel for the make install.

For the initrd and vmlinuz files, I just duplicate them with the .old ext within /boot.  Hope this can help those who has query.
  Reply
#9
(04-22-2018, 05:06 AM)frewind Wrote: I've tried xenial minimal and this does not require the workaround, however I still cannot boot. I just get the white LED flashing every half second.

Strange. FYI, I am using the Xenial Minimal Image (xenial-minimal-rock64-0.5.15-136-arm64), and compiling the kernel from source here: https://github.com/ayufan-rock64/linux-kernel

I am booting from 64 GB eMMC, originally flashed using the USB adapter.
  Reply
#10
Hi,

Can someone share the config with me?

I run


Code:
make rockchip_linux_defconfig

and the rest of the steps above, but my images does not boot, I get the following from the UART.

Code:
INFO:    PSCI Power Domain Map:
INFO:      Domain Node : Level 2, parent_node -1, State ON (0x0)
INFO:      Domain Node : Level 1, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      CPU Node : MPID 0x0, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x1, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x2, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x3, parent_node 1, State ON (0x0)
DDR version 1.06 20170424
In
SRX
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: 2017-05-18, version: 2.43
ChipType = 0x11, 188
emmc reinit
emmc reinit
SdmmcInit=2 20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30528MB
FwPartOffset=2000 , 0
StorageInit ok = 48114
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x92d74
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 09:28:45, May 31 2017
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g5aef9f7 (Oct 12 2017 - 09:11:39 +0000), Build: jenkins-linux-build-rock-64-136

Model: Pine64 Rock64
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
*** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Pine64 Rock64
normal boot
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:6...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
259 bytes read in 3 ms (84 KiB/s)
1:      kernel-4.4
Retrieving file: /initrd.img
reading /initrd.img
2176511 bytes read in 99 ms (21 MiB/s)
Retrieving file: /Image
reading /Image
19040264 bytes read in 845 ms (21.5 MiB/s)
append: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=4e:21:96:16:b7:bb eth1addr=4e:21:96:16:b7:db serial=1d154918ef2dfaf
Retrieving file: /dtb
reading /dtb
42707 bytes read in 5 ms (8.1 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to fcd06000, end fcf195ff ... OK
   Loading Device Tree to 00000000fccf8000, end 00000000fcd056d2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-rc2 (rock64@rock64) (gcc version 4.9.2 (Debian/Linaro 4.9.2-10)) #3 SMP Fri Apr 27 17:51:02 UTC 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Rockchip RK3328 Rock64
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 22 pages/cpu @ffffffc0fef5d000 s51456 r8192 d30464 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: 1027656
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=4e:21:96:16:b7:bb eth1addr=4e:21:96:16:b7:db serial=1d154918ef2dfaf
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 4082084K/4175872K available (11966K kernel code, 1634K rwdata, 3740K rodata, 1216K init, 636K bss, 93788K reserved, 0K 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 - 0xffffff8008c30000   ( 11968 KB)
[    0.000000]     .rodata : 0xffffff8008c30000 - 0xffffff8008fe0000   (  3776 KB)
[    0.000000]       .init : 0xffffff8008fe0000 - 0xffffff8009110000   (  1216 KB)
[    0.000000]       .data : 0xffffff8009110000 - 0xffffff80092a8808   (  1635 KB)
[    0.000000]        .bss : 0xffffff80092a8808 - 0xffffff8009347ac0   (   637 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]               0xffffffbf00008000 - 0xffffffbf03fc0000   (    63 MB actual)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc0ff000000   (  4078 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 45445 entries in 178 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001635] Console: colour dummy device 80x25
[    0.002055] console [tty0] enabled
[    0.002383] bootconsole [uart8250] disabled


But this is very different from ayufan's boot sequence

Code:
INFO:    PSCI Power Domain Map:
INFO:      Domain Node : Level 2, parent_node -1, State ON (0x0)
INFO:      Domain Node : Level 1, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      CPU Node : MPID 0x0, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x1, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x2, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0x3, parent_node 1, State ON (0x0)
DDR version 1.06 20170424
In
SRX
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
Boot1 Release Time: 2017-05-18, version: 2.43
ChipType = 0x11, 188
emmc reinit
emmc reinit
SdmmcInit=2 20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30528MB
FwPartOffset=2000 , 0
StorageInit ok = 48110
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x92d74
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 09:28:45, May 31 2017
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g5aef9f7 (Oct 12 2017 - 09:11:39 +0000), Build: jenkins-linux-build-rock-64-136

Model: Pine64 Rock64
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
*** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Pine64 Rock64
normal boot
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
mmc_init: -95, time 10
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:6...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
259 bytes read in 3 ms (84 KiB/s)
1:      kernel-4.4
Retrieving file: /initrd.img
reading /initrd.img
3504717 bytes read in 159 ms (21 MiB/s)
Retrieving file: /Image
reading /Image
18606088 bytes read in 825 ms (21.5 MiB/s)
append: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=4e:21:96:16:b7:bb eth1addr=4e:21:96:16:b7:db serial=1d154918ef2dfaf
Retrieving file: /dtb
reading /dtb
42707 bytes read in 5 ms (8.1 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to fcbc2000, end fcf19a4d ... OK
   Loading Device Tree to 00000000fcbb4000, end 00000000fcbc16d2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.77-rockchip-ayufan-136 (root@713b8312374e) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Thu Oct 12 09:14:48 UTC 2017
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff130000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0fef39000 s46504 r8192 d31320 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027656
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=4e:21:96:16:b7:bb eth1addr=4e:21:96:16:b7:db serial=1d154918ef2dfaf
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf6000000-0xfa000000] (64MB) mapped at [ffffffc0f6000000-ffffffc0f9ffffff]
[    0.000000] Memory: 4015000K/4175872K available (11390K kernel code, 1466K rwdata, 4124K rodata, 1152K init, 747K bss, 160872K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008fb0000 - 0xffffff80090d0000   (  1152 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008ba0000   ( 11392 KB)
[    0.000000]     .rodata : 0xffffff8008ba0000 - 0xffffff8008fb0000   (  4160 KB)
[    0.000000]       .data : 0xffffff80090d0000 - 0xffffff800923e808   (  1467 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc3fc0000   (    63 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc0ff000000   (  4078 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001590] Console: colour dummy device 80x25
[    0.002000] console [tty0] enabled
[    0.002321] bootconsole [uart0] disabled
<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.77-rockchip-ayufan-136 (root@713b8312374e) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Thu Oct 12 09:14:48 UTC 2017
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff130000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0fef39000 s46504 r8192 d31320 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027656
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=linux-root rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=4e:21:96:16:b7:bb eth1addr=4e:21:96:16:b7:db serial=1d154918ef2dfaf
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf6000000-0xfa000000] (64MB) mapped at [ffffffc0f6000000-ffffffc0f9ffffff]
[    0.000000] Memory: 4015000K/4175872K available (11390K kernel code, 1466K rwdata, 4124K rodata, 1152K init, 747K bss, 160872K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008fb0000 - 0xffffff80090d0000   (  1152 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008ba0000   ( 11392 KB)
[    0.000000]     .rodata : 0xffffff8008ba0000 - 0xffffff8008fb0000   (  4160 KB)
[    0.000000]       .data : 0xffffff80090d0000 - 0xffffff800923e808   (  1467 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc3fc0000   (    63 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc0ff000000   (  4078 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001590] Console: colour dummy device 80x25
[    0.002000] console [tty0] enabled
[    0.002321] bootconsole [uart0] disabled
[    0.002718] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002756] pid_max: default: 32768 minimum: 301
[    0.002895] Security Framework initialized

if someone can point out where I'm going wrong....
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian build from mrfixit2001 Luke 18 10,808 05-17-2021, 02:35 AM
Last Post: Wizzard
  Security Patches for the Kernel kwinz 8 1,485 01-16-2021, 05:34 PM
Last Post: kuleszdl
  Debian kernel stuck at 4.4.167 Enig123 5 1,263 12-29-2020, 12:57 PM
Last Post: kwinz
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 4,818 08-31-2020, 01:41 AM
Last Post: as365n4
  mainline kernel sound support Openwrt lucize 2 1,363 05-01-2020, 05:09 PM
Last Post: PakoSt
  5.3 kernel support? csrf 5 2,549 04-18-2020, 11:34 PM
Last Post: CameronNemo
Question alternative browser / seamonkey armhf build? kapqa 1 947 03-26-2020, 03:02 AM
Last Post: kapqa
  Help troubleshooting kernel panic gabrielfin 3 1,594 03-02-2020, 04:18 PM
Last Post: gabrielfin
  csdr build issues. TravisH 0 689 02-19-2020, 04:47 AM
Last Post: TravisH
  need a dts file to set some pins as pulldown interrupts in kernel using a DTO dkebler 0 766 02-05-2020, 10:58 PM
Last Post: dkebler

Forum Jump:


Users browsing this thread: 1 Guest(s)