Skip to content

Instantly share code, notes, and snippets.

@KunYi
KunYi / Capsule Update for SystemReady IR.log
Created October 3, 2021 09:08
Capsule Update on SRG-IM8P for SystemReady IR
U-Boot SPL 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
WDT: Not found!
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
@KunYi
KunYi / Fedora 34.20210801.0 (IoT Edition) boot.log
Last active October 4, 2021 12:58
Fedora v34 on SRG-IM8P install & booting message (console.log) for systemready ir
U-Boot SPL 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
WDT: Not found!
Trying to boot from BOOTROM
@KunYi
KunYi / OpenSUSE Tumbleweed 20210927 on SRG-IM8P boot.log
Last active October 4, 2021 13:00
OpenSUSE Tumbleweed 20210927 on SRG-IM8P install & boot message(console.log) for system ready ir
U-Boot SPL 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
WDT: Not found!
Trying to boot from BOOTROM
@KunYi
KunYi / srg-im8p-sw-description
Last active August 7, 2021 06:59
sw description of swupdate for srg-im8p board
{
"software": {
"version": "@@ADU_SOFTWARE_VERSION@@",
"@@MODEL_NAME@@": {
"hardware-compatibility": [
"1.0"
],
"stable": {
"rootA": {
"images": [
@KunYi
KunYi / docker_hawkbit.log
Created August 2, 2021 14:28
docker to run hawkbit update server
$ docker run -p 8080:8080 hawkbit/hawkbit-update-server:latest --hawkbit.dmf.rabbitmq.enabled=false --hawkbit.server.ddi.security.authentication.anonymous.enabled=true
______ _ _ _ _ ____ _ _
| ____| | (_) | | | | | _ \(_) |
| |__ ___| |_ _ __ ___ ___ | |__ __ ___ _| | _| |_) |_| |_
| __| / __| | | '_ \/ __|/ _ \ | '_ \ / _` \ \ /\ / / |/ / _ <| | __|
| |___| (__| | | |_) \__ \ __/ | | | | (_| |\ V V /| <| |_) | | |_
|______\___|_|_| .__/|___/\___| |_| |_|\__,_| \_/\_/ |_|\_\____/|_|\__|
| |
|_|
@KunYi
KunYi / evk boot_07222021_without_FitImage.log
Last active July 22, 2021 05:50
SRG-IMX8P without FitImage Booting
U-Boot SPL 2020.04-srg-imx8p+g57568fdd92 (Jul 19 2021 - 08:05:43 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x8000, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.4(release):lf-5.10.y-1.0.0-0-gba76d337e
NOTICE: BL31: Built : 08:27:48, Mar 1 2021
@KunYi
KunYi / cst_init.sh
Last active May 21, 2021 06:35
initial NXP/Freescale HAB(High Assurance Boot) PKI base certificate and get fuse.txt for burn fuse
#!/bin/bash
set -euo pipefail # for strict mode
CST_TARFILE="cst-3.3.1.tgz"
DEF_SERIAL_NUMBER="41325426"
DEF_KEY_PASS="KeyKunYi4SecureBoot"
if [ ! -f $CST_TARFILE ]; then
echo "not found $CST_TARFILE, please download first"
@KunYi
KunYi / imx-mkimge-steps.sh
Created May 19, 2021 08:38
imx-mkimage steps
#under imx-mkimage
# copy u-boot parts
cp ../uboot-imx/u-boot-nodtb.bin ./iMX8M
cp ../uboot-imx/arch/arm/dts/imx8mp-evk.dtb ./iMX8M
cp ../uboot-imx/spl/u-boot-spl.bin ./iMX8M
cp ../uboot-imx/tools/mkimage ./iMX8M/mkimage_uboot # need rename to mkimage_uboot
# copy firmware-imx parts
cp ../firmware-imx/firmware-imx-8.11/firmware/ddr/synopsys/lpddr4*.bin ./iMX8M # copy for DRAM Controller
@KunYi
KunYi / gist:cf663ff16f2faecc058389396147bbb7
Created May 12, 2021 04:22
Ubuntu resettings for Factory Reset
#from https://askubuntu.com/questions/870434/how-can-i-factory-reset-an-oem-install-of-ubuntu
# but need to verify the process
1. Create a new user:
Name: OEM Configuration (temporary user)
Login: oem
UID: 29999
Groups: adm, cdrom, sudo, dip, plugdev, lpadmin, oem, sambashare
@KunYi
KunYi / flash_jetson_xavier_nx-devkit-emmc.log
Created May 7, 2021 09:36
Nvidia Jetson XavierNX devkit-emmc log
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
Place your finger on the fingerprint reader
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit-emmc, Board Family: t186ref, SoC: Tegra 194,
# OpMode: production, Boot Authentication: NS,
# Disk encryption: disabled ,