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.

AM3358: AM3358: Beagelbone black board has kernel panic issue while booting.

Part Number: AM3358

Hi all,

We are trying to boot BeagleBone black board using custom image built using ubuntu OS 18.05.
We have followed below link to build kernel and u-boot for beaglebone black.
    https://longervision.github.io/2018/01/10/SBCs/ARM/beaglebone-black-uboot-kernel/

And copied the output images to SD Card by doing following partitions

1) BOOT
    MLO
    u-boot.img
    uEnv.txt
    uImage
    am335x-boneblack.dtb
    

U-Boot SPL 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500)
Trying to boot from MMC2
Loading Environment from EXT4... Card did not respond to voltage select!


U-Boot 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500), Build: jenkins-github_Bootloader-Builder-65

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: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... Card did not respond to voltage select!
Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[00C0] ...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
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
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1: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
mmc1(part 0) 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
2041 bytes read in 7 ms (284.2 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.14.71-ti-r80 ...
10416640 bytes read in 664 ms (15 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.71-ti-r80/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 25 ms (6.2 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1440 bytes read in 92 ms (14.6 KiB/s)
uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ...
5127 bytes read in 151 ms (32.2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
711 bytes read in 51 ms (12.7 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 60 ms (56.6 KiB/s)
loading /boot/initrd.img-4.14.71-ti-r80 ...
4530240 bytes read in 292 ms (14.8 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:452040 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fbad000, end 8ffff040 ... OK
   reserving fdt memory region: addr=88000000 size=89000
   Loading Device Tree to 8fb21000, end 8fbacfff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018
[    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] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x458 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @df8e7000 s41548 r8192 d23988 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 440272K/522240K available (13312K kernel code, 1169K rwdata, 4364K rodata, 1024K init, 361K bss, 32816K reserved, 49152K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfe00000   ( 510 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0e00000   (14304 kB)
[    0.000000]       .init : 0xc1400000 - 0xc1500000   (1024 kB)
[    0.000000]       .data : 0xc1500000 - 0xc1624498   (1170 kB)
[    0.000000]        .bss : 0xc162eb2c - 0xc1689000   ( 362 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42734 entries in 126 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] 	Tasks RCU enabled.
[    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 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000054] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000068] OMAP clocksource: timer1 at 24000000 Hz
[    0.002125] timer_probe: no matching timers found
[    0.002470] Console: colour dummy device 80x30
[    0.002507] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002514] This ensures that you still see kernel messages. Please
[    0.002522] update your kernel commandline.
[    0.002555] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.021100] pid_max: default: 32768 minimum: 301
[    0.021377] Security Framework initialized
[    0.021397] Yama: becoming mindful.
[    0.021439] AppArmor: AppArmor disabled by boot time parameter
[    0.021521] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021536] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.022560] CPU: Testing write buffer coherency: ok
[    0.023082] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.037186] Setting up static identity map for 0x80100000 - 0x80100060
[    0.045096] Hierarchical SRCU implementation.
[    0.056221] EFI services will not be available.
[    0.061104] smp: Bringing up secondary CPUs ...
[    0.061126] smp: Brought up 1 node, 1 CPU
[    0.061138] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.061150] CPU: All CPU(s) started in SVC mode.
[    0.062726] devtmpfs: initialized
[    0.101365] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.101849] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.101880] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.105837] xor: measuring software checksum speed
[    0.145114]    arm4regs  :  1200.000 MB/sec
[    0.185073]    8regs     :  1075.000 MB/sec
[    0.225072]    32regs    :   988.000 MB/sec
[    0.265070]    neon      :  1624.000 MB/sec
[    0.265081] xor: using function: neon (1624.000 MB/sec)
[    0.265101] pinctrl core: initialized pinctrl subsystem
[    0.266340] NET: Registered protocol family 16
[    0.269356] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.360468] omap_hwmod: debugss: _wait_target_disable failed
[    0.401214] cpuidle: using governor menu
[    0.407572] OMAP GPIO hardware version 0.1
[    0.432981] No ATAGs?
[    0.433001] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.434596] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.434630] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.529131] raid6: neonx2   gen()  1883 MB/s
[    0.597100] raid6: neonx2   xor()  1497 MB/s
[    0.597111] raid6: using algorithm neonx2 gen() 1883 MB/s
[    0.597121] raid6: .... xor() 1497 MB/s, rmw enabled
[    0.597131] raid6: using neon recovery algorithm
[    0.604907] edma 49000000.edma: TI EDMA DMA engine driver
[    0.611760] SCSI subsystem initialized
[    0.613569] usbcore: registered new interface driver usbfs
[    0.613643] usbcore: registered new interface driver hub
[    0.613762] usbcore: registered new device driver usb
[    0.614681] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.615673] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    0.616973] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.617512] media: Linux media interface: v0.10
[    0.617573] Linux video capture interface: v2.00
[    0.617760] pps_core: LinuxPPS API ver. 1 registered
[    0.617773] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.617801] PTP clock support registered
[    0.618444] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.621467] Advanced Linux Sound Architecture Driver Initialized.
[    0.622192] NetLabel: Initializing
[    0.622209] NetLabel:  domain hash size = 128
[    0.622219] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.622310] NetLabel:  unlabeled traffic allowed by default
[    0.625532] clocksource: Switched to clocksource timer1
[    0.789300] VFS: Disk quotas dquot_6.6.0
[    0.789438] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.802194] NET: Registered protocol family 2
[    0.803132] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.803183] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.803244] TCP: Hash tables configured (established 4096 bind 4096)
[    0.803368] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.803395] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.803607] NET: Registered protocol family 1
[    0.812574] RPC: Registered named UNIX socket transport module.
[    0.812595] RPC: Registered udp transport module.
[    0.812604] RPC: Registered tcp transport module.
[    0.812612] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.813399] Unpacking initramfs...
[    1.017599] random: fast init done
[    1.060842] Freeing initrd memory: 4428K
[    1.061439] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.061840] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.063924] audit: initializing netlink subsys (disabled)
[    1.065185] audit: type=2000 audit(1.064:1): state=initialized audit_enabled=0 res=1
[    1.065332] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.071410] zbud: loaded
[    1.083176] NFS: Registering the id_resolver key type
[    1.083228] Key type id_resolver registered
[    1.083238] Key type id_legacy registered
[    1.083259] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.083621] fuse init (API version 7.26)
[    1.084218] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.095233] Key type asymmetric registered
[    1.095262] Asymmetric key parser 'x509' registered
[    1.095389] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.099735] io scheduler noop registered
[    1.099756] io scheduler deadline registered
[    1.100158] io scheduler cfq registered (default)
[    1.100173] io scheduler mq-deadline registered
[    1.102897] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.114750] gpio-of-helper ocp:cape-universal: ready
[    1.125641] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.127906] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.131625] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.983326] console [ttyS0] enabled
[    1.988035] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    1.998011] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    2.007862] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250
[    2.017798] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250
[    2.027589] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250
[    2.039833] omap_rng 48310000.rng: Random Number Generator ver. 20
[    2.047465] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[    2.055085] usbcore: registered new interface driver udl
[    2.068156] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.075482] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.082665] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.089836] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.097328] eqep 48300180.eqep: ver. 1.0
[    2.101565] eqep 48300180.eqep: count_mode:0
[    2.105890] eqep 48300180.eqep: invert_qa:1
[    2.110118] eqep 48300180.eqep: invert_qb:1
[    2.114343] eqep 48300180.eqep: invert_qi:0
[    2.118568] eqep 48300180.eqep: invert_qs:0
[    2.122793] eqep 48300180.eqep: swap_inputs:0
[    2.127192] eqep 48300180.eqep: QDECCTL:0x0180
[    2.131678] eqep 48300180.eqep: QPOSINIT:0x00000000
[    2.136609] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    2.141444] eqep 48300180.eqep: QPOSCNT:0x00000000
[    2.146283] eqep 48300180.eqep: omit_interrupt:0
[    2.150945] eqep 48300180.eqep: QEINT:0x0800
[    2.155256] eqep 48300180.eqep: QUPRD:0x05f5e100
[    2.159917] eqep 48300180.eqep: QEPCTL:0x009e write
[    2.164839] eqep 48300180.eqep: QEPCTL:0x009e read
[    2.169693] eqep 48300180.eqep: irq:135, clk_rate:100000000
[    2.175555] eqep 48302180.eqep: ver. 1.0
[    2.179682] eqep 48302180.eqep: count_mode:0
[    2.184015] eqep 48302180.eqep: invert_qa:1
[    2.188245] eqep 48302180.eqep: invert_qb:1
[    2.192471] eqep 48302180.eqep: invert_qi:0
[    2.196696] eqep 48302180.eqep: invert_qs:0
[    2.200922] eqep 48302180.eqep: swap_inputs:0
[    2.205322] eqep 48302180.eqep: QDECCTL:0x0180
[    2.209810] eqep 48302180.eqep: QPOSINIT:0x00000000
[    2.214733] eqep 48302180.eqep: QPOSMAX:0xffffffff
[    2.219567] eqep 48302180.eqep: QPOSCNT:0x00000000
[    2.224404] eqep 48302180.eqep: omit_interrupt:0
[    2.229064] eqep 48302180.eqep: QEINT:0x0800
[    2.233375] eqep 48302180.eqep: QUPRD:0x05f5e100
[    2.238036] eqep 48302180.eqep: QEPCTL:0x009e write
[    2.242958] eqep 48302180.eqep: QEPCTL:0x009e read
[    2.247806] eqep 48302180.eqep: irq:137, clk_rate:100000000
[    2.253653] eqep 48304180.eqep: ver. 1.0
[    2.257748] eqep 48304180.eqep: count_mode:0
[    2.262076] eqep 48304180.eqep: invert_qa:1
[    2.266304] eqep 48304180.eqep: invert_qb:1
[    2.270530] eqep 48304180.eqep: invert_qi:0
[    2.274755] eqep 48304180.eqep: invert_qs:0
[    2.278980] eqep 48304180.eqep: swap_inputs:0
[    2.283378] eqep 48304180.eqep: QDECCTL:0x0180
[    2.287865] eqep 48304180.eqep: QPOSINIT:0x00000000
[    2.292787] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    2.297623] eqep 48304180.eqep: QPOSCNT:0x00000000
[    2.302458] eqep 48304180.eqep: omit_interrupt:0
[    2.307118] eqep 48304180.eqep: QEINT:0x0800
[    2.311430] eqep 48304180.eqep: QUPRD:0x05f5e100
[    2.316090] eqep 48304180.eqep: QEPCTL:0x009e write
[    2.321011] eqep 48304180.eqep: QEPCTL:0x009e read
[    2.325859] eqep 48304180.eqep: irq:139, clk_rate:100000000
[    2.360596] libphy: Fixed MDIO Bus: probed
[    2.365804] CAN device driver interface
[    2.370985] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=42)
[    2.380951] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=43)
[    2.445640] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    2.453394] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.460646] MDIO: davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.482323] libphy: 4a101000.mdio: probed
[    2.486686] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.497153] cpsw 4a100000.ethernet: Detected MACID = 3c:e4:b0:2b:7c:c6
[    2.504021] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    2.510496] cpsw 4a100000.ethernet: ALE Table size 1024
[    2.515834] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[    2.526680] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.533360] ehci-platform: EHCI generic platform driver
[    2.539019] ehci-omap: OMAP-EHCI Host Controller driver
[    2.545243] usbcore: registered new interface driver usb-storage
[    2.554617] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.568073] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.582560] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    2.587994] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    2.595779] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.602649] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.609929] usb usb1: Product: MUSB HDRC host driver
[    2.614940] usb usb1: Manufacturer: Linux 4.14.71-ti-r80 musb-hcd
[    2.621083] usb usb1: SerialNumber: musb-hdrc.1
[    2.626580] hub 1-0:1.0: USB hub found
[    2.630554] hub 1-0:1.0: 1 port detected
[    2.646726] omap_rtc 44e3e000.rtc: registered as rtc0
[    2.653336] i2c /dev entries driver
[    2.658199] Driver for 1-wire Dallas network protocol.
[    2.666761] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.674376] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    2.684401] cpuidle: enable-method property 'ti,am3352' found operations
[    2.692100] sdhci: Secure Digital Host Controller Interface driver
[    2.698394] sdhci: Copyright(c) Pierre Ossman
[    2.703663] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.786210] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.798045] ledtrig-cpu: registered to indicate activity on CPUs
[    2.804844] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.811035] omap-aes 53500000.aes: will run requests pump with realtime priority
[    2.821368] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.834621] hidraw: raw HID events driver (C) Jiri Kosina
[    2.840949] usbcore: registered new interface driver usbhid
[    2.846884] usbhid: USB HID core driver
[    2.851433] remoteproc remoteproc0: wkup_m3 is available
[    2.866950] wireguard: WireGuard 0.0.20180925 loaded. See www.wireguard.com for information.
[    2.875778] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.886594] NET: Registered protocol family 10
[    2.893752] mmc1: new high speed MMC card at address 0001
[    2.899830] Segment Routing with IPv6
[    2.899913] mip6: Mobile IPv6
[    2.899930] NET: Registered protocol family 17
[    2.899951] can: controller area network core (rev 20170425 abi 9)
[    2.900041] NET: Registered protocol family 29
[    2.900165] Key type dns_resolver registered
[    2.900170] mpls_gso: MPLS GSO support
[    2.900406] omap_voltage_late_init: Voltage driver support not added
[    2.900885] PM: Cannot get wkup_m3_ipc handle
[    2.901081] ThumbEE CPU extension supported.
[    2.901105] Registering SWP/SWPB emulation handler
[    2.902293] registered taskstats version 1
[    2.902417] zswap: loaded using pool lzo/zbud
[    2.908622] Btrfs loaded, crc32c=crc32c-generic
[    2.908720] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.908741] ima: Allocated hash algorithm: sha256
[    2.988795] mmcblk1: mmc1:0001 M62704 3.56 GiB 
[    2.996369] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    3.002988] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    3.010236] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
[    3.017736]  mmcblk1: p1
[    3.156452] tda998x 0-0070: found TDA19988
[    3.162270] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[    3.168441] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.175118] [drm] No driver support for vblank timestamp query.
[    3.181692] [drm] Cannot find any crtc or sizes
[    3.186985] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 1
[    3.209211] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    3.220674] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.226558] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.233648] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.241047] remoteproc remoteproc0: powering up wkup_m3
[    3.249628] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    3.261302] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: no source widget found for Playback
[    3.270467] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    3.270488] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    3.284312] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add route Playback -> direct -> TX
[    3.294713] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
[    3.303765] PM: bootloader does not support rtc-only!
[    3.310291] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.319085] of_cfs_init
[    3.321760] of_cfs_init: OK
[    3.326044] ALSA device list:
[    3.329046]   #0: TI BeagleBone Black
[    3.337483] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    3.797465] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.814694] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.825022] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.190226] [drm] Cannot find any crtc or sizes
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[   27.766888] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
================================================================================
Starting eMMC Flasher from microSD media
Version: [1.20180412: all ssh regneration override...]
================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:00:26 UTC 2000
----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1 
==> Preparing /tmp
==> Preparing sysctl
==> sysctl: vm.min_free_kbytes=[2654]
==> sysctl: setting: [sysctl -w vm.min_free_kbytes=16384]
vm.min_free_kbytes = 16384
----------------------------------------
==> Determining root drive
==> console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
----------------------------------------
==> root_drive=[/dev/mmcblk1p1]
====> Root drive identified at [/dev/mmcblk1p1]
==> Boot Drive [/dev/mmcblk1p1]
==> Figuring out Source and Destination devices
====> Source identified: [/dev/mmcblk1]
====> Destination identified: [/dev/mmcblk0]
==> Figuring out machine
====> Machine is TI_AM335x_BeagleBone_Black
====> Machine is compatible with BeagleBone Black
================================================================================
5 4 3 2 1 

========================================
Checking for Valid bbb-eeprom header
==> Valid bbb-eeprom header found [335]
========================================

================================================================================
Checking running system
==> Copying: [/dev/mmcblk1] -> [/dev/mmcblk0]
==> lsblk:
----------------------------------------
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk1      179:0    0  3.6G  0 disk 
`-mmcblk1p1  179:1    0  3.6G  0 part /
mmcblk1boot0 179:8    0    2M  1 disk 
mmcblk1boot1 179:16   0    2M  1 disk 
mmcblk1rpmb  179:24   0  512K  0 disk 
----------------------------------------
==> df -h | grep rootfs:
----------------------------------------
!==> Error: [/dev/mmcblk0] does not exist
writing to [/dev/mmcblk0] failed...
==> Stopping Cylon LEDs ...
Traceback (last called is first):
     reset_leds() in /opt/scripts/tools/eMMC/functions.sh:433
     write_failure() in /opt/scripts/tools/eMMC/functions.sh:451
     check_running_system() in /opt/scripts/tools/eMMC/functions.sh:614
     main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh:47
The command kill $CYLON_PID > /dev/null 2>&1 exited with exit code 2.
================================================================================
Tearing Down script environment
==> Unmounting /tmp
blockdev: cannot open /dev/mmcblk0: No such file or directory
==> Stopping Cylon LEDs ...
==> Setting LEDs to 
[   39.234045] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   39.234045] 
[   39.243251] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.14.71-ti-r80 #1
[   39.250419] Hardware name: Generic AM33XX (Flattened Device Tree)
[   39.256589] [<c0113910>] (unwind_backtrace) from [<c010debc>] (show_stack+0x20/0x24)
[   39.264378] [<c010debc>] (show_stack) from [<c0d9ca74>] (dump_stack+0x80/0x94)
[   39.271653] [<c0d9ca74>] (dump_stack) from [<c013fb20>] (panic+0x100/0x284)
[   39.278656] [<c013fb20>] (panic) from [<c0145920>] (complete_and_exit+0x0/0x2c)
[   39.286002] [<c0145920>] (complete_and_exit) from [<c01459bc>] (do_group_exit+0x50/0xd0)
[   39.294134] [<c01459bc>] (do_group_exit) from [<c0145a5c>] (__wake_up_parent+0x0/0x30)
[   39.302097] [<c0145a5c>] (__wake_up_parent) from [<c0108f00>] (ret_fast_syscall+0x0/0x54)
[   39.310335] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   39.310335] 
[   50.497561] random: crng init done
[   50.500983] random: 7 urandom warning(s) missed due to ratelimiting
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.14.71-ti-r80
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Ovv
erlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_rproc (4.14.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e

#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 quiet overlayroot=tmpfs

##enable Generic eMMC Flasher:
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

2) ROOT
    debian-9.3-minimal-armhf-2017-12-09.tar.xz  (extracted and copied to the ROOT partition)
    
    
It is able to flash eMMC via Sd card but failing to boot and giving kernel panic.
Bootup messages and the output images are attached for reference.
Please let us know if we are missing anything.

Thanks,
Devika R