Skip to content

Instantly share code, notes, and snippets.

@KunYi
KunYi / build tispl.bin and u-boot.bin for AM6254.log
Created September 16, 2022 06:32
Build tispl.bin and u-boot.bin for AM6254
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-bootloader-aosp/k3-image-gen$ cd ${YOUR_PATH}/ti-bootloader-aosp/arm-trusted-firmware
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-bootloader-aosp/arm-trusted-firmware$ make CROSS_COMPILE=aarch64-none-linux-gnu- ARCH=aarch64 PLAT=k3 TARGET_BOARD=lite SPD=opteed
Including services/spd/opteed/opteed.mk
Building k3
CC lib/libc/abort.c
CC lib/libc/assert.c
CC lib/libc/exit.c
CC lib/libc/memchr.c
CC lib/libc/memcmp.c
CC lib/libc/memcpy.c
@KunYi
KunYi / build tiboot3.log
Created September 16, 2022 05:06
build tiboot3.bin for TI AM6254/Android build.log
kunyi@kunyi-ThinkPad-P53:~/08_03_00/toolchain$ source envsetup.sh
kunyi@kunyi-ThinkPad-P53:~/08_03_00/toolchain$ cd ..
kunyi@kunyi-ThinkPad-P53:~/08_03_00$ export YOUR_PATH=$PWD
kunyi@kunyi-ThinkPad-P53:~/08_03_00$ cd ${YOUR_PATH}/ti-bootloader-aosp/ti-u-boot/
kunyi@kunyi-ThinkPad-P53:~/08_03_00/ti-bootloader-aosp/ti-u-boot$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62x_evm_r5_defconfig O=/tmp/r5
make[1]: Entering directory '/tmp/r5'
GEN ./Makefile
#
# configuration written to .config
#
@KunYi
KunYi / build rtems kernel with STM32F4.log
Created August 31, 2022 05:16
build rtems kernel with STM32F4
This file has been truncated, but you can view the full file.
builder@rtems:~/development/rtems/kernel/stm32f4$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5.1 \
> --target=arm-rtems5 --enable-rtemsbsp=stm32f4 --enable-posix \
> --disable-networking
checking for gmake... no
checking for make... make
checking for RTEMS Version... 5.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-rtems5
checking for a BSD-compatible install... /usr/bin/install -c
@KunYi
KunYi / install rtems 5 for ARM in docker.log
Last active August 31, 2022 05:19
install RTEMS 5.1 for ARM in container log
builder@rtems:~$ ./rtems5_install.sh
+ HOME_DIR=/home/builder
+ mkdir -p /home/builder/development/rtems
+ cd /home/builder/development/rtems
+ wget https://ftp.rtems.org/pub/rtems/releases/5/5.1/sources/rtems-source-builder-5.1.tar.xz
--2022-08-30 11:59:08-- https://ftp.rtems.org/pub/rtems/releases/5/5.1/sources/rtems-source-builder-5.1.tar.xz
Resolving ftp.rtems.org (ftp.rtems.org)... 140.211.10.151
Connecting to ftp.rtems.org (ftp.rtems.org)|140.211.10.151|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 264504 (258K) [application/x-xz]
@KunYi
KunYi / OpenBMC build-setup.log
Last active August 29, 2022 05:18
run openbmc-build-script/build-setup.sh
kunyi@kunyi-ThinkPad-P53:~/openbmc/openbmc-build-scripts$ WORKSPACE=~/ombc_2.11.0 num_cpu=4 target=romulus img_tag=bionic ./build-setup.sh
+++ dirname ./build-setup.sh
++ cd .
++ pwd
+ build_scripts_dir=/home/kunyi/openbmc/openbmc-build-scripts
+ http_proxy=
+ WORKSPACE=/home/kunyi/ombc_2.11.0
+ num_cpu=4
+ UBUNTU_MIRROR=
+ ENV_LOCAL_CONF=
@KunYi
KunYi / ipmitool.log
Created August 17, 2022 08:47
ipmitool debug information
kunyi@kunyi-ThinkPad-P53:~/$ ipmitool -I lanplus -p 2623 -C 17 -H 127.0.0.1 -vvv -U root -P 0penBmc mc info
>> Sending IPMI command payload
>> netfn : 0x06
>> command : 0x38
>> data : 0x8e 0x04
BUILDING A v1.5 COMMAND
>> IPMI Request Session Header
>> Authtype : NONE
@KunYi
KunYi / qemu-with-openbmc-romulus.2.11.0.log
Created August 17, 2022 06:28
qemu booting with OpenBMC 2.11.0 for romulus
kunyi@kunyi-ThinkPad-P53:~/openbmc/openbmc/build/tmp/deploy/images/romulus$ ./qemu-system-arm -m 256 -machine romulus-bmc -nographic -drive file=./obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2022-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=tcp:127.0.0.1:2080-:80,hostfwd=tcp:127.0.0.1:2200-:2200,hostfwd=udp:127.0.0.1:2623-:623,hostfwd=udp:127.0.0.1:2664-:664,hostname=qemu
qemu-system-arm: warning: Aspeed iBT has no chardev backend
qemu-system-arm: warning: nic ftgmac100.1 has no peer
U-Boot 2016.07 (Aug 17 2022 - 03:19:19 +0000)
Watchdog enabled
DRAM: 240 MiB
Flash: 32 MiB
@KunYi
KunYi / openbmc_operation.txt
Created August 16, 2022 10:56
pull openbmc and build
$ git clone https://github.com/openbmc/openbmc.git
$ git checkout 988bd1f2101c5f618addf180a95c94428ede7305 # 2.11.0
$ git switch -c 2.11
$ cd openbmc
$ mkdir build # make build folder
$ . setup romulus build # setup build environments
$ bitbake obmc-phosphor-image # run build
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
@KunYi
KunYi / romulus_boot.log
Created August 16, 2022 08:54
OpenBMC romulus booting log
U-Boot 2019.04 (Aug 09 2022 - 05:12:55 +0000)
SOC : AST2500-A1
RST : Power On
2nd Boot : Enable
LPC Mode : SIO:Enable : SuperIO-2e
Eth : MAC0: RMII/NCSI, , MAC1: RMII/NCSI,
Model: Romulus BMC
DRAM: 192 MiB (capacity:256 MiB, VGA:64 MiB, ECC:off)
MMC:
@KunYi
KunYi / docker.md
Created May 20, 2022 04:34 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary