Hi folks,
I wrote to my custom linux image to SD Card. When BeagleBone Black boot from SD Card, after short period of time , power was gone itself.
I also selected TPS65217 from menuconfig, but nothing changed.
How can i solve this problem
Regards
Note:Before this operations. I make below command from U-boot prompt;
fatls mmc 1
mmc dev 1
mmc erase 0 100000
setenv bootcmd 'load mmc 0:1 81000000 zImage; load mmc 0:1 82000000 dtb; bootz 81000000 - 82000000'
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootwait ro
saveenv
setenv bootdelay 0
saveenv
My console log from Serial Port:
F
U-Boot SPL 2022.04 (Oct 24 2023 - 15:07:19 +0300)
Trying to boot from MMC1
U-Boot 2022.04 (Oct 24 2023 - 15:07:19 +0300)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
Core: 150 devices, 14 uclasses, devicetree: separate
WDT: Started wdt@44e35000 with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... OK
Net: eth2: ethernet@4a100000, eth3: usb_ether
Hit any key to stop autoboot: 0
4999768 bytes read in 326 ms (14.6 MiB/s)
72683 bytes read in 8 ms (8.7 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x4c4a58 ]
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Loading Device Tree to 8ffeb000, end 8ffffbea ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.60-dirty (arge02@development) (arm-linux-gnueabihf-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #6 SMP Fri Nov 3 14:34:01 +03 2023
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 16 MiB at 0x9e800000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000009fdfffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000009fdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] percpu: Embedded 16 pages/cpu s34196 r8192 d23148 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootwait ro
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 484788K/522240K available (10240K kernel code, 1087K rwdata, 2492K rodata, 1024K init, 248K bss, 21068K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[ 0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000026] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000439] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[ 0.002120] Console: colour dummy device 80x30
[ 0.002203] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.090481] CPU: Testing write buffer coherency: ok
[ 0.090582] CPU0: Spectre v2: using BPIALL workaround
[ 0.090594] pid_max: default: 32768 minimum: 301
[ 0.090731] LSM: Security Framework initializing
[ 0.090922] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.090943] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.092569] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.093749] Setting up static identity map for 0x80100000 - 0x80100078
[ 0.094016] rcu: Hierarchical SRCU implementation.
[ 0.094025] rcu: Max phase no-delay instances is 1000.
[ 0.094695] smp: Bringing up secondary CPUs ...
[ 0.094706] smp: Brought up 1 node, 1 CPU
[ 0.094715] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[ 0.094726] CPU: All CPU(s) started in SVC mode.
[ 0.095549] devtmpfs: initialized
[ 0.110044] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.110370] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.110404] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.111996] pinctrl core: initialized pinctrl subsystem
[ 0.113949] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.116854] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.117435] audit: initializing netlink subsys (disabled)
[ 0.118654] thermal_sys: Registered thermal governor 'fair_share'
[ 0.118674] thermal_sys: Registered thermal governor 'step_wise'
[ 0.118679] thermal_sys: Registered thermal governor 'user_space'
[ 0.118822] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
[ 0.118857] cpuidle: using governor menu
[ 0.136387] No ATAGs?
[ 0.136411] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.145428] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.164559] iommu: Default domain type: Translated
[ 0.164572] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.165990] SCSI subsystem initialized
[ 0.166842] pps_core: LinuxPPS API ver. 1 registered
[ 0.166853] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.166883] PTP clock support registered
[ 0.168370] vgaarb: loaded
[ 0.168708] clocksource: Switched to clocksource dmtimer
[ 0.169320] VFS: Disk quotas dquot_6.6.0
[ 0.169400] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.189342] NET: Registered PF_INET protocol family
[ 0.189668] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.190977] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.191023] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.191052] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.191097] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.191197] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.191320] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.191347] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.191539] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.199577] RPC: Registered named UNIX socket transport module.
[ 0.199599] RPC: Registered udp transport module.
[ 0.199605] RPC: Registered tcp transport module.
[ 0.199609] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.199629] PCI: CLS 0 bytes, default 64
[ 0.201154] Initialise system trusted keyrings
[ 0.202173] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.203496] NFS: Registering the id_resolver key type
[ 0.203560] Key type id_resolver registered
[ 0.203568] Key type id_legacy registered
[ 0.203616] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.204037] Key type asymmetric registered
[ 0.204053] Asymmetric key parser 'x509' registered
[ 0.204140] io scheduler mq-deadline registered
[ 0.204151] io scheduler kyber registered
[ 0.213462] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 0.264804] brd: module loaded
[ 0.296690] loop: module loaded
[ 0.297619] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.300406] i2c_dev: i2c /dev entries driver
[ 0.301268] cpuidle: enable-method property 'ti,am3352' found operations
[ 0.301703] sdhci: Secure Digital Host Controller Interface driver
[ 0.301713] sdhci: Copyright(c) Pierre Ossman
[ 0.301898] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.302164] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.302909] Initializing XFRM netlink socket
[ 0.303119] NET: Registered PF_INET6 protocol family
[ 0.304863] Segment Routing with IPv6
[ 0.304937] In-situ OAM (IOAM) with IPv6
[ 0.305036] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.305917] NET: Registered PF_PACKET protocol family
[ 0.305945] NET: Registered PF_KEY protocol family
[ 0.306070] Key type dns_resolver registered
[ 0.306189] ThumbEE CPU extension supported.
[ 0.306205] Registering SWP/SWPB emulation handler
[ 0.306671] omap_voltage_late_init: Voltage driver support not added
[ 0.307020] SmartReflex Class3 initialized
[ 0.307947] Loading compiled-in X.509 certificates
[ 0.386926] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/pinmux_clkout2_pin
[ 0.387432] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[ 0.392106] ti-sysc: probe of 44e31000.target-module failed with error -16
[ 0.442310] ti-sysc: probe of 48040000.target-module failed with error -16
[ 0.452314] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
[ 0.476737] OMAP GPIO hardware version 0.1
[ 0.489075] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 0.494097] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
[ 0.512379] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
[ 0.532712] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[ 0.533169] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[ 0.595883] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 0.663358] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 0.663691] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
[ 0.663707] cpsw-switch 4a100000.switch: ALE Table size 1024
[ 0.663825] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffies)
[ 0.663841] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mult:2147483648 calc_shift:29 error:0 nsec/sec
[ 0.663938] cpsw-switch 4a100000.switch: Detected MACID = e0:ff:f1:db:ec:3b
[ 0.665581] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool size 256) hw_ver:0019010C 1.12 (0)
[ 0.675099] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[ 0.675139] edma 49000000.dma: TI EDMA DMA engine driver
[ 0.721559] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.723331] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
[ 0.728527] l3-aon-clkctrl:0000:0: failed to disable
[ 0.739498] printk: console [ttyS0] disabled
[ 0.739720] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 34, base_baud = 3000000) is a 8250
[ 2.038020] printk: console [ttyS0] enabled
[ 2.069615] tps65217-pmic: Failed to locate of_node [id: -1]
[ 2.083503] tps65217-bl: Failed to locate of_node [id: -1]
[ 2.092316] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 2.098440] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.106044] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 2.114905] sdhci-omap 48060000.mmc: Got CD GPIO
[ 2.119910] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[ 2.132590] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[ 2.141093] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[ 2.149296] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[ 2.184993] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[ 2.193724] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[ 2.202213] Waiting for root device /dev/mmcblk0p2...
[ 2.242377] mmc0: new high speed SDHC card at address 1234
[ 2.249253] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[ 2.257756] mmcblk0: p1 p2
[ 2.264542] mmc1: new high speed MMC card at address 0001
[ 2.271257] mmcblk1: mmc1:0001 MK2704 3.53 GiB
[ 2.279403] mmcblk1boot0: mmc1:0001 MK2704 2.00 MiB
[ 2.286655] mmcblk1boot1: mmc1:0001 MK2704 2.00 MiB
[ 2.293722] mmcblk1rpmb: mmc1:0001 MK2704 512 KiB, chardev (250:0)
[ 2.335968] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 2.344826] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.356252] devtmpfs: mounted
[ 2.360816] Freeing unused kernel image (initmem) memory: 1024K
[ 2.367321] Run /sbin/init as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: SKIP (read-only file system detected)
Starting network: OK
Welcome to Buildroot
buildroot login: