Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to boot linux 4.9 on beaglebone green #109

Closed
Pillar1989 opened this issue Dec 12, 2016 · 7 comments
Closed

Unable to boot linux 4.9 on beaglebone green #109

Pillar1989 opened this issue Dec 12, 2016 · 7 comments

Comments

@Pillar1989
Copy link

Hi @RobertCNelson
I use your project https://github.com/RobertCNelson/ti-linux-kernel-dev build kernel 4.9.
But I boot from tftp server. It stop at "Starting kernel .."
Do you know the reason ?

U-Boot SPL 2017.01-rc1-00003-gc480b77 (Dec 11 2016 - 22:22:42)
Trying to boot from MMC2


U-Boot 2017.01-rc1-00003-gc480b77 (Dec 11 2016 - 22:22:42 -0800)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
Reset Source: Global external warm reset has occurred.
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: MII MODE
cpsw
Press SPACE to abort autoboot in 2 seconds
=> setenv ipaddr 192.168.199.214
=> setenv serverip 192.168.199.156
=> setenv fdtaddr 0x88000000 
=> setenv loadaddr 0x82000000 
=> setenv loadfdt 'tftpboot ${fdtaddr} am335x-bonegreen.dtb'
=> setenv loadimage 'tftpboot ${loadaddr} zImage'
=> setenv bootcmd 'run loadimage; run loadfdt; bootz ${loadaddr} - ${fdtaddr}'
=> boot
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.199.156; our IP address is 192.168.199.214
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ############################################
	 376 KiB/s
done
Bytes transferred = 9219880 (8caf28 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.199.156; our IP address is 192.168.199.214
Filename 'am335x-bonegreen.dtb'.
Load address: 0x88000000
Loading: #####
	 382.8 KiB/s
done
Bytes transferred = 58947 (e643 hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffff642 ... OK

Starting kernel ...
@RobertCNelson
Copy link
Member

Works here

U-Boot SPL 2016.11-00002-gab8be1c (Dec 07 2016 - 12:54:09)
Trying to boot from MMC1


U-Boot 2016.11-00002-gab8be1c (Dec 07 2016 - 12:54:09 -0600), Build: jenkins-github_Bootloader-Builder-490

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
Reset Source: Global external warm reset has occurred.
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: MII MODE
cpsw
Press SPACE to abort autoboot in 2 seconds
board_name=[BBG1] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
1119 bytes read in 8 ms (135.7 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
gpio: pin 56 (gpio 56) value is 1
Running nfsboot_uname_r ...
Booting from 192.168.0.10 ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.10; our IP address is 192.168.0.157
Filename 'vmlinuz-4.9.0-rc8-ti-r9'.
Load address: 0x82000000
Loading: *�#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###############################################
	 3 MiB/s
done
Bytes transferred = 9270816 (8d7620 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.10; our IP address is 192.168.0.157
Filename 'dtbs/4.9.0-rc8-ti-r9/am335x-bonegreen.dtb'.
Load address: 0x88000000
Loading: *�#####
	 2.8 MiB/s
done
Bytes transferred = 58947 (e643 hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffff642 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc8-ti-r9 (root@b3-jetson-tk1-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Sat Dec 10 12:47:44 UTC 2016
[    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 Green
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] percpu: Embedded 15 pages/cpu @df925000 s31680 r8192 d21568 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw rootfstype=ext4 rootwait fixrtc nfsroot=192.168.0.10:/opt/jessie,vers=3 ip=192.168.0.157:192.168.0.10:192.168.0.1:255.255.255.0::eth0:off
[    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: 447408K/522240K available (12288K kernel code, 1074K rwdata, 4060K rodata, 1024K init, 734K bss, 25680K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0d00000   (13280 kB)
[    0.000000]       .init : 0xc1200000 - 0xc1300000   (1024 kB)
[    0.000000]       .data : 0xc1300000 - 0xc140c9ec   (1075 kB)
[    0.000000]        .bss : 0xc140e000 - 0xc14c5b34   ( 735 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 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.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000039] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000052] OMAP clocksource: timer1 at 24000000 Hz
[    0.001477] clocksource_probe: no matching clocksources found
[    0.001924] Console: colour dummy device 80x30
[    0.001953] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001960] This ensures that you still see kernel messages. Please
[    0.001967] update your kernel commandline.
[    0.001988] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.046853] pid_max: default: 32768 minimum: 301
[    0.047149] Security Framework initialized
[    0.047164] Yama: becoming mindful.
[    0.047203] AppArmor: AppArmor disabled by boot time parameter
[    0.047404] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047417] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048555] CPU: Testing write buffer coherency: ok
[    0.048624] ftrace: allocating 36743 entries in 108 pages
[    0.151956] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.152028] Setting up static identity map for 0x80100000 - 0x80100058
[    0.156535] Brought up 1 CPUs
[    0.156561] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.156569] CPU: All CPU(s) started in SVC mode.
[    0.158118] devtmpfs: initialized
[    0.178353] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.179014] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.182458] xor: measuring software checksum speed
[    0.218857]    arm4regs  :  1218.000 MB/sec
[    0.258849]    8regs     :  1088.000 MB/sec
[    0.298848]    32regs    :  1089.000 MB/sec
[    0.338847]    neon      :  1745.000 MB/sec
[    0.338856] xor: using function: neon (1745.000 MB/sec)
[    0.338877] pinctrl core: initialized pinctrl subsystem
[    0.341056] NET: Registered protocol family 16
[    0.343670] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.362457] omap_hwmod: debugss: _wait_target_disable failed
[    0.416313] cpuidle: using governor ladder
[    0.416331] cpuidle: using governor menu
[    0.423632] OMAP GPIO hardware version 0.1
[    0.440232] No ATAGs?
[    0.440261] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.440592] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.440606] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.518973] raid6: int32x1  gen()   233 MB/s
[    0.586936] raid6: int32x1  xor()   174 MB/s
[    0.654859] raid6: int32x2  gen()   303 MB/s
[    0.722854] raid6: int32x2  xor()   199 MB/s
[    0.790960] raid6: int32x4  gen()   283 MB/s
[    0.858858] raid6: int32x4  xor()   202 MB/s
[    0.926932] raid6: int32x8  gen()   286 MB/s
[    0.994982] raid6: int32x8  xor()   187 MB/s
[    1.062851] raid6: neonx1   gen()  1461 MB/s
[    1.090845] random: fast init done
[    1.130854] raid6: neonx1   xor()   845 MB/s
[    1.198854] raid6: neonx2   gen()  1892 MB/s
[    1.266847] raid6: neonx2   xor()  1193 MB/s
[    1.334869] raid6: neonx4   gen()  1925 MB/s
[    1.402847] raid6: neonx4   xor()  1203 MB/s
[    1.470895] raid6: neonx8   gen()  1188 MB/s
[    1.538881] raid6: neonx8   xor()   844 MB/s
[    1.538889] raid6: using algorithm neonx4 gen() 1925 MB/s
[    1.538896] raid6: .... xor() 1203 MB/s, rmw enabled
[    1.538903] raid6: using intx1 recovery algorithm
[    1.548275] edma 49000000.edma: TI EDMA DMA engine driver
[    1.552796] SCSI subsystem initialized
[    1.553531] usbcore: registered new interface driver usbfs
[    1.553624] usbcore: registered new interface driver hub
[    1.553732] usbcore: registered new device driver usb
[    1.554238] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.554294] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[    1.554387] media: Linux media interface: v0.10
[    1.554442] Linux video capture interface: v2.00
[    1.554526] pps_core: LinuxPPS API ver. 1 registered
[    1.554534] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.554557] PTP clock support registered
[    1.555212] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.556512] NetLabel: Initializing
[    1.556527] NetLabel:  domain hash size = 128
[    1.556533] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.556625] NetLabel:  unlabeled traffic allowed by default
[    1.557488] clocksource: Switched to clocksource timer1
[    1.668629] VFS: Disk quotas dquot_6.6.0
[    1.668743] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.682533] NET: Registered protocol family 2
[    1.683481] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.683531] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.683591] TCP: Hash tables configured (established 4096 bind 4096)
[    1.683682] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.683703] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.683900] NET: Registered protocol family 1
[    1.684610] RPC: Registered named UNIX socket transport module.
[    1.684626] RPC: Registered udp transport module.
[    1.684632] RPC: Registered tcp transport module.
[    1.684639] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.685900] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.688293] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.688406] audit: initializing netlink subsys (disabled)
[    1.688489] audit: type=2000 audit(1.616:1): initialized
[    1.690031] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.690198] zbud: loaded
[    1.691255] NFS: Registering the id_resolver key type
[    1.691318] Key type id_resolver registered
[    1.691327] Key type id_legacy registered
[    1.691345] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.691681] fuse init (API version 7.26)
[    1.692147] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.692432] orangefs_init: module version upstream loaded
[    1.692443] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.699028] Key type asymmetric registered
[    1.699051] Asymmetric key parser 'x509' registered
[    1.699190] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.699432] io scheduler noop registered
[    1.699444] io scheduler deadline registered
[    1.699530] io scheduler cfq registered (default)
[    1.700866] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.703115] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.704170] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.707666] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.566287] console [ttyS0] enabled
[    2.571197] [drm] Initialized
[    2.577281] libphy: Fixed MDIO Bus: probed
[    2.633587] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.639759] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.646336] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.654444] libphy: 4a101000.mdio: probed
[    2.658601] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.668650] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:e6:67:c9
[    2.678068] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.684768] ehci-platform: EHCI generic platform driver
[    2.690257] ehci-omap: OMAP-EHCI Host Controller driver
[    2.696009] usbcore: registered new interface driver usb-storage
[    2.704165] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.716348] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.726787] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.732646] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.740842] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.747699] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.754996] usb usb1: Product: MUSB HDRC host driver
[    2.760005] usb usb1: Manufacturer: Linux 4.9.0-rc8-ti-r9 musb-hcd
[    2.766230] usb usb1: SerialNumber: musb-hdrc.1.auto
[    2.772265] hub 1-0:1.0: USB hub found
[    2.776219] hub 1-0:1.0: 1 port detected
[    2.790074] mousedev: PS/2 mouse device common for all mice
[    2.797300] omap_rtc 44e3e000.rtc: already running
[    2.802721] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.810733] i2c /dev entries driver
[    2.815869] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.824501] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.910955] ledtrig-cpu: registered to indicate activity on CPUs
[    2.917411] hidraw: raw HID events driver (C) Jiri Kosina
[    2.927154] usbcore: registered new interface driver usbhid
[    2.932797] usbhid: USB HID core driver
[    2.936941] ashmem: initialized
[    2.940644]  remoteproc0: wkup_m3 is available
[    2.945205]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    2.954226]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.966887] NET: Registered protocol family 10
[    2.976242] mip6: Mobile IPv6
[    2.979453] NET: Registered protocol family 17
[    2.983988] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.992188] Key type dns_resolver registered
[    2.996518] mpls_gso: MPLS GSO support
[    3.000633] omap_voltage_late_init: Voltage driver support not added
[    3.007231] mmc0: new high speed SDHC card at address aaaa
[    3.013066] ThumbEE CPU extension supported.
[    3.018595] Registering SWP/SWPB emulation handler
[    3.023562] mmcblk0: mmc0:aaaa SU08G 7.40 GiB 
[    3.030121]  mmcblk0: p1
[    3.032855] registered taskstats version 1
[    3.038443] zswap: loaded using pool lzo/zbud
[    3.044907] Btrfs loaded, crc32c=crc32c-generic
[    3.049721] mmc1: new high speed MMC card at address 0001
[    3.056779] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB 
[    3.062683] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
[    3.070003] Key type encrypted registered
[    3.074330] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
[    3.125871] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    3.137195] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.143075] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.150077] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.157558] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.164863] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.172122] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.179386] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.186355] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.193146]  remoteproc0: powering up wkup_m3
[    3.197718]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    3.205284]  remoteproc0: remote processor wkup_m3 is now up
[    3.210981] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    3.222481] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,�,BBG115092363'
[    3.229564] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.266507] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.299000] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.329782] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.362187] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.368049] bone_capemgr bone_capemgr: initialized OK.
[    3.375819] omap_rtc 44e3e000.rtc: setting system clock to 2016-12-12 15:54:13 UTC (1481558053)
[    3.384691] of_cfs_init
[    3.387390] of_cfs_init: OK
[    3.404240] net eth0: initializing cpsw version 1.12 (0)
[    3.482111] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
[    3.501530] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.542219] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    5.550402] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.569645] IP-Config: Complete:
[    5.572903]      device=eth0, hwaddr=84:eb:18:e6:67:c9, ipaddr=192.168.0.157, mask=255.255.255.0, gw=192.168.0.1
[    5.583152]      host=192.168.0.157, domain=, nis-domain=(none)
[    5.589114]      bootserver=192.168.0.10, rootserver=192.168.0.10, rootpath=
[    5.606429] VFS: Mounted root (nfs filesystem) on device 0:15.
[    5.613033] devtmpfs: mounted
[    5.617514] Freeing unused kernel memory: 1024K (c1200000 - c1300000)
[    6.751184] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[    6.801055] 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)
[    6.820104] systemd[1]: Detected architecture arm.

Welcome to �[1mDebian GNU/Linux 8 (jessie)�[0m!

[    6.839645] systemd[1]: Set hostname to <beaglebone>.
[    7.863814] systemd[1]: network-online.target: Found ordering cycle on network-online.target/start
[    7.873050] systemd[1]: network-online.target: Found dependency on network.target/start
[    7.881227] systemd[1]: network-online.target: Found dependency on connman.service/start
[    7.889403] systemd[1]: network-online.target: Found dependency on dbus.service/start
[    7.897303] systemd[1]: network-online.target: Found dependency on basic.target/start
[    7.905200] systemd[1]: network-online.target: Found dependency on sockets.target/start
[    7.913327] systemd[1]: network-online.target: Found dependency on node-red.socket/start
[�[0;1;31m SKIP �[0m] Ordering cycle found, skipping Network
[�[0;32m  OK  �[0m] Listening on udev Kernel Socket.
[�[0;32m  OK  �[0m] Reached target Swap.
[�[0;32m  OK  �[0m] Reached target Remote File Systems (Pre).
[�[0;32m  OK  �[0m] Started Dispatch Password Requests to Console Directory Watch.
[�[0;32m  OK  �[0m] Listening on Journal Socket (/dev/log).
[�[0;32m  OK  �[0m] Listening on Syslog Socket.
[�[0;32m  OK  �[0m] Started Forward Password Requests to Wall Directory Watch.
[�[0;32m  OK  �[0m] Listening on udev Control Socket.
[�[0;32m  OK  �[0m] Created slice User and Session Slice.
[�[0;32m  OK  �[0m] Reached target Encrypted Volumes.
[�[0;32m  OK  �[0m] Listening on Journal Socket.
[�[0;32m  OK  �[0m] Reached target Paths.
[�[0;32m  OK  �[0m] Listening on Journal Audit Socket.
[�[0;32m  OK  �[0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[�[0;32m  OK  �[0m] Created slice System Slice.
[�[0;32m  OK  �[0m] Reached target Slices.
         Starting Load Kernel Modules...
         Mounting /sys/kernel/debug...
         Starting Create list of required st... nodes for the current kernel...
         Mounting POSIX Message Queue File System...
[�[0;32m  OK  �[0m] Created slice system-serial\x2dgetty.slice.
[�[0;32m  OK  �[0m] Created slice system-getty.slice.
         Starting Journal Service...
[    8.470774] random: crng init done
         Starting Remount Root and Kernel File Systems...
[�[0;32m  OK  �[0m] Reached target Remote File Systems.
[�[0;32m  OK  �[0m] Listening on /dev/initctl Compatibility Named Pipe.
[�[0;32m  OK  �[0m] Mounted POSIX Message Queue File System.
[�[0;32m  OK  �[0m] Mounted /sys/kernel/debug.
[�[0;1;31mFAILED�[0m] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[�[0;32m  OK  �[0m] Started Create list of required sta...ce nodes for the current kernel.
[�[0;32m  OK  �[0m] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
         Mounting FUSE Control File System...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[�[0;32m  OK  �[0m] Started Journal Service.
[�[0;32m  OK  �[0m] Mounted FUSE Control File System.
[�[0;32m  OK  �[0m] Mounted Configuration File System.
[�[0;32m  OK  �[0m] Started Load/Save Random Seed.
[�[0;32m  OK  �[0m] Started Create Static Device Nodes in /dev.
[�[0;32m  OK  �[0m] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[�[0;32m  OK  �[0m] Reached target Local File Systems (Pre).
[�[0;32m  OK  �[0m] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Flush Journal to Persistent Storage...
[    9.943150] systemd-journald[108]: Received request to flush runtime journal from PID 1
[�[0;32m  OK  �[0m] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[�[0;32m  OK  �[0m] Started udev Kernel Device Manager.
         Starting LSB: Tune IDE hard disks...
[�[0;32m  OK  �[0m] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[�[0;32m  OK  �[0m] Started LSB: Tune IDE hard disks.
[�[0;32m  OK  �[0m] Started Update UTMP about System Boot/Shutdown.
[�[0;32m  OK  �[0m] Started udev Coldplug all Devices.
[�[0;32m  OK  �[0m] Started Network Time Synchronization.
[�[0;32m  OK  �[0m] Reached target System Time Synchronized.
[�[0;32m  OK  �[0m] Started Raise network interfaces.
[�[0;32m  OK  �[0m] Reached target Network is Online.
         Starting LSB: RPC portmapper replacement...
[�[0;32m  OK  �[0m] Started LSB: RPC portmapper replacement.
[�[0;32m  OK  �[0m] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[   19.241357] Installing knfsd (copyright (C) 1996 [email protected]).
[�[0;32m  OK  �[0m] Started LSB: NFS support files common to client and server.
[�[0;32m  OK  �[0m] Reached target System Initialization.
[�[0;32m  OK  �[0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[�[0;32m  OK  �[0m] Listening on cloud9.socket.
[�[0;32m  OK  �[0m] Listening on bonescript.socket.
[�[0;32m  OK  �[0m] Listening on D-Bus System Message Bus Socket.
[�[0;32m  OK  �[0m] Started Daily Cleanup of Temporary Directories.
[�[0;32m  OK  �[0m] Reached target Timers.
[�[0;32m  OK  �[0m] Listening on node-red.socket.
[�[0;32m  OK  �[0m] Reached target Sockets.
[�[0;32m  OK  �[0m] Reached target Basic System.
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Start busybox udhcpd at boot time...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting Generic Board Startup...
         Starting BB WL18xx wlan0 Service...
[�[0;32m  OK  �[0m] Started Regular background program processing daemon.
         Starting Cape Manager Service...
         Starting Login Service...
         Starting dnsmasq - A lightweight DHCP and caching DNS server...
         Starting Permit User Sessions...
         Starting battery_monitor...
[�[0;32m  OK  �[0m] Started Bonescript autorun.
[�[0;32m  OK  �[0m] Started OpenBSD Secure Shell server.
[�[0;32m  OK  �[0m] Started Entropy daemon using the HAVEGE algorithm.
         Starting /etc/rc.local Compatibility...
[�[0;32m  OK  �[0m] Started D-Bus System Message Bus.
[�[0;32m  OK  �[0m] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
[�[0;32m  OK  �[0m] Started System Logging Service.
[�[0;32m  OK  �[0m] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[�[0;32m  OK  �[0m] Started LSB: Advanced IEEE 802.11 management daemon.
[�[0;32m  OK  �[0m] Started BB WL18xx wlan0 Service.
[�[0;32m  OK  �[0m] Started Cape Manager Service.
[�[0;32m  OK  �[0m] Started Permit User Sessions.
[�[0;32m  OK  �[0m] Started battery_monitor.
[�[0;32m  OK  �[0m] Started /etc/rc.local Compatibility.
[�[0;32m  OK  �[0m] Found device /dev/ttyS0.
[�[0;32m  OK  �[0m] Started LSB: Start busybox udhcpd at boot time.
[�[0;32m  OK  �[0m] Started Connection service.
[�[0;32m  OK  �[0m] Started Login Service.
[�[0;32m  OK  �[0m] Started Serial Getty on ttyS0.
[�[0;32m  OK  �[0m] Started Getty on tty1.
[�[0;32m  OK  �[0m] Reached target Login Prompts.
[�[0;32m  OK  �[0m] Started dnsmasq - A lightweight DHCP and caching DNS server.
[   27.298644] using random self ethernet address
[   27.303273] using random host ethernet address
[�[0;32m  OK  �[0m] Reached target Host and Network Name Lookups.
[   27.369088] using host ethernet address: 84:EB:18:E6:67:CA[   27.374589] using self ethernet address: 84:EB:18:E6:67:CB
         Starting LSB: Apache2 web server...
[   27.993782] Mass Storage Function, version: 2009/09/11
[   28.013648] LUN: removable file: (no medium)
[   28.126852] LUN: removable read only file: /var/cache/doc-beaglebonegreen-getting-started/beaglebone-getting-started-2016-04-20.img
[   28.138874] Number of LUNs=1
[   28.202894] usb0: HOST MAC 84:eb:18:e6:67:ca
[   28.229933] usb0: MAC 84:eb:18:e6:67:cb
[   28.261190] g_multi gadget: Multifunction Composite Gadget
[   28.266954] g_multi gadget: g_multi ready
         Starting Hostname Service...
         Starting WPA supplicant...
[�[0;32m  OK  �[0m] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[�[0;32m  OK  �[0m] Started WPA supplicant.
[�[0;32m  OK  �[0m] Reached target Network.
[�[0;32m  OK  �[0m] Started Hostname Service.
[   30.867067] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready


Debian GNU/Linux 8 beaglebone ttyS0

BeagleBoard.org Debian Image 2016-12-11

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: [   32.271401] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20


Debian GNU/Linux 8 beaglebone ttyS0

BeagleBoard.org Debian Image 2016-12-11

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: debian

Password: [   36.786480] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   37.044570] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   37.166304] omap-aes 53500000.aes: will run requests pump with realtime priority

Last login: Mon Dec 12 15:53:18 UTC 2016 on ttyS0
Linux beaglebone 4.9.0-rc8-ti-r9 #1 SMP Sat Dec 10 12:47:44 UTC 2016 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$ uname -r
4.9.0-rc8-ti-r9
debian@beaglebone:~$ cat /proc/device-tree/model
TI AM335x BeagleBone Green

@RobertCNelson
Copy link
Member

Double checked v2017.01-rc1

U-Boot SPL 2017.01-rc1-00002-g736b695 (Dec 07 2016 - 12:54:32)
Trying to boot from MMC1


U-Boot 2017.01-rc1-00002-g736b695 (Dec 07 2016 - 12:54:32 -0600), Build: jenkins-github_Bootloader-Builder-490

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
Reset Source: Global external warm reset has occurred.
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: MII MODE
cpsw
Press SPACE to abort autoboot in 2 seconds
board_name=[BBG1] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
1119 bytes read in 8 ms (135.7 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
gpio: pin 56 (gpio 56) value is 1
Running nfsboot_uname_r ...
Booting from 192.168.0.10 ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.10; our IP address is 192.168.0.157
Filename 'vmlinuz-4.9.0-rc8-ti-r9'.
Load address: 0x82000000
Loading: *�#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###############################################
	 3 MiB/s
done
Bytes transferred = 9270816 (8d7620 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.10; our IP address is 192.168.0.157
Filename 'dtbs/4.9.0-rc8-ti-r9/am335x-bonegreen.dtb'.
Load address: 0x88000000
Loading: *�#####
	 2.8 MiB/s
done
Bytes transferred = 58947 (e643 hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffff642 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc8-ti-r9 (root@b3-jetson-tk1-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Sat Dec 10 12:47:44 UTC 2016
[    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 Green
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)

@Pillar1989
Copy link
Author

What's your u-boot setting ? It seems autoboot with tftpboot. But I cant do "saveenv" on v2017.01-rc1 . or should I edit /boot/uEnv.txt ? can you share it for us ?

@Pillar1989
Copy link
Author

Wow, I found it. Just copy /nfs-uEnv.txt as uEnv.txt. set my own ip. It works.
nfs-uEnv.txt like a Easter.

@Pillar1989
Copy link
Author

Sorry,I need reopen this issue.
It seems tftp doesnt load initrd file.
I use your rootfs package https://rcn-ee.com/rootfs/bb.org/testing/2016-11-27/lxqt-4gb/debian-8.6-lxqt-4gb-armhf-2016-11-27.tar.xz
I see your boot is fine. but how should I do ? I search the Google ,I cannt find any usefull info.

U-Boot SPL 2017.01-rc1-00003-gc480b77 (Dec 11 2016 - 22:22:42)
Trying to boot from MMC2


U-Boot 2017.01-rc1-00003-gc480b77 (Dec 11 2016 - 22:22:42 -0800)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
Reset Source: Global external warm reset has occurred.
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: MII MODE
cpsw
Press SPACE to abort autoboot in 2 seconds
board_name=[BBG1] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
1025 bytes read in 7 ms (142.6 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
gpio: pin 56 (gpio 56) value is 1
Running nfsboot_uname_r ...
Booting from 192.168.199.134 ...
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.199.134; our IP address is 192.168.199.133
Filename 'vmlinuz-4.9.0-rc8-ti-r9'.
Load address: 0x82000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ########################################################
	 84 KiB/s
done
Bytes transferred = 9269992 (8d72e8 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.199.134; our IP address is 192.168.199.133
Filename 'dtbs/4.9.0-rc8-ti-r9/am335x-bonegreen.dtb'.
Load address: 0x88000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffff7cb ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-rc8-ti-r9 (pillar@server) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #15 SMP Mon Dec 12 21:51:06 PST 2016
[    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 Green
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] percpu: Embedded 15 pages/cpu @df924000 s31628 r8192 d21620 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw rootfstype=ext4 rootwait fixrtc nfsroot=192.168.199.134:/home/pillar/ti/rootfs,vers=3 ip=192.168.199.133:192.168.199.134:192.168.199.1:255.255.255.0:pillar:eth0:off
[    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: 447404K/522240K available (12288K kernel code, 1073K rwdata, 4056K rodata, 1024K init, 734K bss, 25684K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0d00000   (13280 kB)
[    0.000000]       .init : 0xc1200000 - 0xc1300000   (1024 kB)
[    0.000000]       .data : 0xc1300000 - 0xc140c7e4   (1074 kB)
[    0.000000]        .bss : 0xc140e000 - 0xc14c58dc   ( 735 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 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.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000048] OMAP clocksource: timer1 at 24000000 Hz
[    0.001517] clocksource_probe: no matching clocksources found
[    0.001958] Console: colour dummy device 80x30
[    0.001990] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001998] This ensures that you still see kernel messages. Please
[    0.002005] update your kernel commandline.
[    0.002030] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.046848] pid_max: default: 32768 minimum: 301
[    0.047144] Security Framework initialized
[    0.047159] Yama: becoming mindful.
[    0.047198] AppArmor: AppArmor disabled by boot time parameter
[    0.047401] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047414] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048570] CPU: Testing write buffer coherency: ok
[    0.048641] ftrace: allocating 36542 entries in 108 pages
[    0.151913] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.151988] Setting up static identity map for 0x80100000 - 0x80100058
[    0.156527] Brought up 1 CPUs
[    0.156553] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.156562] CPU: All CPU(s) started in SVC mode.
[    0.158140] devtmpfs: initialized
[    0.179246] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.179792] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.183551] xor: measuring software checksum speed
[    0.222846]    arm4regs  :  1219.000 MB/sec
[    0.262841]    8regs     :   957.000 MB/sec
[    0.302840]    32regs    :  1089.000 MB/sec
[    0.342840]    neon      :  1746.000 MB/sec
[    0.342849] xor: using function: neon (1746.000 MB/sec)
[    0.342868] pinctrl core: initialized pinctrl subsystem
[    0.344953] NET: Registered protocol family 16
[    0.347569] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.366574] omap_hwmod: debugss: _wait_target_disable failed
[    0.419949] cpuidle: using governor ladder
[    0.419970] cpuidle: using governor menu
[    0.427513] OMAP GPIO hardware version 0.1
[    0.444764] No ATAGs?
[    0.444792] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.445117] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.445132] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.527019] raid6: int32x1  gen()   264 MB/s
[    0.594959] raid6: int32x1  xor()   225 MB/s
[    0.662963] raid6: int32x2  gen()   327 MB/s
[    0.730952] raid6: int32x2  xor()   265 MB/s
[    0.798876] raid6: int32x4  gen()   305 MB/s
[    0.866952] raid6: int32x4  xor()   246 MB/s
[    0.934884] raid6: int32x8  gen()   294 MB/s
[    1.002881] raid6: int32x8  xor()   209 MB/s
[    1.070876] raid6: neonx1   gen()  1455 MB/s
[    1.090837] random: fast init done
[    1.138860] raid6: neonx1   xor()   846 MB/s
[    1.206860] raid6: neonx2   gen()  1915 MB/s
[    1.274846] raid6: neonx2   xor()  1207 MB/s
[    1.342856] raid6: neonx4   gen()  1962 MB/s
[    1.410844] raid6: neonx4   xor()  1208 MB/s
[    1.478857] raid6: neonx8   gen()   793 MB/s
[    1.546869] raid6: neonx8   xor()   625 MB/s
[    1.546878] raid6: using algorithm neonx4 gen() 1962 MB/s
[    1.546885] raid6: .... xor() 1208 MB/s, rmw enabled
[    1.546892] raid6: using intx1 recovery algorithm
[    1.556410] edma 49000000.edma: TI EDMA DMA engine driver
[    1.560934] SCSI subsystem initialized
[    1.561705] usbcore: registered new interface driver usbfs
[    1.561795] usbcore: registered new interface driver hub
[    1.561903] usbcore: registered new device driver usb
[    1.562428] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.562481] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[    1.562577] media: Linux media interface: v0.10
[    1.562632] Linux video capture interface: v2.00
[    1.562726] pps_core: LinuxPPS API ver. 1 registered
[    1.562735] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.562762] PTP clock support registered
[    1.563656] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.564978] NetLabel: Initializing
[    1.564992] NetLabel:  domain hash size = 128
[    1.564999] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.565083] NetLabel:  unlabeled traffic allowed by default
[    1.565985] clocksource: Switched to clocksource timer1
[    1.677821] VFS: Disk quotas dquot_6.6.0
[    1.677944] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.692019] NET: Registered protocol family 2
[    1.692984] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.693036] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.693095] TCP: Hash tables configured (established 4096 bind 4096)
[    1.693168] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.693189] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.693391] NET: Registered protocol family 1
[    1.694206] RPC: Registered named UNIX socket transport module.
[    1.694225] RPC: Registered udp transport module.
[    1.694232] RPC: Registered tcp transport module.
[    1.694238] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.695268] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.697682] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.697789] audit: initializing netlink subsys (disabled)
[    1.697874] audit: type=2000 audit(1.624:1): initialized
[    1.699483] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.699663] zbud: loaded
[    1.700726] NFS: Registering the id_resolver key type
[    1.700785] Key type id_resolver registered
[    1.700796] Key type id_legacy registered
[    1.700816] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.701146] fuse init (API version 7.26)
[    1.701567] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.701855] orangefs_init: module version upstream loaded
[    1.701867] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.708618] Key type asymmetric registered
[    1.708643] Asymmetric key parser 'x509' registered
[    1.708769] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.709023] io scheduler noop registered
[    1.709035] io scheduler deadline registered
[    1.709118] io scheduler cfq registered (default)
[    1.710689] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.712715] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.713804] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.717311] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.579014] console [ttyS0] enabled
[    2.583998] [drm] Initialized
[    2.590295] libphy: Fixed MDIO Bus: probed
[    2.646089] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.652266] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.658857] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.667014] libphy: 4a101000.mdio: probed
[    2.671169] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.681224] cpsw 4a100000.ethernet: Detected MACID = b0:d5:cc:47:00:8a
[    2.690719] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.697433] ehci-platform: EHCI generic platform driver
[    2.702929] ehci-omap: OMAP-EHCI Host Controller driver
[    2.708658] usbcore: registered new interface driver usb-storage
[    2.716777] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.728943] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.739414] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.745277] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.753450] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.760319] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.767619] usb usb1: Product: MUSB HDRC host driver
[    2.772626] usb usb1: Manufacturer: Linux 4.9.0-rc8-ti-r9 musb-hcd
[    2.778850] usb usb1: SerialNumber: musb-hdrc.1.auto
[    2.784964] hub 1-0:1.0: USB hub found
[    2.788903] hub 1-0:1.0: 1 port detected
[    2.802838] mousedev: PS/2 mouse device common for all mice
[    2.810501] omap_rtc 44e3e000.rtc: already running
[    2.815859] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.823887] i2c /dev entries driver
[    2.829086] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.836439] cpu cpu0: "ti,syscon-efuse" is missing, cannot use OPPv2 table.
[    2.843519] /cpus/cpu@0: unsupported enable-method property: ti,am3352
[    2.850122] CPUidle arm: CPU 0 failed to init idle CPU ops
[    2.856490] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.939550] ledtrig-cpu: registered to indicate activity on CPUs
[    2.946172] hidraw: raw HID events driver (C) Jiri Kosina
[    2.955760] usbcore: registered new interface driver usbhid
[    2.961466] usbhid: USB HID core driver
[    2.965655] ashmem: initialized
[    2.969473]  remoteproc0: wkup_m3 is available
[    2.974063]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    2.983116]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.999269] NET: Registered protocol family 10
[    3.005414] mip6: Mobile IPv6
[    3.008589] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.016710] NET: Registered protocol family 17
[    3.021372] Key type dns_resolver registered
[    3.025713] mpls_gso: MPLS GSO support
[    3.029900] mmc0: new high speed SDHC card at address aaaa
[    3.035528] omap_voltage_late_init: Voltage driver support not added
[    3.043144] mmcblk0: mmc0:aaaa SS16G 14.8 GiB 
[    3.047991] ThumbEE CPU extension supported.
[    3.053243] Registering SWP/SWPB emulation handler
[    3.058301]  mmcblk0: p1
[    3.063340] registered taskstats version 1
[    3.067825] zswap: loaded using pool lzo/zbud
[    3.072466] mmc1: new high speed MMC card at address 0001
[    3.080093] Btrfs loaded, crc32c=crc32c-generic
[    3.085359] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB 
[    3.091378] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    3.099023] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    3.105510] Key type encrypted registered
[    3.115460]  mmcblk1: p1
[    3.157432] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.163324] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.170342] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.178086] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.185398] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.192679] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.199950] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.206920] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.213710]  remoteproc0: powering up wkup_m3
[    3.218223]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    3.225812]  remoteproc0: remote processor wkup_m3 is now up
[    3.231510] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    3.243053] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,BBG1,BBG116047576'
[    3.250412] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.287002] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.298003] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.318025] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.350434] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.382847] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.388721] bone_capemgr bone_capemgr: initialized OK.
[    3.394741] omap_rtc 44e3e000.rtc: setting system clock to 2016-12-13 06:50:33 UTC (1481611833)
[    3.403561] of_cfs_init
[    3.406239] of_cfs_init: OK
[    3.423200] net eth0: initializing cpsw version 1.12 (0)
[    3.443418] usb 1-1: New USB device found, idVendor=0bda, idProduct=8176
[    3.450195] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.457383] usb 1-1: Product: 802.11n WLAN Adapter
[    3.462212] usb 1-1: Manufacturer: Realtek
[    3.466342] usb 1-1: SerialNumber: 00e04c000001
[    3.502627] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
[    3.522026] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.542723] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    5.550903] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.570139] IP-Config: Complete:
[    5.573401]      device=eth0, hwaddr=b0:d5:cc:47:00:8a, ipaddr=192.168.199.133, mask=255.255.255.0, gw=192.168.199.1
[    5.584003]      host=pillar, domain=, nis-domain=(none)
[    5.589355]      bootserver=192.168.199.134, rootserver=192.168.199.134, rootpath=
[    5.944809] VFS: Mounted root (nfs filesystem) on device 0:15.
[    5.958316] devtmpfs: mounted
[    5.962765] Freeing unused kernel memory: 1024K (c1200000 - c1300000)
[    6.040122] Starting init: /etc/init exists but couldn't execute it (error -13)
/bin/sh: 0: Can't open fixrtc
[    6.746131] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    6.746131] 
[    6.755334] CPU: 0 PID: 1 Comm: sh Not tainted 4.9.0-rc8-ti-r9 #15
[    6.761539] Hardware name: Generic AM33XX (Flattened Device Tree)
[    6.767703] [<c0112ea8>] (unwind_backtrace) from [<c010db58>] (show_stack+0x20/0x24)
[    6.775496] [<c010db58>] (show_stack) from [<c0721a44>] (dump_stack+0x8c/0xa0)
[    6.782759] [<c0721a44>] (dump_stack) from [<c0268724>] (panic+0x100/0x294)
[    6.789758] [<c0268724>] (panic) from [<c0140234>] (complete_and_exit+0x0/0x2c)
[    6.797102] [<c0140234>] (complete_and_exit) from [<c01402d0>] (do_group_exit+0x50/0xe0)
[    6.805231] [<c01402d0>] (do_group_exit) from [<c0140380>] (__wake_up_parent+0x0/0x30)
[    6.813193] [<c0140380>] (__wake_up_parent) from [<c0108ea0>] (ret_fast_syscall+0x0/0x3c)
[    6.821422] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    6.821422] 
[   48.634006] random: crng init done

@Pillar1989 Pillar1989 reopened this Dec 13, 2016
@Pillar1989
Copy link
Author

Good news, I solved this issue.
The key is" init=/lib/systemd/systemd"

##Rename as: uEnv.txt to boot via nfs

##https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

##SERVER: sudo apt-get install tftpd-hpa
##SERVER:
##SERVER: zImage boot:
##SERVER: TFTP_DIRECTORY defined in /etc/default/tftpd-hpa
##SERVER: zImage/*.dtb need to be located here:
##SERVER: TFTP_DIRECTORY/zImage
##SERVER: TFTP_DIRECTORY/dtbs/*.dtb
##SERVER:
##SERVER: uname_r boot:
##SERVER: TFTP_DIRECTORY defined in /etc/default/tftpd-hpa
##SERVER: Change TFTP_DIRECTORY to /NFSEXPORT/boot
##SERVER: TFTP_DIRECTORY/vmlinuz-${uname_r}
##SERVER: TFTP_DIRECTORY/dtbs/${uname_r}/*.dtb

##client_ip needs to be set for u-boot to try booting via nfs

client_ip=192.168.199.133

#u-boot defaults: uncomment and override where needed

server_ip=192.168.199.134
gw_ip=192.168.199.1
netmask=255.255.255.0
hostname=pillar
device=eth0
autoconf=off
root_dir=/home/pillar/ti/rootfs
nfs_options=,vers=3
nfsrootfstype=ext4 rootwait fixrtc
init=/lib/systemd/systemd
##use uname_r= only if TFTP SERVER is setup for uname_r boot:
uname_r=4.9.0-ti-r10

and connmen ignore eth0


root@beaglebone:/mnt# cd 
root@beaglebone:~# cat /etc/connman/main.conf 
[General]
PreferredTechnologies=ethernet,wifi
SingleConnectedTechnology=false
AllowHostnameUpdates=false
PersistentTetheringMode=true
NetworkInterfaceBlacklist=SoftAp0,usb0,eth0

@disa6302
Copy link

I realize the image file downloaded from the Beagle bone website is of type .img.xz.

How can I convert to zImage or uImage format without using an SD Card even once?

RobertCNelson pushed a commit that referenced this issue Nov 4, 2019
When a bonding interface is being created, it setups its mode and options.
At that moment, it uses mode_lock so mode_lock should be initialized
before that moment.

rtnl_newlink()
	rtnl_create_link()
		alloc_netdev_mqs()
			->setup() //bond_setup()
	->newlink //bond_newlink
		bond_changelink()
		register_netdevice()
			->ndo_init() //bond_init()

After commit 089bca2 ("bonding: use dynamic lockdep key instead of
subclass"), mode_lock is initialized in bond_init().
So in the bond_changelink(), un-initialized mode_lock can be used.
mode_lock should be initialized in bond_setup().
This patch partially reverts commit 089bca2 ("bonding: use dynamic
lockdep key instead of subclass")

Test command:
    ip link add bond0 type bond mode 802.3ad lacp_rate 0

Splat looks like:
[   60.615127] INFO: trying to register non-static key.
[   60.615900] the code is fine but needs lockdep annotation.
[   60.616697] turning off the locking correctness validator.
[   60.617490] CPU: 1 PID: 957 Comm: ip Not tainted 5.4.0-rc3+ #109
[   60.618350] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[   60.619481] Call Trace:
[   60.619918]  dump_stack+0x7c/0xbb
[   60.620453]  register_lock_class+0x1215/0x14d0
[   60.621131]  ? alloc_netdev_mqs+0x7b3/0xcc0
[   60.621771]  ? is_bpf_text_address+0x86/0xf0
[   60.622416]  ? is_dynamic_key+0x230/0x230
[   60.623032]  ? unwind_get_return_address+0x5f/0xa0
[   60.623757]  ? create_prof_cpu_mask+0x20/0x20
[   60.624408]  ? arch_stack_walk+0x83/0xb0
[   60.625023]  __lock_acquire+0xd8/0x3de0
[   60.625616]  ? stack_trace_save+0x82/0xb0
[   60.626225]  ? stack_trace_consume_entry+0x160/0x160
[   60.626957]  ? deactivate_slab.isra.80+0x2c5/0x800
[   60.627668]  ? register_lock_class+0x14d0/0x14d0
[   60.628380]  ? alloc_netdev_mqs+0x7b3/0xcc0
[   60.629020]  ? save_stack+0x69/0x80
[   60.629574]  ? save_stack+0x19/0x80
[   60.630121]  ? __kasan_kmalloc.constprop.4+0xa0/0xd0
[   60.630859]  ? __kmalloc_node+0x16f/0x480
[   60.631472]  ? alloc_netdev_mqs+0x7b3/0xcc0
[   60.632121]  ? rtnl_create_link+0x2ed/0xad0
[   60.634388]  ? __rtnl_newlink+0xad4/0x11b0
[   60.635024]  lock_acquire+0x164/0x3b0
[   60.635608]  ? bond_3ad_update_lacp_rate+0x91/0x200 [bonding]
[   60.636463]  _raw_spin_lock_bh+0x38/0x70
[   60.637084]  ? bond_3ad_update_lacp_rate+0x91/0x200 [bonding]
[   60.637930]  bond_3ad_update_lacp_rate+0x91/0x200 [bonding]
[   60.638753]  ? bond_3ad_lacpdu_recv+0xb30/0xb30 [bonding]
[   60.639552]  ? bond_opt_get_val+0x180/0x180 [bonding]
[   60.640307]  ? ___slab_alloc+0x5aa/0x610
[   60.640925]  bond_option_lacp_rate_set+0x71/0x140 [bonding]
[   60.641751]  __bond_opt_set+0x1ff/0xbb0 [bonding]
[   60.643217]  ? kasan_unpoison_shadow+0x30/0x40
[   60.643924]  bond_changelink+0x9a4/0x1700 [bonding]
[   60.644653]  ? memset+0x1f/0x40
[   60.742941]  ? bond_slave_changelink+0x1a0/0x1a0 [bonding]
[   60.752694]  ? alloc_netdev_mqs+0x8ea/0xcc0
[   60.753330]  ? rtnl_create_link+0x2ed/0xad0
[   60.753964]  bond_newlink+0x1e/0x60 [bonding]
[   60.754612]  __rtnl_newlink+0xb9f/0x11b0
[ ... ]

Reported-by: [email protected]
Reported-by: [email protected]
Fixes: 089bca2 ("bonding: use dynamic lockdep key instead of subclass")
Signed-off-by: Taehee Yoo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
RobertCNelson pushed a commit that referenced this issue Feb 16, 2022
[ Upstream commit 9f89c88 ]

The func v4l2_m2m_ctx_release waits for currently running jobs
to finish and then stop streaming both queues and frees the buffers.
All this should be done before the call to mtk_vcodec_enc_release
which frees the encoder handler. This fixes null-pointer dereference bug:

[  638.028076] Mem abort info:
[  638.030932]   ESR = 0x96000004
[  638.033978]   EC = 0x25: DABT (current EL), IL = 32 bits
[  638.039293]   SET = 0, FnV = 0
[  638.042338]   EA = 0, S1PTW = 0
[  638.045474]   FSC = 0x04: level 0 translation fault
[  638.050349] Data abort info:
[  638.053224]   ISV = 0, ISS = 0x00000004
[  638.057055]   CM = 0, WnR = 0
[  638.060018] user pgtable: 4k pages, 48-bit VAs, pgdp=000000012b6db000
[  638.066485] [00000000000001a0] pgd=0000000000000000, p4d=0000000000000000
[  638.073277] Internal error: Oops: 96000004 [#1] SMP
[  638.078145] Modules linked in: rfkill mtk_vcodec_dec mtk_vcodec_enc uvcvideo mtk_mdp mtk_vcodec_common videobuf2_dma_contig v4l2_h264 cdc_ether v4l2_mem2mem videobuf2_vmalloc usbnet videobuf2_memops videobuf2_v4l2 r8152 videobuf2_common videodev cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf elan_i2c elants_i2c sbs_battery mc cros_usbpd_charger cros_ec_chardev cros_usbpd_logger crct10dif_ce mtk_vpu fuse ip_tables x_tables ipv6
[  638.118583] CPU: 0 PID: 212 Comm: kworker/u8:5 Not tainted 5.15.0-06427-g58a1d4dcfc74-dirty #109
[  638.127357] Hardware name: Google Elm (DT)
[  638.131444] Workqueue: mtk-vcodec-enc mtk_venc_worker [mtk_vcodec_enc]
[  638.137974] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  638.144925] pc : vp8_enc_encode+0x34/0x2b0 [mtk_vcodec_enc]
[  638.150493] lr : venc_if_encode+0xac/0x1b0 [mtk_vcodec_enc]
[  638.156060] sp : ffff8000124d3c40
[  638.159364] x29: ffff8000124d3c40 x28: 0000000000000000 x27: 0000000000000000
[  638.166493] x26: 0000000000000000 x25: ffff0000e7f252d0 x24: ffff8000124d3d58
[  638.173621] x23: ffff8000124d3d58 x22: ffff8000124d3d60 x21: 0000000000000001
[  638.180750] x20: ffff80001137e000 x19: 0000000000000000 x18: 0000000000000001
[  638.187878] x17: 000000040044ffff x16: 00400032b5503510 x15: 0000000000000000
[  638.195006] x14: ffff8000118536c0 x13: ffff8000ee1da000 x12: 0000000030d4d91d
[  638.202134] x11: 0000000000000000 x10: 0000000000000980 x9 : ffff8000124d3b20
[  638.209262] x8 : ffff0000c18d4ea0 x7 : ffff0000c18d44c0 x6 : ffff0000c18d44c0
[  638.216391] x5 : ffff80000904a3b0 x4 : ffff8000124d3d58 x3 : ffff8000124d3d60
[  638.223519] x2 : ffff8000124d3d78 x1 : 0000000000000001 x0 : ffff80001137efb8
[  638.230648] Call trace:
[  638.233084]  vp8_enc_encode+0x34/0x2b0 [mtk_vcodec_enc]
[  638.238304]  venc_if_encode+0xac/0x1b0 [mtk_vcodec_enc]
[  638.243525]  mtk_venc_worker+0x110/0x250 [mtk_vcodec_enc]
[  638.248918]  process_one_work+0x1f8/0x498
[  638.252923]  worker_thread+0x140/0x538
[  638.256664]  kthread+0x148/0x158
[  638.259884]  ret_from_fork+0x10/0x20
[  638.263455] Code: f90023f9 2a0103f5 aa0303f6 aa0403f8 (f940d277)
[  638.269538] ---[ end trace e374fc10f8e181f5 ]---

[gst-master] root@debian:~/gst-build# [  638.019193] Unable to handle kernel NULL pointer dereference at virtual address 00000000000001a0
Fixes: 4e855a6 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver")
Signed-off-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants