Part Number: AM4376
Other Parts Discussed in Thread: TPS65218, DP83848C, TMP100
Tool/software: Linux
Hi,
I'm using a AM4376 on a custom board with:
- U-Boot 2017.01
- Linux version 4.9.41
- gcc version 6.2.0
Booting after a hard reset boots perfectly fine on the QSPI flash, but after a reboot command the processor boots only from the SD-Card, which works fine but if there is no SD-Card (or nothing to boot on the SD-Card) the processor hangs after:
[ 1752.172890] systemd-shutdown[1]: All filesystems unmounted.
[ 1752.178497] systemd-shutdown[1]: Deactivating swaps.
[ 1752.191766] reboot: Restarting system
The WARMRST Pin resets the flash on reboot and the boot Sys Boot Pins are set to 01000b (QSPI->USB_MS->MMC0->USB_CL).
Do you have any idea why it would not reboot on the QSPI?
log from a full boot/reboot on QSPI with debugging enabled on u-boot:
initcall: 30040fe0
U-Boot 2017.01 (Nov 23 2018 - 08:28:37 +0100)
initcall: 3000f1a8
U-Boot code: 30000000 -> 3005F0B0 BSS: -> 300B10E4
initcall: 30001ce4
CPU : AM437X-GP rev 1.2
initcall: 3000f6c8
initcall: 3000f1ec
I2C: ready
initcall: 3000f1d4
DRAM: initcall: 300024e4
initcall: 3000f444
Monitor len: 000B10E4
Ram size: 10000000
Ram top: 90000000
initcall: 3000effc
initcall: 3000f150
TLB table from 8fff0000 to 8fff4000
initcall: 3000f370
initcall: 3000f104
Reserving 708k for U-Boot at: 8ff3e000
initcall: 3000f0d8
Reserving 33280k for malloc() at: 8debe000
initcall: 3000f304
Reserving 80 Bytes for Board Info at: 8debdfb0
initcall: 3000f378
initcall: 3000f0a4
Reserving 184 Bytes for Global Data at: 8debdef8
initcall: 3000f038
initcall: 3000f358
initcall: 3000f4c0
initcall: 3000f41c
initcall: 3000f394
RAM Configuration:
Bank #0: 80000000 256 MiB
DRAM: 256 MiB
initcall: 3000f01c
New Stack Pointer is: 8debded0
initcall: 3000f2c0
initcall: 3000f254
Relocation Offset is: 5ff3e000
Relocating to 8ff3e000, new gd at 8debdef8, sp at 8debded0
initcall: 8ff4d690
initcall: 8ff4d50c
initcall: 3000f678 (relocated to 8ff4d678)
dram_bank_mmu_setup: bank: 0
initcall: 3000f640 (relocated to 8ff4d640)
efi_runtime_relocate: Relocating to offset=8ff3e000
efi_runtime_relocate: Setting 8ff9cf60 to 8ff9cfb8
efi_runtime_relocate: Setting 8ff9cf6c to 8ff86e44
efi_runtime_relocate: Setting 8ff9cf74 to 8ff86e50
efi_runtime_relocate: Setting 8ff9cf7c to 8ff86e50
efi_runtime_relocate: Setting 8ff9cf80 to 8ff9cfd0
efi_runtime_relocate: Setting 8ff9cf84 to 8ff86360
efi_runtime_relocate: Setting 8ff9cf8c to 8ff9cf90
efi_runtime_relocate: Setting 8ff9cfe8 to 8ff7715c
efi_runtime_relocate: Setting 8ff9cfec to 8ff9cf34
efi_runtime_relocate: Setting 8ff9cff0 to 8ff9cf2c
efi_runtime_relocate: Setting 8ff9cff4 to 8ff9cf2c
efi_runtime_relocate: Setting 8ff9cff8 to 8ff77320
efi_runtime_relocate: Setting 8ff9cffc to 8ff9cf3c
efi_runtime_relocate: Setting 8ff9d000 to 8ff9cf34
efi_runtime_relocate: Setting 8ff9d004 to 8ff9cf34
efi_runtime_relocate: Setting 8ff9d008 to 8ff9cf34
efi_runtime_relocate: Setting 8ff9d00c to 8ff9cf34
efi_runtime_relocate: Setting 8ff9d010 to 8ff77164
initcall: 3000f688 (relocated to 8ff4d688)
initcall: 3000f624 (relocated to 8ff4d624)
using memory 0x8debe000-0x8ff3e000 for malloc()
initcall: 3000f524 (relocated to 8ff4d524)
initcall: 3000f504 (relocated to 8ff4d504)
initcall: 3000f610 (relocated to 8ff4d610)
initcall: 30002c10 (relocated to 8ff40c10)
Freq: 25 MHz
initcall: 3003a38c (relocated to 8ff7838c)
efi_add_memory_map: 0x80000000 0x10000 7 no
efi_add_memory_map: 0x8cebd000 0x3143 2 no
efi_add_memory_map: 0x8ff9c000 0x2 5 no
initcall: 30014e64 (relocated to 8ff52e64)
initcall: 3000f600 (relocated to 8ff4d600)
initcall: 3000f5e4 (relocated to 8ff4d5e4)
Now running in RAM - U-Boot at: 8ff3e000
initcall: 30002bd0 (relocated to 8ff40bd0)
pmic_alloc: new pmic struct: 0x8debe0e8
pmic_get: pmic TPS65218_PMIC -> 0x8debe0e8
Bus: 0 PMIC:TPS65218_PMIC probed!
PMIC: TPS65218
initcall: 3000f5c4 (relocated to 8ff4d5c4)
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
initcall: 3000f594 (relocated to 8ff4d594)
ti_spi_set_speed: hz: 48000000, clock divider 3
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:48 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read c2
rx cmd 00390fff dc 00000005
rx done, status 00030002, read 20
rx cmd 00390fff dc 00000005
rx done, status 00040002, read 1a
rx cmd 00390fff dc 00000005
rx done, status 00050002, read c2
rx cmd 00390fff dc 00000005
rx done, status 00060002, read 20
rx cmd 00390fff dc 00000005
rx done, status 00070002, read 1a
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:3
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
tx cmd 003a0fff dc 00000005
tx done, status 00020002
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:3
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
tx cmd 003a0fff dc 00000005
tx done, status 00020002
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 40
spi_release_bus: bus:0 cs:0
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 40
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
SF: Detected mx25l51235f with page size 256 Bytes, erase size 64 KiB, total 64 MiB, mapped at 30000000
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:0 flags:4
Enable clock module - 44df8878
Enable clock module - 44df8880
Disable clock module - 44df8878
Disable clock module - 44df8880
spi_xfer: bus:0 cs:0 bitlen:0 flags:8
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:0 flags:4
Enable clock module - 44df8878
Enable clock module - 44df8880
Disable clock module - 44df8878
Disable clock module - 44df8880
spi_xfer: bus:0 cs:0 bitlen:0 flags:8
spi_release_bus: bus:0 cs:0
Destroy Hash Table: 8ff9bbdc table = 00000000
Create Hash Table: N=512
INSERT: table 8ff9bbdc, filled 1/521 rv 8e03f64c ==> name="bootcmd" value="150_boot"
INSERT: table 8ff9bbdc, filled 2/521 rv 8e03fea8 ==> name="bootdelay" value="0"
INSERT: table 8ff9bbdc, filled 3/521 rv 8e03f228 ==> name="baudrate" value="115200"
INSERT: table 8ff9bbdc, filled 4/521 rv 8e03ea44 ==> name="arch" value="arm"
INSERT: table 8ff9bbdc, filled 5/521 rv 8e040240 ==> name="cpu" value="armv7"
INSERT: table 8ff9bbdc, filled 6/521 rv 8e03f9f8 ==> name="board" value="150"
INSERT: table 8ff9bbdc, filled 7/521 rv 8e03ed00 ==> name="board_name" value="150"
INSERT: table 8ff9bbdc, filled 9/521 rv 8e040894 ==> name="soc" value="am33xx"
INSERT: table 8ff9bbdc, filled 10/521 rv 8e03fb4c ==> name="fdtfile" value="150.dtb"
INSERT: table 8ff9bbdc, filled 11/521 rv 8e03fd2c ==> name="loadaddr" value="0x82000000"
INSERT: table 8ff9bbdc, filled 12/521 rv 8e03f6b0 ==> name="kernel_addr_r" value="0x82000000"
INSERT: table 8ff9bbdc, filled 13/521 rv 8e04004c ==> name="fdtaddr" value="0x85000000"
INSERT: table 8ff9bbdc, filled 14/521 rv 8e040c2c ==> name="fdt_high" value="0x85010000"
INSERT: table 8ff9bbdc, filled 15/521 rv 8e03f00c ==> name="fdt_addr_r" value="0x84000000"
INSERT: table 8ff9bbdc, filled 16/521 rv 8e03eea4 ==> name="scriptaddr" value="0x80000000"
INSERT: table 8ff9bbdc, filled 17/521 rv 8e03e684 ==> name="bootm_size" value="0x08000000"
INSERT: table 8ff9bbdc, filled 18/521 rv 8e03f1b0 ==> name="boot_fdt" value="yes"
INSERT: table 8ff9bbdc, filled 19/521 rv 8e03eb48 ==> name="mmcdev" value="0"
INSERT: table 8ff9bbdc, filled 20/521 rv 8e03f854 ==> name="mmcrootfstype" value="jffs2"
INSERT: table 8ff9bbdc, filled 21/521 rv 8e03f0c0 ==> name="finduuid" value="part uuid mmc ${bootpart} uuid"
INSERT: table 8ff9bbdc, filled 22/521 rv 8e040e34 ==> name="args_mmc" value="run finduuid;setenv bootargs console=${console} ${optargs} rootfstype=${mmcrootfstype}"
INSERT: table 8ff9bbdc, filled 23/521 rv 8e03e828 ==> name="loadbootscript" value="load mmc ${mmcdev} ${loadaddr} boot.scr"
INSERT: table 8ff9bbdc, filled 24/521 rv 8e03f188 ==> name="bootscript" value="echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}"
INSERT: table 8ff9bbdc, filled 25/521 rv 8e03fa5c ==> name="bootenvfile" value="uEnv.txt"
INSERT: table 8ff9bbdc, filled 26/521 rv 8e03ee7c ==> name="importbootenv" value="echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}"
INSERT: table 8ff9bbdc, filled 27/521 rv 8e040b8c ==> name="loadbootenv" value="fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}"
INSERT: table 8ff9bbdc, filled 28/521 rv 8e03ffd4 ==> name="loadimage" value="load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}"
INSERT: table 8ff9bbdc, filled 29/521 rv 8e04036c ==> name="loadfdt" value="load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}"
INSERT: table 8ff9bbdc, filled 30/521 rv 8e03eeb8 ==> name="envboot" value="mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;"
INSERT: table 8ff9bbdc, filled 31/521 rv 8e040d1c ==> name="mmcloados" value="run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;"
INSERT: table 8ff9bbdc, filled 32/521 rv 8e040920 ==> name="mmcboot" value="mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run mmcloados;fi;fi;"
INSERT: table 8ff9bbdc, filled 33/521 rv 8e040a38 ==> name="bootpart" value="0:1"
INSERT: table 8ff9bbdc, filled 34/521 rv 8e03e620 ==> name="bootdir" value="/boot"
INSERT: table 8ff9bbdc, filled 35/521 rv 8e03f96c ==> name="bootfile" value="zImage"
INSERT: table 8ff9bbdc, filled 36/521 rv 8e040858 ==> name="console" value="ttyO0,115200n8"
INSERT: table 8ff9bbdc, filled 37/521 rv 8e03fc3c ==> name="activeapp" value="0 "
INSERT: table 8ff9bbdc, filled 38/521 rv 8e03efd0 ==> name="app0fail" value="0 "
INSERT: table 8ff9bbdc, filled 39/521 rv 8e03f804 ==> name="app1fail" value="0 "
INSERT: table 8ff9bbdc, filled 40/521 rv 8e04086c ==> name="appsize" value="0x01900000 "
INSERT: table 8ff9bbdc, filled 41/521 rv 8e0403e4 ==> name="app0addr" value="0x00480000 "
INSERT: table 8ff9bbdc, filled 42/521 rv 8e03fbb0 ==> name="app1addr" value="0x02000000 "
INSERT: table 8ff9bbdc, filled 43/521 rv 8e03f9bc ==> name="dt0addr" value="0x00400000 "
INSERT: table 8ff9bbdc, filled 44/521 rv 8e03f7f0 ==> name="dt1addr" value="0x01F80000 "
INSERT: table 8ff9bbdc, filled 45/521 rv 8e03fbc4 ==> name="dtsize" value="0x00080000 "
INSERT: table 8ff9bbdc, filled 46/521 rv 8e040a4c ==> name="optargs" value="mem=256M"
INSERT: table 8ff9bbdc, filled 47/521 rv 8e040b3c ==> name="findfdt" value="if test $board_name = AM43EPOS; then setenv fdtfile am43x-epos-evm.dtb; fi; if test $board_name = AM43__GP; then setenv fdtfile am437x-gp-evm.dtb; fi; if test $board_name = AM43XXHS; then setenv fdtfile am437x-gp-evm.dtb; fi; if test $board_name = AM43__SK; then setenv fdtfile am437x-sk-evm.dtb; fi; if test $board_name = AM43_IDK; then setenv fdtfile am437x-idk-evm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree; fi; "
INSERT: table 8ff9bbdc, filled 48/521 rv 8e0404e8 ==> name="activeapp" value="0"
INSERT: free(data = 8dfbe590)
INSERT: done
initcall: 3000f69c (relocated to 8ff4d69c)
initcall: 30014e80 (relocated to 8ff52e80)
initcall: 3000f584 (relocated to 8ff4d584)
initcall: 300125d0 (relocated to 8ff505d0)
Initial value for argc=3
Final value for argc=3
Initial value for argc=3
Final value for argc=3
Initial value for argc=3
Final value for argc=3
initcall: 3000120c (relocated to 8ff3f20c)
initcall: 3000f574 (relocated to 8ff4d574)
initcall: 3000f554 (relocated to 8ff4d554)
initcall: 30002d50 (relocated to 8ff40d50)
Initial value for argc=3
Final value for argc=3
initcall: 3000f538 (relocated to 8ff4d538)
Net: <ethaddr> not set. Validating first E-fuse MAC
Initial value for argc=3
Final value for argc=3
Initial value for argc=3
Final value for argc=3
Initial value for argc=3
Final value for argc=3
cpsw connected to Generic PHY
Initial value for argc=3
Final value for argc=3
cpsw, usb_ether
initcall: 3000f52c (relocated to 8ff4d52c)
Initial value for argc=3
Final value for argc=3
### main_loop entered: bootdelay=0
### main_loop: bootcmd="150_boot"
Hit any key to stop autoboot: 0
## Starting 150 (bootloader) ##
ti_spi_set_speed: hz: 48000000, clock divider 3
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:48 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read c2
rx cmd 00390fff dc 00000005
rx done, status 00030002, read 20
rx cmd 00390fff dc 00000005
rx done, status 00040002, read 1a
rx cmd 00390fff dc 00000005
rx done, status 00050002, read c2
rx cmd 00390fff dc 00000005
rx done, status 00060002, read 20
rx cmd 00390fff dc 00000005
rx done, status 00070002, read 1a
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:3
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
tx cmd 003a0fff dc 00000005
tx done, status 00020002
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:3
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
tx cmd 003a0fff dc 00000005
tx done, status 00020002
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 40
spi_release_bus: bus:0 cs:0
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 40
spi_release_bus: bus:0 cs:0
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:8 flags:1
tx cmd 003a0fff dc 00000005
tx done, status 00010002
spi_xfer: bus:0 cs:0 bitlen:8 flags:2
rx cmd 00390fff dc 00000005
rx done, status 00020002, read 00
spi_release_bus: bus:0 cs:0
SF: Detected mx25l51235f with page size 256 Bytes, erase size 64 KiB, total 64 MiB, mapped at 30000000
spi_release_bus: bus:0 cs:0
Initial value for argc=4
Final value for argc=4
device 0 offset 0x480000, size 0x1900000
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:0 flags:4
Enable clock module - 44df8878
Enable clock module - 44df8880
Disable clock module - 44df8878
Disable clock module - 44df8880
spi_xfer: bus:0 cs:0 bitlen:0 flags:8
spi_release_bus: bus:0 cs:0
SF: 26214400 bytes @ 0x480000 Read: OK
device 0 offset 0x400000, size 0x80000
spi_claim_bus: bus:0 cs:0
spi_xfer: bus:0 cs:0 bitlen:0 flags:4
Enable clock module - 44df8878
Enable clock module - 44df8880
Disable clock module - 44df8878
Disable clock module - 44df8880
spi_xfer: bus:0 cs:0 bitlen:0 flags:8
spi_release_bus: bus:0 cs:0
SF: 524288 bytes @ 0x400000 Read: OK
Application 0 loaded to RAM
Initial value for argc=3
Final value for argc=3
## Current stack ends at 0x8debdb00 * kernel: cmdline image address = 0x82000000
Kernel image @ 0x82000000 [ 0x000000 - 0x14afb80 ]
## Skipping init Ramdisk
## No init Ramdisk
ramdisk start = 0x00000000, ramdisk end = 0x00000000
* fdt: cmdline image address = 0x85000000
## Checking for 'FDT'/'FDT Image' at 85000000
* fdt: raw FDT blob
## Flattened Device Tree blob at 85000000
Booting using the fdt blob at 0x85000000
of_flat_tree at 0x85000000 size 0x0000a933
Initial value for argc=3
Final value for argc=3
using: FDT
## initrd_high = 0x88000000, copy_to_ram = 1
ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
## device tree at 85000000 ... 8500a932 (len=55603 [0xD933])
Loading Device Tree to 85002000, end 8500f932 ... OK
Initial value for argc=3
Final value for argc=3
Updating property '/ocp@44000000/ethernet@4a100000/slave@4a100200/mac-address' = a8 1b 6a 5f 90 cd
Updating property '/ocp@44000000/ethernet@4a100000/slave@4a100200/local-mac-address' = a8 1b 6a 5f 90 cd
Updating property '/ocp@44000000/ethernet@4a100000/slave@4a100300/mac-address' = a8 1b 6a 5f 90 cf
Updating property '/ocp@44000000/ethernet@4a100000/slave@4a100300/local-mac-address' = a8 1b 6a 5f 90 cf
## Transferring control to Linux (at address 82000000)...
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.41 (jenkins@ip-10-130-185-133) (gcc version 6.2.0 (GCC) ) #2 PREEMPT Wed Nov 21 12:50:27 CET 2018
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: 150
[ 0.000000] cma: Reserved 16 MiB at 0x8f000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM437x ES1.2 (neon)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyO0,115200n8 mem=256M
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 214876K/262144K available (6144K kernel code, 216K rwdata, 1276K rodata, 19456K init, 223K bss, 30884K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x90800000 - 0xff800000 (1776 MB)
[ 0.000000] lowmem : 0x80000000 - 0x90000000 ( 256 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80008000 - 0x80700000 (7136 kB)
[ 0.000000] .init : 0x80900000 - 0x81c00000 (19456 kB)
[ 0.000000] .data : 0x81c00000 - 0x81c36050 ( 217 kB)
[ 0.000000] .bss : 0x81c36050 - 0x81c6df28 ( 224 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] OMAP L2C310: ROM does not support power control setting
[ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
[ 0.000011] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[ 0.000028] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.000037] OMAP clocksource: timer1 at 25000000 Hz
[ 0.000380] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000390] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000691] Console: colour dummy device 80x30
[ 0.000715] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000721] This ensures that you still see kernel messages. Please
[ 0.000725] update your kernel commandline.
[ 0.000742] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[ 0.060123] pid_max: default: 32768 minimum: 301
[ 0.060227] Security Framework initialized
[ 0.060262] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060270] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061040] CPU: Testing write buffer coherency: ok
[ 0.061401] Setting up static identity map for 0x80100000 - 0x8010004c
[ 0.062773] devtmpfs: initialized
[ 0.072240] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.072510] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.072532] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.073751] pinctrl core: initialized pinctrl subsystem
[ 0.074735] NET: Registered protocol family 16
[ 0.076011] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.170168] cpuidle: using governor menu
[ 0.171511] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
[ 0.171573] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
[ 0.175003] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
[ 0.176681] OMAP GPIO hardware version 0.1
[ 0.179346] platform 53701000.des: Cannot lookup hwmod 'des'
[ 0.179543] platform 48310000.rng: Cannot lookup hwmod 'rng'
[ 0.181997] No ATAGs?
[ 0.182022] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.182033] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.216140] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.216796] V3_3D: supplied by V24_0D
[ 0.217082] V1_8DREG: supplied by V24_0D
[ 0.217336] V1_8D: supplied by V1_8DREG
[ 0.217584] V1_5DREG: supplied by V24_0D
[ 0.217825] V1_5D: supplied by V1_5DREG
[ 0.218997] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/power_mangement_pins_default, deferring probe
[ 0.219043] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/crypto_device_pins_default, deferring probe
[ 0.219075] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/temp_sensor_pins_default, deferring probe
[ 0.219185] pps_core: LinuxPPS API ver. 1 registered
[ 0.219193] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.219213] PTP clock support registered
[ 0.219593] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.220570] clocksource: Switched to clocksource timer1
[ 0.220756] VFS: Disk quotas dquot_6.6.0
[ 0.220815] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.228174] NET: Registered protocol family 2
[ 0.228823] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.228851] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.228876] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.228965] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.228980] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.229101] NET: Registered protocol family 1
[ 0.229476] RPC: Registered named UNIX socket transport module.
[ 0.229487] RPC: Registered udp transport module.
[ 0.229492] RPC: Registered tcp transport module.
[ 0.229498] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.517728] audit: initializing netlink subsys (disabled)
[ 1.517797] audit: type=2000 audit(1.510:1): initialized
[ 1.518252] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.524702] NFS: Registering the id_resolver key type
[ 1.524741] Key type id_resolver registered
[ 1.524748] Key type id_legacy registered
[ 1.524791] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 1.526347] io scheduler noop registered
[ 1.526362] io scheduler deadline registered
[ 1.526537] io scheduler cfq registered (default)
[ 1.527610] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[ 1.528340] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 1.530801] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 2.217009] console [ttyS0] enabled
[ 2.221193] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[ 2.230437] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[ 2.251281] brd: module loaded
[ 2.260182] loop: module loaded
[ 2.269940] m25p80 spi0.0: mx66l51235l (65536 Kbytes)
[ 2.275227] 9 ofpart partitions found on MTD device spi0.0
[ 2.280762] Creating 9 MTD partitions on "spi0.0":
[ 2.285579] 0x000000000000-0x000000200000 : "bootloaderImage"
[ 2.292396] 0x000000200000-0x000000300000 : "bootloaderVariable"
[ 2.299331] 0x000000400000-0x000001d80000 : "applicationImage0"
[ 2.306302] 0x000001f80000-0x000003900000 : "applicationImage1"
[ 2.313195] 0x000003ac0000-0x000003fa0000 : "applicationData"
[ 2.319850] 0x000003fa0000-0x000003fb0000 : "bootloaderImageHeader"
[ 2.327151] 0x000003fb0000-0x000003fc0000 : "applicationImageHeader0"
[ 2.334573] 0x000003fc0000-0x000003fd0000 : "applicationImageHeader1"
[ 2.341960] 0x000003fe0000-0x000004000000 : "Info"
[ 2.348918] libphy: Fixed MDIO Bus: probed
[ 2.420635] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.426771] davinci_mdio 4a101000.mdio: detected phy mask fffffff3
[ 2.443404] libphy: 4a101000.mdio: probed
[ 2.447459] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver TI DP83848C 10/100 Mbps PHY
[ 2.457353] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83848C 10/100 Mbps PHY
[ 2.467899] cpsw 4a100000.ethernet: Detected MACID = a8:1b:6a:5f:90:cd
[ 2.475509] cpsw 4a100000.ethernet: cpsw: Detected MACID = a8:1b:6a:5f:90:cf
[ 2.483517] i2c /dev entries driver
[ 2.488072] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 2.550994] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.558579] oprofile: no performance counters
[ 2.565126] oprofile: using timer interrupt.
[ 2.569685] Initializing XFRM netlink socket
[ 2.574514] NET: Registered protocol family 10
[ 2.581428] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.588005] NET: Registered protocol family 17
[ 2.594654] NET: Registered protocol family 15
[ 2.599215] Key type dns_resolver registered
[ 2.603680] omap_voltage_late_init: Voltage driver support not added
[ 2.610239] ThumbEE CPU extension supported.
[ 2.622104] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
[ 2.628484] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[ 2.658052] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.666735] lm75 2-0048: hwmon0: sensor 'tmp100'
[ 2.671503] mmc0: new high speed SD card at address 0001
[ 2.677712] mmcblk0: mmc0:0001 CACTU 980 MiB
[ 2.683352] mmcblk0: p1
[ 2.687219] rtc-ds1307 2-0068: rtc core: registered ds1339 as rtc0
[ 2.693555] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 400 kHz
[ 2.699755] rtc-ds1307 2-0068: setting system clock to 2018-11-23 10:23:24 UTC (1542968604)
[ 2.708854] Warning: unable to open an initial console.
[ 2.746725] Freeing unused kernel memory: 19456K (80900000 - 81c00000)
[ 2.770969] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.779316] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.791365] systemd[1]: systemd 230 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 2.810067] systemd[1]: Detected architecture arm.
[ 2.845645] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.852395] systemd[1]: Initializing machine ID from random generator.
[ 2.895397] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[ 2.930868] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.938123] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.945347] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.952925] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.964918] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.974402] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.044653] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.072323] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.101080] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.131482] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 3.160851] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 3.191188] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket (/dev/log).
Starting Create list of required st... nodes for the current kernel...
[ OK ] Reached target Swap.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Paths.
[ OK ] Created slice system-getty.slice.
Mounting Temporary Directory...
[ OK ] Listening on Journal Audit Socket.
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
Starting Remount Root and Kernel File Systems...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Mounting Debug File System...
[ OK ] Mounted Configuration File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted Temporary Directory.
[ OK ] Started Journal Service.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Apply Kernel Variables.
Starting Rebuild Hardware Database...
Starting Create System Users...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Rebuild Hardware Database.
[ OK ] Started Create System Users.
[ 4.103829] systemd-journald[98]: Received request to flush runtime journal from PID 1
Starting Create Static Device Nodes in /dev...
Starting udev Coldplug all Devices...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Mounted /var/volatile.
[ OK ] Reached target Local File Systems.
Starting Rebuild Dynamic Linker Cache...
Starting Rebuild Journal Catalog...
Starting Raise network interfaces...
Starting Create Volatile Files and Directories...
Starting Load/Save Random Seed...
[ OK ] Started Rebuild Dynamic Linker Cache.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Rebuild Journal Catalog.
Starting Update is Completed...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Update is Completed.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ 5.311169] net eth0: initializing cpsw version 1.15 (0)
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ 5.411685] TI DP83848C 10/100 Mbps PHY 4a101000.mdio:02: attached PHY driver [TI DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq=-1)
[ OK ] Started Serial Getty on ttyS0.
[ 5.479097] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Found device /dev/mmcblk0p1.
[ OK ] Started Login Service.
Mounting SD Card partition 1...
[ 6.381612] random: fast init done
[ 6.559743] net eth1: initializing cpsw version 1.15 (0)
[ OK ] Mounted SD Card partition 1.
[ 6.711039] TI DP83848C 10/100 Mbps PHY 4a101000.mdio:03: attached PHY driver [TI DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:03, irq=-1)
[ 6.809623] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[FAILED] Failed to start Raise network interfaces.
[ 7.521441] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ 7.550754] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
150 login: root
root@150:~# reboot
[ OK ] Stopped target Multi-User System.
Stopping D-Bus System Message Bus...
Stopping Login Service...
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
[ O Stopping Serial Getty on ttyS0...
[ OK ] Stopped target System Time Synchronized.
Stopping OpenBSD Secure Shell server...
Stopping The Apache HTTP Server...
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Diagnosis Database Service...
[ OK ] Stopped Diagnosis Database Service.
[ OK ] Stopped The Apache HTTP Server.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Network.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target System Initialization.
Stopping Load/Save Random Seed...
[ OK ] Stopped Update is Completed.
[ OK ] Stopped Rebuild Dynamic Linker Cache.
[ OK ] Stopped Rebuild Hardware Database.
[ OK ] Stopped Rebuild Journal Catalog.
[ OK ] Stopped Apply Kernel Variables.
Stopping Network Time Synchronization...
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting Temporary Directory...
Unmounting /var/volatile...
[ OK ] Unmounted Temporary Directory.
[ OK ] Unmounted /var/volatile.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Create System Users.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
[ 17.190521] systemd-shutdow: 21 output lines suppressed due to ratelimiting
[ 17.204711] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 17.224861] systemd-journald[98]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 17.238139] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 17.256649] systemd-shutdown[1]: Unmounting file systems.
[ 17.263201] systemd-shutdown[1]: Remounting '/mnt/sdcard' read-only with options 'fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro'.
[ 17.304762] systemd-shutdown[1]: Unmounting /mnt/sdcard.
[ 17.331036] systemd-shutdown[1]: Remounting '/' read-only with options 'size=107436k,nr_inodes=26859'.
[ 17.340868] systemd-shutdown[1]: Remounting '/' read-only with options 'size=107436k,nr_inodes=26859'.
[ 17.350622] systemd-shutdown[1]: Remounting '/' read-only with options 'size=107436k,nr_inodes=26859'.
[ 17.360310] systemd-shutdown[1]: All filesystems unmounted.
[ 17.366009] systemd-shutdown[1]: Deactivating swaps.
[ 17.379116] reboot: Restarting system