This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi:
All the item are based on SK-AM62 E3.
1. I've program the tiboot3.bin tispl.bin u-boot.img to on board emmc(mmc0) mmcblk0boot0. So I can now boot from emmc
2. I've program the rootfs to mmcblk0p1, so that after set bootpart=0 and mmcdev=0 in u-boot. board can successfully enter linux. Seems everything is ok.
3. remove the SD card from the board, and type "reboot" in linux console. Linux wil try to reboot and all logs are shown as following.
root@am62xx-evm:~# reboot Stopping topping Session c2 of User root... [ OK ] Removed slice Slice /system/modprobe. [ OK ] Stopped target Graphical Interface. [ OK ] Stopped target Multi-User System. [ OK ] Stopped target Login Prompts. [ OK ] Stopped target RPC Port Mapper. [ OK ] Stopped target Sound Card. [ OK ] Stopped target Timer Units. [ OK ] Stopped Daily rotation of log files. [ OK ] Stopped Daily Cleanup of Temporary Directories. [ OK ] Stopped target System Time Set. [ OK ] Stopped target Hardware activated USB gadget. [ OK ] Closed Process Core Dump Socket. [ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. Stopping Save/Restore Sound Card State... Stopping Job spooling tools... Stopping Avahi mDNS/DNS-SD Stack... Stopping containerd container runtime... Stopping Periodic Command Scheduler... Stopping Getty on tty1... Stopping irqbalance daemon... Stopping Reboot and dump vmcore via kexec... Stopping Lighttpd Daemon... Stopping Netperf Benchmark Server... Stopping NFS status monitor for NFSv2/3 locking.... Stopping Serial Getty on ttyS2... Stopping Simple Network Ma…ent Protocol (SNMP) Daemon.... [ OK ] Stopped startwlanap. [ OK ] Stopped startwlansta. Stopping strongSwan IPsec …Ev2 daemon using ipsec.conf... Stopping Load/Save Random Seed... Stopping TEE Supplicant... Stopping thermal-zone-init.service... Stopping ti-apps-launcher service... Stopping Weston, a Wayland…ositor, as a system service... [ OK ] Stopped Job spooling tools. [ OK ] Stopped Periodic Command Scheduler. [ OK ] Stopped irqbalance daemon. [ OK ] Stopped TEE Supplicant. [ OK ] Stopped ti-apps-launcher service. [ OK ] Stopped Avahi mDNS/DNS-SD Stack. [ OK ] Stopped Netperf Benchmark Server. [ OK ] Stopped NFS status monitor for NFSv2/3 locking.. [ OK ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon.. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Serial Getty on ttyS2. [ OK ] Stopped Weston, a Wayland …mpositor, as a system service. [ OK ] Stopped containerd container runtime. [ OK ] Stopped strongSwan IPsec I…IKEv2 daemon using ipsec.conf. [ OK ] Stopped Lighttpd Daemon. [ OK ] Stopped Save/Restore Sound Card State. [ OK ] Stopped Reboot and dump vmcore via kexec. [ OK ] Stopped Load/Save Random Seed. [ OK ] Stopped thermal-zone-init.service. [ OK ] Stopped Session c1 of User weston. [ OK ] Stopped Session c2 of User root. [ OK ] Removed slice Slice /system/getty. [ OK ] Removed slice Slice /system/serial-getty. Stopping Docker Application Container Engine... Stopping LSB: network benchmark... Stopping LSB: Expand Rootfs of boot device... Stopping User Login Management... Stopping User Manager for UID 0... Stopping User Manager for UID 1000... [ OK ] Stopped User Manager for UID 1000. [ OK ] Stopped Docker Application Container Engine. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped LSB: network benchmark. [ OK ] Stopped LSB: Expand Rootfs of boot device. [ OK ] Stopped target Network is Online. [ OK ] Stopped target Host and Network Name Lookups. [ OK ] Stopped Wait for Network to be Configured. Stopping telnetd.service... Stopping User Runtime Directory /run/user/0... Stopping User Runtime Directory /run/user/1000... [ OK ] Unmounted /run/user/0. [ OK ] Unmounted /run/user/1000. [ OK ] Stopped User Login Management. [ OK ] Stopped telnetd.service. [ OK ] Stopped User Runtime Directory /run/user/0. [ OK ] Stopped User Runtime Directory /run/user/1000. [ OK ] Removed slice User Slice of UID 0. [ OK ] Removed slice User Slice of UID 1000. Stopping Permit User Sessions... [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Network. [ OK ] Stopped target Remote File Systems. Stopping Network Name Resolution... [ OK ] Stopped Network Name Resolution. Stopping Network Configuration... [ OK ] Stopped Network Configuration. [ OK ] Stopped target Preparation for Network. [ OK ] Stopped IPv6 Packet Filtering Framework. [ OK ] Stopped IPv4 Packet Filtering Framework. [ OK ] Stopped target Basic System. [ OK ] Stopped target Path Units. [ OK ] Stopped Dispatch Password …ts to Console Directory Watch. [ OK ] Stopped Forward Password R…uests to Wall Directory Watch. [ OK ] Stopped target Slice Units. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Socket Units. [ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Closed Docker Socket for the API. [ OK ] Closed dropbear.socket. [ OK ] Closed Network Service Netlink Socket. [ OK ] Closed Weston socket. Stopping D-Bus System Message Bus... [ OK ] Stopped D-Bus System Message Bus. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped Load Kernel Modules. Stopping Network Time Synchronization... [ OK ] Stopped Network Time Synchronization. [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped target Local File Systems. Unmounting /media/mmcblk1p1... Unmounting /media/ram... Unmounting /run/media/boot-mmcblk1p1... Unmounting /run/media/mmcblk0p1... [ 468.524815] EXT4-fs (mmcblk0p1): unmounting filesystem. Unmounting Temporary Directory /tmp... Unmounting /var/volatile... [ OK ] Unmounted /media/mmcblk1p1. [ OK ] Unmounted /media/ram. [ OK ] Unmounted /run/media/boot-mmcblk1p1. [ OK ] Unmounted /run/media/mmcblk0p1. [ OK ] Unmounted Temporary Directory /tmp. [ OK ] Unmounted /var/volatile. [ OK ] Stopped target Swaps. [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped File System Check on /dev/mmcblk0p1. [ OK ] Stopped File System Check on /dev/mmcblk1p1. [ OK ] Removed slice Slice /system/systemd-fsck. [ OK ] Stopped target Preparation for Local File Systems. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Reached target System Shutdown. [ OK ] Reached target Late Shutdown Services. [ OK ] Finished System Reboot. [ OK ] Reached target System Reboot. [ 468.959785] kauditd_printk_skb: 1 callbacks suppressed [ 468.959810] audit: type=1334 audit(485.232:56): prog-id=10 op=UNLOAD [ 468.971443] audit: type=1334 audit(485.232:57): prog-id=9 op=UNLOAD [ 468.977772] audit: type=1334 audit(485.240:58): prog-id=4 op=UNLOAD [ 468.984081] audit: type=1334 audit(485.240:59): prog-id=3 op=UNLOAD [ 468.990363] audit: type=1334 audit(485.244:60): prog-id=6 op=UNLOAD [ 468.996753] audit: type=1334 audit(485.244:61): prog-id=5 op=UNLOAD [ 469.003136] audit: type=1334 audit(485.244:62): prog-id=8 op=UNLOAD [ 469.009554] audit: type=1334 audit(485.244:63): prog-id=7 op=UNLOAD [ 469.022108] systemd-shutdown[1]: Syncing filesystems and block devices. [ 469.042872] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 469.064507] systemd-journald[171]: Received SIGTERM from PID 1 (systemd-shutdow). [ 469.074515] audit: type=1335 audit(485.348:64): pid=171 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/ systemd-journald" nl-mcgrp=1 op=disconnect res=1 [ 469.092827] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 469.113621] systemd-shutdown[1]: Unmounting file systems. [ 469.122957] [1963]: Remounting '/' read-only with options 'n/a'. [ 469.155841] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. [ 469.185861] systemd-shutdown[1]: All filesystems unmounted. [ 469.191577] systemd-shutdown[1]: Deactivating swaps. [ 469.196887] systemd-shutdown[1]: All swaps deactivated. [ 469.202131] systemd-shutdown[1]: Detaching loop devices. [ 469.211707] systemd-shutdown[1]: All loop devices detached. [ 469.217342] systemd-shutdown[1]: Stopping MD devices. [ 469.223014] systemd-shutdown[1]: All MD devices stopped. [ 469.228348] systemd-shutdown[1]: Detaching DM devices. [ 469.233823] systemd-shutdown[1]: All DM devices detached. [ 469.239229] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached. [ 469.257724] systemd-shutdown[1]: Syncing filesystems and block devices. [ 469.264649] systemd-shutdown[1]: Rebooting. [ 469.327548] reboot: Restarting system
4. All will stack here, board will not continue to the u-boot again.
5. Power cycle the board to have board boot from emmc again. And after enter Linux, plug in the SD card.
6. reboot in console. and now u-boot can start successfully, but it's start from SD (mmc2)
Hello Yi,
Can we check if the FAQ helps?
e2e.ti.com/.../faq-am62x-how-to-check-and-configure-emmc-flash-rst_n-signal-to-support-warm_reset-from-emmc-booting-on-am62x-sk-e2
Best,
-Hong