The log is attached. It includes startup as well as shutdown. Thanks,
Erik -----Oprindelig meddelelse----- Fra: Robert Nelson <[email protected]> Sendt: 20. november 2018 01:51 Til: Beagle Board <[email protected]> Cc: [email protected] Emne: Re: [beagleboard] Re: Safely power down the PocketBeagle supplied by a battery On Mon, Nov 19, 2018 at 6:46 PM <[email protected]> wrote: > > I am currently facing this issue, because I need to run the 9.3 kernel for > compatibility reasons (some old PRU code). I know I can probably fix this > issue by setting the RTC to internal clock, but I'm not sure how to do that > in the best way. Is there a DTO available for it? Actually, i'm pretty sure this was u-boot problem? Please post me your u-boot boot log right up to kernel load for verification. If it is what i think it is, it's just one bit in the rtc register. But let's verify... https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2018.09/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L186-L193 Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/005101d480d0%242a868980%247f939c80%24%40take4.dk. For more options, visit https://groups.google.com/d/optout.
U-Boot SPL 2018.09-00002-gd5b4c4b656 (Oct 19 2018 - 14:16:02 -0500) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2018.09-00002-gd5b4c4b656 (Oct 19 2018 - 14:16:02 -0500), Build: jenkins-github_Bootloader-Builder-84 CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Power-on reset has occurred. RTC 32KCLK Source: Internal. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Model: BeagleBoard.org PocketBeagle <ethaddr> not set. Validating first E-fuse MAC Net: usb_ether Press SPACE to abort autoboot in 2 seconds board_name=[A335PBGL] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 2061 bytes read in 36 ms (55.7 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.9.78-ti-r94 ... 9960536 bytes read in 652 ms (14.6 MiB/s) debug: [enable_uboot_overlays=1] ... debug: [enable_uboot_cape_universal=1] ... debug: [uboot_base_dtb_univ=] ... loading /boot/dtbs/4.9.78-ti-r94/am335x-pocketbeagle.dtb ... 132769 bytes read in 55 ms (2.3 MiB/s) uboot_overlays: [fdt_buffer=0x60000] ... loading /boot/initrd.img-4.9.78-ti-r94 ... 6380300 bytes read in 421 ms (14.5 MiB/s) debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet] ... debug: [bootz 0x82000000 0x88080000:615b0c 0x88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Ramdisk to 8f9ea000, end 8ffffb0c ... OK Loading Device Tree to 8f9c6000, end 8f9e96a0 ... OK Starting kernel ... [ 0.001961] clocksource_probe: no matching clocksources found [ 1.437080] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 1.624989] omap_voltage_late_init: Voltage driver support not added [ 1.632735] PM: Cannot get wkup_m3_ipc handle [ 1.739933] PM: Cannot get wkup_m3_ipc handle [ 2.141168] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c rootfs: clean, 128374/943488 files, 835253/3805184 blocks Debian GNU/Linux 9 beaglebone ttyS0 BeagleBoard.org Debian Image 2018-01-28 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] beaglebone login: debian Password: Last login: Tue Nov 20 12:25:58 UTC 2018 from 192.168.7.1 on pts/0 Linux beaglebone 4.9.78-ti-r94 #1 SMP PREEMPT Fri Jan 26 21:26:24 UTC 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. debian@beaglebone:~$ sudo shutdown now [sudo] password for debian: [ 376.332166] reboot: Power down [ 378.824338] rtc_power_off failed, bailing out. [ 378.850826] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 [ 378.850826] [ 378.860076] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 4.9.78-ti-r94 #1 [ 378.867178] Hardware name: Generic AM33XX (Flattened Device Tree) [ 378.873400] [<c0114468>] (unwind_backtrace) from [<c010dd20>] (show_stack+0x20/0x24) [ 378.881240] [<c010dd20>] (show_stack) from [<c07449c0>] (dump_stack+0x80/0x94) [ 378.888554] [<c07449c0>] (dump_stack) from [<c0272af0>] (panic+0x100/0x28c) [ 378.895603] [<c0272af0>] (panic) from [<c0144220>] (complete_and_exit+0x0/0x2c) [ 378.902996] [<c0144220>] (complete_and_exit) from [<c0165b88>] (SyS_reboot+0x1c8/0x238) [ 378.911090] [<c0165b88>] (SyS_reboot) from [<c0108f80>] (ret_fast_syscall+0x0/0x48) [ 378.918851] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 [ 378.918851]
