Cant get custom BeagleBone Black board to boot Linux

Kernels & Hardware, configuring network, installing services

Cant get custom BeagleBone Black board to boot Linux

Postby mryyan6 » 2017-12-19 19:21

Hi all,

I am working on a project where we are using a custom board that is based on the BeagleBone Black to boot. The custom board has removed most of the peripherals but left the most main hardware on the board. I am trying to flash the eMMC via a SD card but have been unable to get the board up and running. The board will go through the boot process and then keep restarting instead of launching the kernel. I have tried multiple images from https://elinux.org/Beagleboard:BeagleBoneBlack_Debian but none seem to work. Below is the serial output. Any help or insight on how to fix this would be appreciated!

Code: Select all
========================================
Checking for Valid bbb-eeprom header
==> Invalid EEPROM header detected
===> Writing header to EEPROM
0+1 records in
0+1 records out
12 bytes (12 B) copied, 0.00381363 s, 3.1 kB/s
===> eeprom check: [ÿÿÿ]
========================================
Failed to read reboot parameter file: No such file or directory[   31.254290] musb-hdrc musb-hdrc.1.auto: remove, state 4

Rebooting.
[   31.263428] usb usb1: USB disconnect, device number 1
[   31.270525] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered
[   31.280521] reboot: Restarting system

U-Boot SPL 2017.09-00003-g9a6fe97466 (Oct 09 2017 - 15:31:21)
Trying to boot from MMC1


U-Boot 2017.09-00003-g9a6fe97466 (Oct 09 2017 - 15:31:21 -0500), Build: jenkins-github_Bootloader-Builder-607

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: 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

<ethaddr> not set. Validating first E-fuse MAC
Model: BeagleBone:
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:   No ethernet found.
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BONE] ...
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 ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
1987 bytes read in 55 ms (35.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.4.91-ti-r136 ...
8935728 bytes read in 615 ms (13.9 MiB/s)
uboot_overlays: [uboot_base_dtb=am335x-bone.dtb] ...
uboot_overlays: Switching too: dtb=am335x-bone.dtb ...
loading /boot/dtbs/4.4.91-ti-r136/am335x-bone.dtb ...
58552 bytes read in 98 ms (583 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 213 ms (2.9 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ...
2402 bytes read in 280 ms (7.8 KiB/s)
uboot_overlays: loading /lib/firmware/univ-bbb-EVA-00A0.dtbo ...
54817 bytes read in 296 ms (180.7 KiB/s)
loading /boot/initrd.img-4.4.91-ti-r136 ...
5357268 bytes read in 379 ms (13.5 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:51bed4 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fae4000, end 8ffffed4 ... OK
   reserving fdt memory region: addr=88000000 size=76000
   Loading Device Tree to 8fa6b000, end 8fae3fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.91-ti-r136 (root@b1-am57xx-beagle-x15-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 2 02:28:07 UTC 2017
[    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] Machine model: TI AM335x BeagleBone
[    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 13 pages/cpu @df901000 s24320 r8192 d20736 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 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: 443552K/522240K available (11728K kernel code, 948K rwdata, 3908K rodata, 768K init, 854K bss, 29536K 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 - 0xc0f4d464   (15638 kB)
[    0.000000]       .init : 0xc0f4e000 - 0xc100e000   ( 768 kB)
[    0.000000]       .data : 0xc100e000 - 0xc10fb3a0   ( 949 kB)
[    0.000000]        .bss : 0xc10fe000 - 0xc11d3af8   ( 855 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000049] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000062] OMAP clocksource: timer1 at 24000000 Hz
[    0.001607] clocksource_probe: no matching clocksources found
[    0.001914] Console: colour dummy device 80x30
[    0.001947] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001954] This ensures that you still see kernel messages. Please
[    0.001960] update your kernel commandline.
[    0.001981] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.021486] pid_max: default: 32768 minimum: 301
[    0.021636] Security Framework initialized
[    0.021649] Yama: becoming mindful.
[    0.021686] AppArmor: AppArmor disabled by boot time parameter
[    0.021856] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021868] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.022740] Initializing cgroup subsys io
[    0.022775] Initializing cgroup subsys memory
[    0.022821] Initializing cgroup subsys devices
[    0.022840] Initializing cgroup subsys freezer
[    0.022857] Initializing cgroup subsys net_cls
[    0.022872] Initializing cgroup subsys perf_event
[    0.022887] Initializing cgroup subsys net_prio
[    0.022911] Initializing cgroup subsys pids
[    0.022968] CPU: Testing write buffer coherency: ok
[    0.023028] ftrace: allocating 36180 entries in 107 pages
[    0.125815] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.125945] Setting up static identity map for 0x80008280 - 0x800082e0
[    0.130299] Brought up 1 CPUs
[    0.130326] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.130334] CPU: All CPU(s) started in SVC mode.
[    0.131921] devtmpfs: initialized
[    0.162407] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.204564] omap_hwmod: debugss: _wait_target_disable failed
[    0.245980] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.246017] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.250069] xor: measuring software checksum speed
[    0.289465]    arm4regs  :  1219.000 MB/sec
[    0.329459]    8regs     :  1091.000 MB/sec
[    0.369460]    32regs    :  1089.000 MB/sec
[    0.409458]    neon      :  1739.000 MB/sec
[    0.409467] xor: using function: neon (1739.000 MB/sec)
[    0.409579] pinctrl core: initialized pinctrl subsystem
[    0.411034] NET: Registered protocol family 16
[    0.413885] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.414828] cpuidle: using governor ladder
[    0.414847] cpuidle: using governor menu
[    0.426562] OMAP GPIO hardware version 0.1
[    0.442487] No ATAGs?
[    0.442526] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.443442] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.443462] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.521721] raid6: int32x1  gen()   230 MB/s
[    0.589568] raid6: int32x1  xor()   176 MB/s
[    0.657655] raid6: int32x2  gen()   304 MB/s
[    0.725480] raid6: int32x2  xor()   199 MB/s
[    0.793587] raid6: int32x4  gen()   284 MB/s
[    0.861579] raid6: int32x4  xor()   199 MB/s
[    0.929581] raid6: int32x8  gen()   282 MB/s
[    0.997580] raid6: int32x8  xor()   186 MB/s
[    1.065464] raid6: neonx1   gen()  1458 MB/s
[    1.133485] raid6: neonx1   xor()   846 MB/s
[    1.201473] raid6: neonx2   gen()  1884 MB/s
[    1.269466] raid6: neonx2   xor()  1188 MB/s
[    1.337487] raid6: neonx4   gen()  1923 MB/s
[    1.405470] raid6: neonx4   xor()  1203 MB/s
[    1.473467] raid6: neonx8   gen()  1186 MB/s
[    1.541486] raid6: neonx8   xor()   844 MB/s
[    1.541493] raid6: using algorithm neonx4 gen() 1923 MB/s
[    1.541500] raid6: .... xor() 1203 MB/s, rmw enabled
[    1.541507] raid6: using intx1 recovery algorithm
[    1.551712] edma 49000000.edma: TI EDMA DMA engine driver
[    1.556655] vgaarb: loaded
[    1.557302] SCSI subsystem initialized
[    1.558122] usbcore: registered new interface driver usbfs
[    1.558208] usbcore: registered new interface driver hub
[    1.558314] usbcore: registered new device driver usb
[    1.559325] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.560226] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    1.561592] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    1.561837] media: Linux media interface: v0.10
[    1.561910] Linux video capture interface: v2.00
[    1.562025] pps_core: LinuxPPS API ver. 1 registered
[    1.562034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.562062] PTP clock support registered
[    1.563209] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.564715] NetLabel: Initializing
[    1.564733] NetLabel:  domain hash size = 128
[    1.564739] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.564802] NetLabel:  unlabeled traffic allowed by default
[    1.565191] clocksource: Switched to clocksource timer1
[    1.678412] NET: Registered protocol family 2
[    1.679276] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.679326] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.679386] TCP: Hash tables configured (established 4096 bind 4096)
[    1.679464] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.679485] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.6798

U-Boot SPL 2017.09-00003-g9a6fe97466 (Oct 09 2017 - 15:31:21)
Trying to boot from MMC1


U-Boot 2017.09-00003-g9a6fe97466 (Oct 09 2017 - 15:31:21 -0500), Build: jenkins-github_Bootloader-Builder-607

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: 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

<ethaddr> not set. Validating first E-fuse MAC
Model: BeagleBone:
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:   No ethernet found.
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BONE] ...
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 ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
1987 bytes read in 55 ms (35.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.4.91-ti-r136 ...
8935728 bytes read in 616 ms (13.8 MiB/s)
uboot_overlays: [uboot_base_dtb=am335x-bone.dtb] ...
uboot_overlays: Switching too: dtb=am335x-bone.dtb ...
loading /boot/dtbs/4.4.91-ti-r136/am335x-bone.dtb ...
58552 bytes read in 98 ms (583 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 213 ms (2.9 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ...
2402 bytes read in 280 ms (7.8 KiB/s)
uboot_overlays: loading /lib/firmware/univ-bbb-EVA-00A0.dtbo ...
54817 bytes read in 296 ms (180.7 KiB/s)
loading /boot/initrd.img-4.4.91-ti-r136 ...
5357268 bytes read in 380 ms (13.4 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:51bed4 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fae4000, end 8ffffed4 ... OK
   reserving fdt memory region: addr=88000000 size=76000
   Loading Device Tree to 8fa6b000, end 8fae3fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.91-ti-r136 (root@b1-am57xx-beagle-x15-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 2 02:28:07 UTC 2017
[    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] Machine model: TI AM335x BeagleBone
[    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 13 pages/cpu @df901000 s24320 r8192 d20736 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 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: 443552K/522240K available (11728K kernel code, 948K rwdata, 3908K rodata, 768K init, 854K bss, 29536K 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 - 0xc0f4d464   (15638 kB)
[    0.000000]       .init : 0xc0f4e000 - 0xc100e000   ( 768 kB)
[    0.000000]       .data : 0xc100e000 - 0xc10fb3a0   ( 949 kB)
[    0.000000]        .bss : 0xc10fe000 - 0xc11d3af8   ( 855 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000049] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000062] OMAP clocksource: timer1 at 24000000 Hz
[    0.001605] clocksource_probe: no matching clocksources found
[    0.001910] Console: colour dummy device 80x30
[    0.001942] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001949] This ensures that you still see kernel messages. Please
[    0.001955] update your kernel commandline.
[    0.001976] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.021460] pid_max: default: 32768 minimum: 301
[    0.021610] Security Framework initialized
[    0.021623] Yama: becoming mindful.
[    0.021660] AppArmor: AppArmor disabled by boot time parameter
[    0.021830] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021843] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.022714] Initializing cgroup subsys io
[    0.022749] Initializing cgroup subsys memory
[    0.022796] Initializing cgroup subsys devices
[    0.022814] Initializing cgroup subsys freezer
[    0.022831] Initializing cgroup subsys net_cls
[    0.022845] Initializing cgroup subsys perf_event
[    0.022860] Initializing cgroup subsys net_prio
[    0.022886] Initializing cgroup subsys pids
[    0.022947] CPU: Testing write buffer coherency: ok
[    0.023008] ftrace: allocating 36180 entries in 107 pages
[    0.125771] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.125902] Setting up static identity map for 0x80008280 - 0x800082e0
[    0.130266] Brought up 1 CPUs
[    0.130290] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.130298] CPU: All CPU(s) started in SVC mode.
[    0.131879] devtmpfs: initialized
[    0.162320] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.204516] omap_hwmod: debugss: _wait_target_disable failed
[    0.245944] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.245982] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.250098] xor: measuring software checksum speed
[    0.289440]    arm4regs  :  1219.000 MB/sec
[    0.329434]    8regs     :  1091.000 MB/sec
[    0.369434]    32regs    :  1089.000 MB/sec
[    0.409433]    neon      :  1739.000 MB/sec
[    0.409441] xor: using function: neon (1739.000 MB/sec)
[    0.409476] pinctrl core: initialized pinctrl subsystem
[    0.410926] NET: Registered protocol family 16
[    0.413773] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.414706] cpuidle: using governor ladder
[    0.414725] cpuidle: using governor menu
[    0.426437] OMAP GPIO hardware version 0.1
[    0.442331] No ATAGs?
[    0.442369] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.443301] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.443321] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.521479] raid6: int32x1  gen()   229 MB/s
[    0.589547] raid6: int32x1  xor()   176 MB/s
[    0.657621] raid6: int32x2  gen()   304 MB/s
[    0.725464] raid6: int32x2  xor()   199 MB/s
[    0.793560] raid6: int32x4  gen()   284 MB/s
[    0.861554] raid6: int32x4  xor()   199 MB/s
[    0.929559] raid6: int32x8  gen()   282 MB/s
[    0.997542] raid6: int32x8  xor()   186 MB/s
[    1.065474] raid6: neonx1   gen()  1458 MB/s
[    1.133444] raid6: neonx1   xor()   846 MB/s
[    1.201437] raid6: neonx2   gen()  1884 MB/s
[    1.269447] raid6: neonx2   xor()  1189 MB/s
[    1.337446] raid6: neonx4   gen()  1922 MB/s
[    1.405457] raid6: neonx4   xor()  1202 MB/s
[    1.473441] raid6: neonx8   gen()  1186 MB/s
[    1.541467] raid6: neonx8   xor()   844 MB/s
[    1.541475] raid6: using algorithm neonx4 gen() 1922 MB/s
[    1.541482] raid6: .... xor() 1202 MB/s, rmw enabled
[    1.541489] raid6: using intx1 recovery algorithm
[    1.551713] edma 49000000.edma: TI EDMA DMA engine driver
[    1.556607] vgaarb: loaded
[    1.557263] SCSI subsystem initialized
[    1.558094] usbcore: registered new interface driver usbfs
[    1.558181] usbcore: registered new interface driver hub
[    1.558287] usbcore: registered new device driver usb
[    1.559309] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.560213] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    1.561580] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    1.561861] media: Linux media interface: v0.10
[    1.561934] Linux video capture interface: v2.00
[    1.562053] pps_core: LinuxPPS API ver. 1 registered
[    1.562062] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.562089] PTP clock support registered
[    1.563197] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.564691] NetLabel: Initializing
[    1.564710] NetLabel:  domain hash size = 128
[    1.564717] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.564780] NetLabel:  unlabeled traffic allowed by default
[    1.565164] clocksource: Switched to clocksource timer1
[    1.678366] NET: Registered protocol family 2
[    1.679225] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.679277] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.679337] TCP: Hash tables configured (established 4096 bind 4096)
[    1.679418] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.679439] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.679757] NET: Registered protocol family 1
[    1.680365] RPC: Registered named UNIX socket transport module.
[    1.680382] RPC: Registered udp transport module.
[    1.680389] RPC: Registered tcp transport module.
[    1.680395] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.681503] Unpacking initramfs...
[    2.065085] Freeing initrd memory: 5232K
[    2.065832] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    2.069506] audit: initializing netlink subsys (disabled)
[    2.069612] audit: type=2000 audit(2.004:1): initialized
[    2.079719] zbud: loaded
[    2.080462] VFS: Disk quotas dquot_6.6.0
[    2.080733] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.083648] NFS: Registering the id_resolver key type
[    2.083724] Key type id_resolver registered
[    2.083733] Key type id_legacy registered
[    2.083761] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.084146] fuse init (API version 7.23)
[    2.084746] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.093870] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.094139] io scheduler noop registered
[    2.094156] io scheduler deadline registered
[    2.094223] io scheduler cfq registered (default)
[    2.096408] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.097727] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
[    2.097937] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
[    2.098080] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2
[    2.098225] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3
[    2.098369] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4
[    2.098511] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5
[    2.098655] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6
[    2.098796] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7
[    2.098971] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8
[    2.099121] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9
[    2.099261] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10
[    2.099402] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11
[    2.099551] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12
[    2.099702] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13
[    2.099864] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14
[    2.100005] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15
[    2.100146] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16
[    2.100295] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17
[    2.100438] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18
[    2.100578] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19
[    2.100727] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20
[    2.100913] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21
[    2.101058] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22
[    2.101563] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23
[    2.101721] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24
[    2.101867] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25
[    2.101998] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26
[    2.102136] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27
[    2.102274] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28
[    2.102412] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29
[    2.102549] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30
[    2.102685] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31
[    2.102818] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32
[    2.102958] gpio-of-helper ocp:cape-universal: Allocated GPIO id=33
[    2.103090] gpio-of-helper ocp:cape-universal: Allocated GPIO id=34
[    2.103101] gpio-of-helper ocp:cape-universal: ready
[    2.111453] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.113679] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.117430] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    3.230659] console [ttyS0] enabled
[    3.235164] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    3.244969] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a 8250
[    3.254706] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
[    3.266852] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    3.274080] [drm] Initialized drm 1.1.0 20060810
[    3.280838] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.288256] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.295569] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.302836] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.334116] CAN device driver interface
[    3.339546] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=167)
[    3.349683] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=168)
[    3.409252] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    3.415433] davinci_mdio 4a101000.mdio: no live phy, scanning all
[    3.421910] davinci_mdio: probe of 4a101000.mdio failed with error -5
[    3.442408] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:45:33:a9
[    3.462115] cpsw 4a100000.ethernet: cpts: overflow check period 2125
[    3.471242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.477966] ehci-pci: EHCI PCI platform driver
[    3.482538] ehci-platform: EHCI generic platform driver
[    3.488232] ehci-omap: OMAP-EHCI Host Controller driver
[    3.494330] usbcore: registered new interface driver usb-storage
[    3.503461] 47401300.usb-phy supply vcc not found, using dummy regulator
[    3.515416] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    3.524994] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    3.530892] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    3.539108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.545971] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.553243] usb usb1: Product: MUSB HDRC host driver
[    3.558245] usb usb1: Manufacturer: Linux 4.4.91-ti-r136 musb-hcd
[    3.564379] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.570425] hub 1-0:1.0: USB hub found
[    3.574397] hub 1-0:1.0: 1 port detected
[    3.588154] mousedev: PS/2 mouse device common for all mice
[    3.599368] omap_rtc 44e3e000.rtc: already running
[    3.604872] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    3.614161] i2c /dev entries driver
[    3.620620] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    3.628251] cpuidle: enable-method property 'ti,am3352' found operations
[    3.636442] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.644282] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    3.652612] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    3.660188] hidraw: raw HID events driver (C) Jiri Kosina
[    3.666530] usbcore: registered new interface driver usbhid
[    3.672220] usbhid: USB HID core driver
[    3.678165]  remoteproc0: wkup_m3 is available
[    3.682753]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.691782]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.704927] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[    3.712353] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[    3.719655] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[    3.726934] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[    3.734244] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[    3.741519] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[    3.748790] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[    3.758994] NET: Registered protocol family 10
[    3.765112] mip6: Mobile IPv6
[    3.768198] NET: Registered protocol family 17
[    3.772745] can: controller area network core (rev 20120528 abi 9)
[    3.779054] NET: Registered protocol family 29
[    3.783712] Key type dns_resolver registered
[    3.788039] mpls_gso: MPLS GSO support
[    3.792071] omap_voltage_late_init: Voltage driver support not added
[    3.799948] PM: Cannot get wkup_m3_ipc handle
[    3.804543] ThumbEE CPU extension supported.
[    3.808885] Registering SWP/SWPB emulation handler
[    3.814819] registered taskstats version 1
[    3.819198] zswap: loaded using pool lzo/zbud
[    3.827538] Btrfs loaded
[    3.859469] Key type encrypted registered
[    3.867819] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    3.903384] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.909482] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.916510] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.923929] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.928723]  remoteproc0: powering up wkup_m3
[    3.933789]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    3.941870]  remoteproc0: remote processor wkup_m3 is now up
[    3.941886] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    3.988205] PM: bootloader does not support rtc-only!
[    3.995920] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:02:00 UTC (946684920)
[    4.006918] of_cfs_init
[    4.009595] of_cfs_init: OK
[    4.021790] vmmcsd_fixed: disabling
[    4.027012] Freeing unused kernel memory: 768K
Loading, please wait...
[    4.049856] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.068092] mmc0: new high speed SDHC card at address 0007
[    4.082728] mmcblk0: mmc0:0007 SD08G 7.42 GiB
[    4.091085]  mmcblk0: p1
starting version 230
[    4.170366] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    4.188439] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    4.199471] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.210051] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.219666] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.230044] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.244202] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.254662] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.264839] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.274925] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.284963] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[   12.916943] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[   13.017518] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[   13.094370] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[   13.236126]  remoteproc1: 4a334000.pru0 is available
[   13.241279]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[   13.250316]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   13.480141] pru-rproc 4a334000.pru0: booting the PRU core manually
[   13.510941]  remoteproc1: powering up 4a334000.pru0
[   13.579127]  remoteproc1: Booting fw image am335x-pru0-fw, size 36296
[   13.585818]  remoteproc1: remote processor 4a334000.pru0 is now up
[   13.592096] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[   13.801969]  remoteproc2: 4a338000.pru1 is available
[   13.807100]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[   13.816131]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.074969] pru-rproc 4a338000.pru1: booting the PRU core manually
[   14.168288]  remoteproc2: powering up 4a338000.pru1
[   14.217968]  remoteproc2: Booting fw image am335x-pru1-fw, size 35392
[   14.224629]  remoteproc2: remote processor 4a338000.pru1 is now up
[   14.230917] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
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 ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/mmcblk0p1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   19.612930] EXT4-fs (mmcblk0p1): 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.20170427: u-boot v2017.05-rc2...]
================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:02:16 UTC 2000
----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1
==> Preparing /tmp
==> Preparing sysctl
==> sysctl: vm.min_free_kbytes=[2663]
==> 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/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
----------------------------------------
==> root_drive=[/dev/mmcblk0p1]
====> Root drive identified at [/dev/mmcblk0p1]
==> Boot Drive [/dev/mmcblk0p1]
==> Figuring out Source and Destination devices
====> Source identified: [/dev/mmcblk0]
====> Destination identified: [/dev/mmcblk1]
==> Figuring out machine
====> Machine is TI_AM335x_BeagleBone
====> Machine is compatible with BeagleBone Black
================================================================================
5 4 3 2 1

========================================
Checking for Valid bbb-eeprom header
==> Invalid EEPROM header detected
===> Writing header to EEPROM
0+1 records in
0+1 records out
12 bytes (12 B) copied, 0.00404837 s, 3.0 kB/s
===> eeprom check: [ÿÿÿ]
========================================
Failed to read reboot parameter file: No such file or directory[   31.195858] musb-hdrc musb-hdrc.1.auto: remove, state 4

Rebooting.
[   31.205286] usb usb1: USB disconnect, device number 1
[   31.212347] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered
[   31.223587] reboot: Restarting system
mryyan6
 
Posts: 1
Joined: 2017-12-19 19:15

Re: Cant get custom BeagleBone Black board to boot Linux

Postby Capitain_Jack » 2017-12-20 11:23

Look, I'll be clear, I don't know this type of computer, but I guess I have one guess.

As it starts, try to boot from internal memory, but nothing is still installed (I guess):
Code: Select all
========================================
Checking for Valid bbb-eeprom header
==> Invalid EEPROM header detected
===> Writing header to EEPROM
0+1 records in
0+1 records out
12 bytes (12 B) copied, 0.00381363 s, 3.1 kB/s
===> eeprom check: [ÿÿÿ]
========================================
Failed to read reboot parameter file: No such file or directory[   31.254290] musb-hdrc musb-hdrc.1.auto: remove, state 4


The boot is complaining about a driver, for me, the termination looks like "High Speed MMC".
Code: Select all
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'

Here you can see that you need the mentioned driver, as the device is omap mmc:
Code: Select all
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1


Some errors occur (or the lack of the driver, or it can be damaged memory card)
Code: Select all
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...


Again complains about missing driver:
Code: Select all
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found


Than, I think, in this part this driver lack is making difference:
Code: Select all
[    4.027012] Freeing unused kernel memory: 768K
Loading, please wait...
[    4.049856] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.068092] mmc0: new high speed SDHC card at address 0007
[    4.082728] mmcblk0: mmc0:0007 SD08G 7.42 GiB
[    4.091085]  mmcblk0: p1 starting version 230
[    4.170366] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    4.188439] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
[    4.199471] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.210051] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.219666] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.230044] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.244202] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.254662] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.264839] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.274925] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.284963] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available)


And here:
Code: Select all
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 ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/mmcblk0p1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   19.612930] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
done.

Still he tries to install:
[code]================================================================================
Starting eMMC Flasher from microSD media
Version: [1.20170427: u-boot v2017.05-rc2...]
================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:02:16 UTC 2000
----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1
==> Preparing /tmp
==> Preparing sysctl
==> sysctl: vm.min_free_kbytes=[2663]
==> 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/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
----------------------------------------
==> root_drive=[/dev/mmcblk0p1]
====> Root drive identified at [/dev/mmcblk0p1]
==> Boot Drive [/dev/mmcblk0p1]
==> Figuring out Source and Destination devices
====> Source identified: [/dev/mmcblk0]
====> Destination identified: [/dev/mmcblk1]
==> Figuring out machine
====> Machine is TI_AM335x_BeagleBone
====> Machine is compatible with BeagleBone Black
================================================================================
5 4 3 2 1

========================================
Checking for Valid bbb-eeprom header
==> Invalid EEPROM header detected
===> Writing header to EEPROM
0+1 records in
0+1 records out
12 bytes (12 B) copied, 0.00404837 s, 3.0 kB/s
===> eeprom check: [ÿÿÿ]
========================================[/code]

But I guess the lack of the driver didn't allowed:
[code]
Failed to read reboot parameter file: No such file or directory[   31.195858] musb-hdrc musb-hdrc.1.auto: remove, state 4

Rebooting.
[   31.205286] usb usb1: USB disconnect, device number 1
[   31.212347] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered
[   31.223587] reboot: Restarting system


So to me either is the missing driver or the memory card is malfunctioning.
"Great spirits have always encountered violent opposition from mediocre minds."
Albert Einstein
"All wrong-doing arises because of mind. If mind is transformed can wrong-doing remain?"
Buddha
User avatar
Capitain_Jack
 
Posts: 153
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.

Re: Cant get custom BeagleBone Black board to boot Linux

Postby debiman » 2017-12-24 08:57

i don't know anything about this particular hardware either, except it's ARM based...

anyhow:
mryyan6 wrote:custom board that is based on the BeagleBone Black to boot.
we don't really know anything about these customisations...

and
I have tried multiple images from https://elinux.org/Beagleboard:BeagleBoneBlack_Debian but none seem to work.

shouldn't you be looking here: http://beagleboard.org/latest-images instead?
they also have a wiki, forums etc....
User avatar
debiman
 
Posts: 2393
Joined: 2013-03-12 07:18


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable