Skip to content

Instantly share code, notes, and snippets.

@manojams
manojams / gist:107a9f8539eddefd762beefad7a44dcd
Last active November 21, 2023 08:05
rock-3a-kernel-log
DDR Version V1.13 20220218
In
ddrconfig:0
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: 24ps, dqs1: -96ps, dqs2: -96ps, dqs3: -192ps,
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
U-Boot SPL 2023.10-gef6737d9ac (Nov 14 2023 - 10:10:03 +0000)
Trying to boot from NAND
hab fuse not enabled
Authenticate image from DDR location 0x177fffc0...
U-Boot 2023.10-gef6737d9ac (Nov 14 2023 - 10:10:03 +0000)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_lock_new':
threads_pthread.c:(.text+0x45): undefined reference to `pthread_rwlock_init'
/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_read_lock':
threads_pthread.c:(.text+0x85): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_write_lock':
threads_pthread.c:(.text+0xa5): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_unlock':
threads_pthread.c:(.text+0xc5): undefined reference to `pthread_rwlock_unlock'
/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_lock_free':
threads_pthread.c:(.text+0xea): undefined reference to `pthread_rwlock_destroy'
build:u-boot$ export ARCH=arm ; export CROSS_COMPILE=../../gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
build:u-boot$ make -j12
UPD include/generated/timestamp_autogenerated.h
HOSTCC tools/generated/env/embedded.o
HOSTCC tools/generated/lib/sha1.o
HOSTCC tools/generated/lib/crc8.o
HOSTLD tools/mkenvimage
build@manoj-ThinkPad-E14-Gen-3:~$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
Traceback (most recent call last):
File "/usr/lib/python3.4/urllib/request.py", line 1182, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1088, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders
self._send_output(message_body)
@manojams
manojams / gist:503b493db17eea8aadecd047a4f3ec0b
Created November 8, 2023 06:08
ubuntu15 build+ nand image
U-Boot SPL 2019.04-rc3 (Nov 07 2023 - 20:58:53 +0000)
Trying to boot from NAND
hab fuse not enabled
U-Boot 2019.04-rc3 (Nov 07 2023 - 20:58:53 +0000)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 52C
Reset cause: POR
ubunt15-opendev-easybuild$ cd easy-build/
manoj:easy-build$ ls
AUTHORS build-aosp build-capi-native build-in-jenkins-slave build-openwrt build-yocto CONTRIBUTING.md Dockerfile experimental LICENSE README.md run tools
manoj:easy-build$ cp build-yocto/Dockerfile-15.04 build-yocto/Dockerfile
manoj:easy-build$
manoj:easy-build$ docker build -t yocto/ubuntu-15.04 build-yocto/
Sending build context to Docker daemon 24.06kB
Step 1/15 : FROM ubuntu:15.04
15.04: Pulling from library/ubuntu
Image docker.io/library/ubuntu:15.04 uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
@manojams
manojams / gist:75250b78527fb89ef03f6326e1d5fd8f
Last active November 7, 2023 15:01
nand signed image( uboot italdes + engicam kernel)
U-Boot SPL 2019.04-rc3 (Nov 07 2023 - 13:28:36 +0000)
Trying to boot from NAND
hab fuse not enabled
U-Boot 2019.04-rc3 (Nov 07 2023 - 13:28:36 +0000)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 50C
Reset cause: POR
U-Boot SPL 2019.04-rc3 (Nov 07 2023 - 01:45:07 +0000)
Trying to boot from NAND
hab fuse not enabled
U-Boot 2019.04-rc3 (Nov 07 2023 - 01:45:53 +0000)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 40C
Reset cause: POR
@manojams
manojams / gist:411379461c676e523c9f2fbba659523d
Last active November 7, 2023 06:03
nand -flash- uboot-client
U-Boot 2023.10-01073-g43db840254 (Nov 07 2023 - 10:46:55 +0530)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 58C
Reset cause: POR
Model: Engicam i.CoreM6 DualLite/Solo Starter Kit
DRAM: 512 MiB
Core: 47 devices, 17 uclasses, devicetree: separate
NAND: 512 MiB
MMC: FSL_SDHC: 0