<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14052</bug_id>
          
          <creation_ts>2020-09-20 23:57:51 +0000</creation_ts>
          <short_desc>[3.2 M3 rc1] The beaglebone can not bootup</short_desc>
          <delta_ts>2020-09-27 23:22:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-yocto</component>
          <version>3.2</version>
          <rep_platform>BeagleBone</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>3.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sangeeta.jain</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88179</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2020-09-20 23:57:51 +0000</bug_when>
    <thetext>Image location: https://autobuilder.yocto.io/pub/releases/yocto-3.2_M3.rc1/machines/beaglebone-yocto/

Steps:
1. Download wic image from above link.
2. Deploy the image to Micro SD card.
3. Plug the Micro SD card to beaglebone board and boot up.

Boot log:
#####################################################
U-Boot 2020.07 (Jul 06 2020 - 19:22:53 +0000)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
WDT:   Started with servicing (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

&lt;ethaddr&gt; not set. Validating first E-fuse MAC
Net:   eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don&apos;t match:
Address in ROM is               de:ad:be:ef:00:01
Address in environment is       7c:66:9d:6d:c2:3c
, eth1: usb_ether
Hit any key to stop autoboot:  0 
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...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
7319008 bytes read in 467 ms (14.9 MiB/s)
60407 bytes read in 7 ms (8.2 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffffbf6 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 5.8.2-yocto-standard (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #1 PREEMPT Mon Aug 24 12:50:25 U
TC 2020
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: TI AM335x BeagleBone Black
Memory policy: Data cache writeback
cma: Reserved 16 MiB at 0x9e800000
Zone ranges:
  Normal   [mem 0x0000000080000000-0x000000009fefffff]
  HighMem  empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000080000000-0x000000009fefffff]
Initmem setup node 0 [mem 0x0000000080000000-0x000000009fefffff]
CPU: All CPU(s) started in SVC mode.
AM335X ES2.1 (sgx neon)
Built 1 zonelists, mobility grouping on.  Total pages: 129666
Kernel command line: console=ttyO0,115200n8 root=PARTUUID=3e3a7304-02 rw rootfstype=ext4 rootwait
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 483488K/523264K available (10240K kernel code, 1104K rwdata, 3868K rodata, 1024K init, 591K bss, 23392K reserved, 16384K cma-reserved, 0K highmem)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
ftrace: allocating 37275 entries in 73 pages
ftrace: allocated 73 pages with 3 groups
rcu: Preemptible hierarchical RCU implementation.
rcu:    RCU event tracing is enabled.
        Trampoline variant of Tasks RCU enabled.
        Rude variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
random: get_random_bytes called from start_kernel+0x300/0x538 with crng_init=0
TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
Console: colour dummy device 80x30
WARNING: Your &apos;console=ttyO0&apos; has been replaced by &apos;ttyS0&apos;
This ensures that you still see kernel messages. Please
update your kernel commandline.
Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
Setting up static identity map for 0x80100000 - 0x80100060
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
xor: measuring software checksum speed
   arm4regs  :  1220.000 MB/sec
   8regs     :   904.800 MB/sec
   32regs    :  1220.800 MB/sec
xor: using function: 32regs (1220.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
l3-aon-clkctrl:0000:0: failed to disable
cpuidle: using governor ladder
cpuidle: using governor menu
hw-breakpoint: debug architecture 0x4 unsupported.
Serial: AMBA PL011 UART driver
raid6: int32x8  gen()   168 MB/s
raid6: int32x8  xor()   108 MB/s
raid6: int32x4  gen()   181 MB/s
raid6: int32x4  xor()   121 MB/s
raid6: int32x2  gen()   365 MB/s
raid6: int32x2  xor()   207 MB/s
raid6: int32x1  gen()   380 MB/s
raid6: int32x1  xor()   168 MB/s
raid6: using algorithm int32x1 gen() 380 MB/s
raid6: .... xor() 168 MB/s, rmw enabled
raid6: using intx1 recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource dmtimer
random: fast init done
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=17 bucket_order=3
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Key type cifs.idmap registered
Key type asymmetric registered
Asymmetric key parser &apos;x509&apos; registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler mq-deadline registered
io scheduler kyber registered
OMAP GPIO hardware version 0.1
ti-sysc: probe of 44e31000.target-module failed with error -16
ti-sysc 4802a000.target-module: OCP softreset timed out
ti-sysc: probe of 48040000.target-module failed with error -16
ti-sysc 4819c000.target-module: OCP softreset timed out
ti-sysc 4a101200.target-module: OCP softreset timed out
ti-sysc 4a101200.target-module: OCP softreset timed out
debugfs: Directory &apos;49000000.dma&apos; with parent &apos;dmaengine&apos; already present!
edma 49000000.dma: TI EDMA DMA engine driver
pinctrl-single 44e10800.pinmux: 142 pins, size 568
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a 8250
printk: console [ttyS0] enabled
omap_rng 48310000.rng: Random Number Generator ver. 20
random: crng init done
brd: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
libphy: Fixed MDIO Bus: probed
ti-sysc 4a101200.target-module: OCP softreset timed out
davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
libphy: 4a101000.mdio: probed
davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
cpsw 4a100000.ethernet: ALE Table size 1024
cpsw 4a100000.ethernet: Detected MACID = 7c:66:9d:6d:c2:3a
am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
ehci_hcd: USB 2.0 &apos;Enhanced&apos; Host Controller (EHCI) Driver
ehci-omap: OMAP-EHCI Host Controller driver
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
omap_rtc 44e3e000.rtc: registered as rtc0
omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
i2c /dev entries driver
omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
u32 classifier
    input device check on
    Actions configured
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
Key type dns_resolver registered
oprofile: using arm/armv7
ThumbEE CPU extension supported.
omap_voltage_late_init: Voltage driver support not added
Loading compiled-in X.509 certificates
Key type ._fscrypt registered
Key type .fscrypt registered
Key type fscrypt-provisioning registered
Btrfs loaded, crc32c=crc32c-generic
Key type encrypted registered
tps65217 0-0024: TPS65217 ID 0xe version 1.2
tda998x 0-0070: found TDA19988
tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
Console: switching to colour frame buffer device 160x64
tilcdc 4830e000.lcdc: fb0: tilcdcdrmfb frame buffer device
omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
usb 1-1: new high-speed USB device number 2 using musb-hdrc
printk: console [netcon0] enabled
netconsole: network logging started
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert &apos;sforshee: 00b28ddf47aef9cea7&apos;
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Waiting for root device PARTUUID=3e3a7304-02...
cfg80211: failed to load regulatory.db
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 7 ports detected
usb 1-1.4: new low-speed USB device number 3 using musb-hdrc
input: Dell Dell USB Entry Keyboard as /devices/platform/ocp/47400000.target-module/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.4/1-1.4:1.0/0003:413C:2107.0001/input/input0
hid-generic 0003:413C:2107.0001: input: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-musb-hdrc.1-1.4/input0
usb 1-1.5: new high-speed USB device number 4 using musb-hdrc
usb-storage 1-1.5:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1.5:1.0
usb 1-1.7: new low-speed USB device number 5 using musb-hdrc
input: USB Optical Mouse as /devices/platform/ocp/47400000.target-module/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.7/1-1.7:1.0/0003:0461:4D81.0002/input/input1
hid-generic 0003:0461:4D81.0002: input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-musb-hdrc.1-1.7/input0
scsi 0:0:0:0: Direct-Access     Kingston DataTraveler G2  1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 3905407 512-byte logical blocks: (2.00 GB/1.86 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
vmmcsd_fixed: disabling
###############################################################

Then the system hangs here and can not boot up.

I also tried to deploy rootfs.tar.gz to the SD card manually but it still can not boot up with same messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88213</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-09-24 07:45:53 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1807dfd3429787a1783a03f4683f16a59e9f9799</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88246</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2020-09-27 23:22:46 +0000</bug_when>
    <thetext>Verified with 3.2 M3 rc2.
Git rev: master/0a243cd21263f498b6eca7c0b168e655dd823e22</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>