Tool/software: SDK9.3, SDK9.1 .wic file
#1. Boot with SDK9.3 .wic file, can't execute commands like: ls, cd,
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am335x-evm - Arago 2023.10 am335x-evm - am335x-evm login: root root@am335x-evm:~# ls -sh: ls: command not found root@am335x-evm:~# uname -a Linux am335x-evm 6.1.119-ti-gc490f4c0fe51 #1 PREEMPT Wed Dec 4 17:16:52 UTC 20x root@am335x-evm:~# ls -sh: ls: command not found root@am335x-evm:~# echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin root@am335x-evm:~# cd .. -sh: cd: ..: Not a directory root@am335x-evm:~#
SDK9.1
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am335x-evm - Arago 2023.04 am335x-evm - am335x-evm login: root root@am335x-evm:~# ls root@am335x-evm:~# cd .. root@am335x-evm:/home# ls root weston root@am335x-evm:/home# echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin root@am335x-evm:/home# root@am335x-evm:/home# uname -a Linux am335x-evm 6.1.46-g1d4b5da681 #1 PREEMPT Thu Oct 19 10:19:08 UTC 2023 armx root@am335x-evm:/home#
#2. Want to enter sleep mode, neither SDK9.1 nor SDK9.3 works. I am curiously what resolved in SDK9.3?
in SDK9.1:
root@am335x-evm:/sys/power# echo mem > state [ 622.009385] PM: suspend entry (s2idle) [ 622.053756] Filesystems sync: 0.040 seconds [ 622.060478] Freezing user space processes [ 622.066990] Freezing user space processes completed (elapsed 0.002 seconds) [ 622.074543] OOM killer disabled. [ 622.077801] Freezing remaining freezable tasks [ 622.083719] Freezing remaining freezable tasks completed (elapsed 0.001 seco) [ 622.091271] PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmwarf [ 622.098997] OOM killer enabled. [ 622.102302] Restarting tasks ... done. [ 622.111623] random: crng reseeded on system resumption [ 622.116842] PM: suspend exit -sh: echo: write error: Invalid argument root@am335x-evm:/sys/power# root@am335x-evm:/sys/power# echo standby >state -sh: echo: write error: Invalid argument root@am335x-evm:/sys/power#
#3. In SK9.3 user guide, removed Power Management section. Below post was working on SDK9.3, I checked SDK9.3 .config, CONFIG_WKUP_M3_RPROC=m and CONFIG_WKUP_M3_IPC=m is set in default. then applied 2 patches from this thread.
make Linux get error as below: