Skip to content

Instantly share code, notes, and snippets.

root@rk3399-q7:~#
root@rk3399-q7:~# journalctl -b -o short-monotonic --no-pager
-- Logs begin at Thu 2016-11-03 18:16:42 CET, end at Mon 2019-08-05 13:57:45 CEST. --
[ 0.000000] rk3399-q7 kernel: Booting Linux on physical CPU 0x0
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpuset
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpu
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpuacct
[ 0.000000] rk3399-q7 kernel: Linux version 4.4.126-38831-gdd5e0d9 (jenkins@android.lan) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Mon Aug 5 13:53:23 CEST 2019
[ 0.000000] rk3399-q7 kernel: Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] rk3399-q7 kernel: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
This file has been truncated, but you can view the full file.
root@rk3399-q7:~# journalctl -b -o short-monotonic > log.txt
-- Logs begin at Thu 2016-11-03 18:16:42 CET, end at Mon 2019-08-05 12:50:59 CEST. --
[ 0.000000] rk3399-q7 kernel: Booting Linux on physical CPU 0x0
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpuset
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpu
[ 0.000000] rk3399-q7 kernel: Initializing cgroup subsys cpuacct
[ 0.000000] rk3399-q7 kernel: Linux version 4.4.126-38830-ge8bc18d (jenkins@android.lan) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Mon Aug 5 12:26:53 CEST 2019
[ 0.000000] rk3399-q7 kernel: Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] rk3399-q7 kernel: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
U-Boot SPL board init
U-Boot SPL 2019.04-02534-ge83d0c7 (May 13 2019 - 19:14:24 +0200)
Trying to boot from MMC1
NOTICE: BL31: v1.3(release):puma_2017-10-02-3-gfcdd441
NOTICE: BL31: Built : 11:46:27, Apr 30 2019
U-Boot 2019.04-02534-ge83d0c7 (May 13 2019 - 19:14:47 +0200), Build: jenkins-rockchip-tyrant-u-boot-2
@jakob-tsd
jakob-tsd / rawprogram.xml
Created May 4, 2018 12:16
rawprogram.xml + fix from ndec
<data><program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="sbc_1.0_8016.bin" label="cdt" num_partition_sectors="4" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2.0" sparse="false" start_byte_hex="0x4000000" start_sector="131072" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="sbl1.mbn" label="sbl1" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x8000000" start_sector="262144" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="rpm.mbn" label="rpm" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x8080000" start_sector="263168" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="tz.mbn" label="tz" num_partition_sectors="2048" partofsingleimage="false" physical_pa
@jakob-tsd
jakob-tsd / log.md
Last active May 4, 2018 12:13
dragonboard-410c qdl success

Flash using QDL

dragonboard-410c-bootloader-emmc-linux-99$ ../qdl/qdl --debug prog_emmc_firehose_8916.mbn rawprogram.xml patch.xml
Waiting for QDL tty...
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x60
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0x988
READ image: 13 offset: 0x3000 length: 0x1000
@jakob-tsd
jakob-tsd / boot.log
Last active May 3, 2018 12:16
qdl dragonboard-410c-bootloader-emmc-linux-99.zip
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.0-00286
S - IMAGE_VARIANT_STRING=HAAAANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002e1
S - Core 0 Frequency, 0 MHz
B - 1546 - PBL, Start
B - 3493 - bootable_media_detect_entry, Start
@jakob-tsd
jakob-tsd / flash.log
Last active May 3, 2018 12:16
qdl dragonboard-410c-bootloader-emmc-linux-99.zip
theo@HP-550:~/hc3/blobs$ ../qdl/qdl --debug prog_emmc_firehose_8916.mbn rawprogram.xml patch.xml
Waiting for QDL tty...
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x60
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0x988
READ image: 13 offset: 0x3000 length: 0x1000
READ image: 13 offset: 0x4000 length: 0x1000
READ image: 13 offset: 0x5000 length: 0x1000
root@rk3399-q7:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.17.0-rc2-00002-g4c5325e2d535 (junterwurzacher@blau) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #73 SMP PREEMPT Tue Apr 24 14:55:56 CEST 2018
[ 0.000000] Machine model: Theobroma Systems RK3399-Q7 SoM
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x7efade80-0x7efaf97f]
root@rk3399-q7:~#
root@rk3399-q7:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.17.0-rc2 (junterwurzacher@blau) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #72 SMP PREEMPT Tue Apr 24 14:04:24 CEST 2018
[ 0.000000] Machine model: Theobroma Systems RK3399-Q7 SoM
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
@jakob-tsd
jakob-tsd / dmesg.txt
Created April 24, 2018 12:06
RK3399-Q7 Linux v4.17-rc2
root@rk3399-q7:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.17.0-rc2 (junterwurzacher@blau) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #72 SMP PREEMPT Tue Apr 24 14:04:24 CEST 2018
[ 0.000000] Machine model: Theobroma Systems RK3399-Q7 SoM
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x7efade80-0x7efaf97f]