Hi I am trying to boot from uSD card, but I am getting some error. and the board not booted.
I worked by reffering to this site : https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black I don't know why it didn't boot. please let me know how to resolve it. *here is the terminal messge when it is booting* U-Boot SPL 2018.09-rc3-dirty (Apr 12 2019 - 05:32:30 -0700) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2018.09-rc3-dirty (Apr 12 2019 - 05:32:30 -0700) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Board: BeagleBone Black <ethaddr> not set. Validating first E-fuse MAC BeagleBone Black: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds board_name=[A335BNLT] ... board_rev=[00C0] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 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 29 bytes read in 12 ms (2 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.14.106-bone-rt-r20 ... 9028096 bytes read in 581 ms (14.8 MiB/s) debug: [enable_uboot_overlays=] ... loading /boot/dtbs/4.14.106-bone-rt-r20/am335x-boneblack.dtb ... 60915 bytes read in 29 ms (2 MiB/s) uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable... debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] ... debug: [bootz 0x82000000 - 0x88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffee000, end 8ffffdf2 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.106-bone-rt-r20 (son@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 PREEMPT RT Fri Apr 12 05:04:15 PDT 2019 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x9d000000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] random: get_random_bytes called from start_kernel+0x8b/0x37a with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait [ 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: 452740K/524288K available (9216K kernel code, 970K rwdata, 4052K rodata, 1024K init, 638K bss, 22396K 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 : 0xbf800000 - 0xbfe00000 ( 6 MB) [ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB) [ 0.000000] .init : 0xc0f00000 - 0xc1000000 (1024 kB) [ 0.000000] .data : 0xc1000000 - 0xc10f2948 ( 971 kB) [ 0.000000] .bss : 0xc10fc3e8 - 0xc119bd8c ( 639 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 39504 entries in 78 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU priority boosting: priority 1 delay 500 ms. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000024] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000031] OMAP clocksource: timer1 at 24000000 Hz [ 0.000432] timer_probe: no matching timers found [ 0.000613] Console: colour dummy device 80x30 [ 0.000744] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000747] This ensures that you still see kernel messages. Please [ 0.000749] update your kernel commandline. [ 0.000766] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.019174] pid_max: default: 32768 minimum: 301 [ 0.019414] Security Framework initialized [ 0.019423] Yama: becoming mindful. [ 0.019496] AppArmor: AppArmor initialized [ 0.019687] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.019695] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.020576] CPU: Testing write buffer coherency: ok [ 0.020625] CPU0: Spectre v2: using BPIALL workaround [ 0.021383] Setting up static identity map for 0x80100000 - 0x80100054 [ 0.021650] Hierarchical SRCU implementation. [ 0.024801] EFI services will not be available. [ 0.026282] devtmpfs: initialized [ 0.039844] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.040257] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.040284] futex hash table entries: 256 (order: 1, 8192 bytes) [ 0.043895] xor: measuring software checksum speed [ 0.083220] arm4regs : 1216.000 MB/sec [ 0.123174] 8regs : 869.000 MB/sec [ 0.163169] 32regs : 1051.000 MB/sec [ 0.163177] xor: using function: arm4regs (1216.000 MB/sec) [ 0.163195] pinctrl core: initialized pinctrl subsystem [ 0.163870] DMI not present or invalid. [ 0.164299] NET: Registered protocol family 16 [ 0.167399] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.184689] omap_hwmod: debugss: _wait_target_disable failed [ 0.229585] OMAP GPIO hardware version 0.1 [ 0.240405] No ATAGs? [ 0.240422] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.251524] raid6: using algorithm int32x8 gen() 0 MB/s [ 0.251542] raid6: .... xor() 0 MB/s, rmw enabled [ 0.251550] raid6: using intx1 recovery algorithm [ 0.258161] edma 49000000.edma: TI EDMA DMA engine driver [ 0.260271] SCSI subsystem initialized [ 0.260866] usbcore: registered new interface driver usbfs [ 0.260928] usbcore: registered new interface driver hub [ 0.261036] usbcore: registered new device driver usb [ 0.261485] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.262575] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 0.262814] media: Linux media interface: v0.10 [ 0.262863] Linux video capture interface: v2.00 [ 0.262919] pps_core: LinuxPPS API ver. 1 registered [ 0.262927] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.262948] PTP clock support registered [ 0.263067] dmi: Firmware registration failed. [ 0.263522] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.264096] Advanced Linux Sound Architecture Driver Initialized. [ 0.265276] NetLabel: Initializing [ 0.265290] NetLabel: domain hash size = 128 [ 0.265296] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.265382] NetLabel: unlabeled traffic allowed by default [ 0.266008] clocksource: Switched to clocksource timer1 [ 0.410468] VFS: Disk quotas dquot_6.6.0 [ 0.410560] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.411194] AppArmor: AppArmor Filesystem Enabled [ 0.420960] NET: Registered protocol family 2 [ 0.421742] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.421803] TCP bind hash table entries: 4096 (order: 4, 98304 bytes) [ 0.421925] TCP: Hash tables configured (established 4096 bind 4096) [ 0.422159] UDP hash table entries: 256 (order: 2, 16384 bytes) [ 0.422193] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes) [ 0.422425] NET: Registered protocol family 1 [ 0.423069] RPC: Registered named UNIX socket transport module. [ 0.423082] RPC: Registered udp transport module. [ 0.423089] RPC: Registered tcp transport module. [ 0.423096] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.423902] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 0.424020] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.426228] audit: initializing netlink subsys (disabled) [ 0.427196] audit: type=2000 audit(0.424:1): state=initialized audit_enabled=0 res=1 [ 0.427295] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.432963] zbud: loaded [ 0.436082] NFS: Registering the id_resolver key type [ 0.436123] Key type id_resolver registered [ 0.436131] Key type id_legacy registered [ 0.436149] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.436436] fuse init (API version 7.26) [ 0.444349] Key type asymmetric registered [ 0.444371] Asymmetric key parser 'x509' registered [ 0.444470] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.444679] io scheduler noop registered [ 0.444689] io scheduler deadline registered [ 0.445012] io scheduler cfq registered (default) [ 0.445023] io scheduler mq-deadline registered [ 0.446227] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.447141] gpio-of-helper ocp:cape-universal: ready [ 0.449209] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 0.450475] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 0.453253] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.227137] console [ttyS0] enabled [ 1.232888] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 1.239913] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0 [ 1.246483] usbcore: registered new interface driver udl [ 1.253967] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.261164] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.268298] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.275418] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.284657] libphy: Fixed MDIO Bus: probed [ 1.289556] CAN device driver interface [ 1.346097] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.353803] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 1.360381] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe] [ 1.368408] libphy: 4a101000.mdio: probed [ 1.372484] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 [ 1.382519] cpsw 4a100000.ethernet: Detected MACID = f4:5e:ab:35:b8:d0 [ 1.389196] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies) [ 1.398335] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.404943] ehci-platform: EHCI generic platform driver [ 1.410350] ehci-omap: OMAP-EHCI Host Controller driver [ 1.415784] usbcore: registered new interface driver usb-storage [ 1.423724] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator [ 1.435676] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator [ 1.449310] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 1.454688] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 1.462352] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.469175] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.476432] usb usb1: Product: MUSB HDRC host driver [ 1.481421] usb usb1: Manufacturer: Linux 4.14.106-bone-rt-r20 musb-hcd [ 1.488065] usb usb1: SerialNumber: musb-hdrc.1 [ 1.493289] hub 1-0:1.0: USB hub found [ 1.497112] hub 1-0:1.0: 1 port detected [ 1.510401] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.518696] i2c /dev entries driver [ 1.522728] Driver for 1-wire Dallas network protocol. [ 1.529528] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.536839] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 1.546596] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.631485] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.640462] omap-aes 53500000.aes: will run requests pump with realtime priority [ 1.652417] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.659797] hidraw: raw HID events driver (C) Jiri Kosina [ 1.665791] usbcore: registered new interface driver usbhid [ 1.669821] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.672980] mmc0: new high speed SDHC card at address aaaa [ 1.678151] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 1.680758] mmcblk0: p1 [ 1.694064] usbhid: USB HID core driver [ 1.698338] remoteproc remoteproc0: wkup_m3 is available [ 1.708021] NET: Registered protocol family 10 [ 1.710199] mmc1: new high speed MMC card at address 0001 [ 1.714129] mmcblk1: mmc1:0001 S10004 3.56 GiB [ 1.718073] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB [ 1.718275] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB [ 1.718448] mmcblk1rpmb: mmc1:0001 S10004 partition 3 4.00 MiB [ 1.719629] mmcblk1: p1 [ 1.748161] Segment Routing with IPv6 [ 1.751918] mip6: Mobile IPv6 [ 1.754910] NET: Registered protocol family 17 [ 1.759387] can: controller area network core (rev 20170425 abi 9) [ 1.765686] NET: Registered protocol family 29 [ 1.770240] Key type dns_resolver registered [ 1.774532] mpls_gso: MPLS GSO support [ 1.778461] omap_voltage_late_init: Voltage driver support not added [ 1.784852] ThumbEE CPU extension supported. [ 1.789153] Registering SWP/SWPB emulation handler [ 1.794879] registered taskstats version 1 [ 1.799121] zswap: loaded using pool lzo/zbud [ 1.805577] Btrfs loaded, crc32c=crc32c-generic [ 1.810216] AppArmor: AppArmor sha1 policy hashing enabled [ 1.815739] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 1.822114] ima: Allocated hash algorithm: sha256 [ 1.864511] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0 [ 1.875740] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 1.881456] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.889533] tda998x 0-0070: Error -121 writing to cec:0xff [ 1.895115] tda998x 0-0070: set_page 000a err -121 [ 1.958083] tda998x 0-0070: set_page 000a err -121 [ 2.022073] tda998x 0-0070: set_page 0001 err -121 [ 2.026043] usb 1-1: new high-speed USB device number 2 using musb-hdrc [ 2.033596] tda998x 0-0070: set_page 0001 err -121 [ 2.038467] tda998x 0-0070: set_page 0200 err -121 [ 2.043333] tda998x 0-0070: set_page 0201 err -121 [ 2.048198] tda998x 0-0070: set_page 0202 err -121 [ 2.053063] tda998x 0-0070: set_page 0203 err -121 [ 2.057928] tda998x 0-0070: set_page 0204 err -121 [ 2.062793] tda998x 0-0070: set_page 0205 err -121 [ 2.067658] tda998x 0-0070: set_page 020e err -121 [ 2.072523] tda998x 0-0070: set_page 0211 err -121 [ 2.077387] tda998x 0-0070: set_page 0207 err -121 [ 2.082283] tda998x 0-0070: set_page 0208 err -121 [ 2.087150] tda998x 0-0070: set_page 0209 err -121 [ 2.092011] tda998x 0-0070: set_page 020a err -121 [ 2.096878] tda998x 0-0070: set_page 0206 err -121 [ 2.101743] tda998x 0-0070: set_page 0027 err -121 [ 2.106608] tda998x 0-0070: set_page 0000 err -121 [ 2.111472] tda998x 0-0070: set_page 0002 err -121 [ 2.116441] tilcdc 4830e000.lcdc: failed to bind 0-0070 (ops tda998x_ops): -6 [ 2.123807] tilcdc 4830e000.lcdc: master bind failed: -6 [ 2.129377] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.136262] remoteproc remoteproc0: powering up wkup_m3 [ 2.141561] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168 [ 2.142246] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,00C0,' [ 2.142262] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4 [ 2.165507] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 2.165541] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193 [ 2.170975] bone_capemgr bone_capemgr: slot #0: No cape found [ 2.186145] usb 1-1: New USB device found, idVendor=1e0e, idProduct=9001 [ 2.192886] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.198044] bone_capemgr bone_capemgr: slot #1: No cape found [ 2.205823] usb 1-1: Product: SimTech, Incorporated [ 2.210726] usb 1-1: Manufacturer: SimTech, Incorporated [ 2.216064] usb 1-1: SerialNumber: 0123456789ABCDEF [ 2.227064] bone_capemgr bone_capemgr: slot #2: No cape found [ 2.259188] bone_capemgr bone_capemgr: slot #3: No cape found [ 2.265011] bone_capemgr bone_capemgr: initialized OK. [ 2.276813] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 2.285487] of_cfs_init [ 2.288079] of_cfs_init: OK [ 2.291480] ALSA device list: [ 2.294470] No soundcards found. [ 2.304130] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem [ 2.311491] EXT4-fs (mmcblk0p1): write access will be enabled during recovery [ 3.703943] EXT4-fs (mmcblk0p1): recovery complete [ 3.713872] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 3.722095] VFS: Mounted root (ext4 filesystem) readonly on device 179:1. [ 3.733874] devtmpfs: mounted [ 3.739664] Freeing unused kernel memory: 1024K [ 4.083584] systemd[1]: System time before build time, advancing clock. [ 4.135281] random: systemd: uninitialized urandom read (16 bytes read) [ 4.145140] random: systemd: uninitialized urandom read (16 bytes read) [ 4.163260] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 4.182137] systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 9 (stretch)! [ 4.206489] systemd[1]: Set hostname to <arm>. [ 4.401471] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read) [ 4.774783] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 4.790785] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 4.806628] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 4.822881] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 4.838533] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 4.854715] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 4.878355] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ OK ] Set up automount Arbitrary Executab…rmats File System Automount Point. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Created slice User and Session Slice. [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Created slice System Slice. [ OK ] Created slice system-serial\x2dgetty.slice. Mounting Debug File System... [ OK ] Created slice system-getty.slice. Mounting POSIX Message Queue File System... [ OK ] Reached target Slices. [ OK ] Listening on Journal Socket. Starting Journal Service... Starting Create Static Device Nodes in /dev... Starting File System Check on Root Device... Starting Load Kernel Modules... [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Reached target Paths. [ OK ] Reached target Encrypted Volumes. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load Kernel Modules. [ OK ] Started File System Check Daemon to report status. Mounting Configuration File System... Starting Apply Kernel Variables... Mounting FUSE Control File System... Starting udev Kernel Device Manager... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Configuration File System. [ OK ] Started File System Check on Root Device. [ OK ] Started Apply Kernel Variables. [ OK ] Started Journal Service. Starting Remount Root and Kernel File Systems... [ OK ] Started udev Kernel Device Manager. [ 5.979617] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Flush Journal to Persistent Storage... Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting Raise network interfaces... [ OK ] Started Load/Save Random Seed. [ 6.293598] systemd-journald[142]: Received request to flush runtime journal from PID 1 [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Synchronized. [ 7.934333] net eth0: initializing cpsw version 1.12 (0) [ 7.943705] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 7.966758] cpsw 4a100000.ethernet: ALE Table size 1024 [ 8.063417] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 8.115125] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ OK ] Started udev Coldplug all Devices. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt download activities. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started D-Bus System Message Bus. Starting Connection service... Starting DUN service... Starting Telephony service... Starting Avahi mDNS/DNS-SD Stack... Starting LSB: Start busybox udhcpd at boot time... [ OK ] Started Regular background program processing daemon. Starting Generic Board Startup... Starting System Logging Service... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting Login Service... [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. [ OK ] Started System Logging Service. [ OK ] Started LSB: Start busybox udhcpd at boot time. [ OK ] Started DUN service. [ OK ] Started Telephony service. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Connection service. [ OK ] Started Login Service. Starting Hostname Service... Starting WPA supplicant... [ OK ] Started WPA supplicant. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [ OK ] Started Hostname Service. [ OK ] Started LSB: set CPUFreq kernel parameters. [ OK ] Found device /dev/ttyS0. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 26.237686] systemd[1]: apt-daily.timer: Adding 11h 16min 42.325144s random time. [ 26.245674] systemd[1]: apt-daily-upgrade.timer: Adding 55min 47.417097s random time. [ 27.247368] systemd[1]: apt-daily.timer: Adding 6h 38min 52.788524s random time. [ 27.255318] systemd[1]: apt-daily-upgrade.timer: Adding 14min 6.786091s random time. Starting OpenBSD Secure Shell server... [ OK ] Started OpenBSD Secure Shell server. [* ] (1 of 2) A start job is running for…network interfaces (31s / 5m *Here is the shell script to setup uSD card* #!/bin/bash # select sd card ROOTDRIVE=`mount | grep 'on / ' | awk {'print $1'} | cut -c6-9` if [ "$ROOTDRIVE" = "root" ]; then ROOTDRIVE=`readlink /dev/root | cut -c1-3` else ROOTDRIVE=`echo $ROOTDRIVE | cut -c1-3` fi echo "root drive is ${ROOTDRIVE}" echo "\nAvailable Drives to write images to: \n" echo "# major minor size name " cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' echo " " DEVICEDRIVENUMBER= while true; do read -p 'Enter Device Number or 'n' to exit: ' DEVICEDRIVENUMBER echo " " if [ "$DEVICEDRIVENUMBER" = 'n' ]; then exit 1 fi if [ "$DEVICEDRIVENUMBER" = "" ]; then echo -e "These are the Drives available to write images to:" echo "# major minor size name " cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' echo " " continue fi DEVICEDRIVENAME=`cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' | grep "${DEVICEDRIVENUMBER}:" | awk '{print $5}'` if [ -n "$DEVICEDRIVENAME" ] then DRIVE=/dev/$DEVICEDRIVENAME DEVICESIZE=`cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' | grep "${DEVICEDRIVENUMBER}:" | awk '{print $4}'` break else echo -e "Invalid selection!" echo -e "These are the only Drives available to write images to: \n" echo "# major minor size name " cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' echo " " fi done DISK=/dev/$DEVICEDRIVENAME NUM_OF_DRIVES=`df | grep -c $DEVICEDRIVENAME` # Erase partition table/labels on microSD card sudo dd if=/dev/zero of=${DISK} bs=1M count=10 # Install bootloader sudo dd if=./u-boot/MLO of=${DISK} count=1 seek=1 bs=128k sudo dd if=./u-boot/u-boot.img of=${DISK} count=2 seek=1 bs=384k # Create partition layout : sfdisk version = 2.31.1 sudo sfdisk ${DISK} <<-__EOF__ 4M,,L,* __EOF__ #format partition : mkfs.ext4 version = 1.44.1 sudo mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit ${DISK}1 # mount partition : son is username sudo mount ${DISK}1 /media/son/rootfs/ # backup bootloader sudo mkdir -p /media/son/rootfs/opt/backup/uboot/ sudo cp -v ./u-boot/MLO /media/son/rootfs/opt/backup/uboot/ sudo cp -v ./u-boot/u-boot.img /media/son/rootfs/opt/backup/uboot/ # kernel version : 4.14.106-bone-rt-r20 kernel_version=`cat ./bb-kernel/kernel_version` # copy root file system sudo tar xfvp ./debian-*.*-*-armhf-*/armhf-rootfs-*.tar -C /media/son/rootfs/ sync sudo chown root:root /media/son/rootfs/ sudo chmod 755 /media/son/rootfs/ # set uname-r in /boot/uEnv.txt sudo sh -c "echo 'uname_r=${kernel_version}' >> /media/son/rootfs/boot/uEnv.txt" # copy kernel image sudo cp -v ./bb-kernel/deploy/${kernel_version}.zImage /media/son/rootfs/boot/vmlinuz-${kernel_version} # copy kernel device tree binaries sudo mkdir -p /media/son/rootfs/boot/dtbs/${kernel_version}/ sudo tar xfv ./bb-kernel/deploy/${kernel_version}-dtbs.tar.gz -C /media/son/rootfs/boot/dtbs/${kernel_version}/ # copy kernel modules sudo tar xfv ./bb-kernel/deploy/${kernel_version}-modules.tar.gz -C /media/son/rootfs/ # set file system table sudo sh -c "echo '/dev/mmcblk0p1 / auto errors=remount-ro 0 1' >> /media/son/rootfs/etc/fstab" # copy network interface file sudo cp -v ./lib/interfaces /media/son/rootfs/etc/network/ # using a shared sd card with multiple beaglebone sudo cp -v ./lib/70-persistent-net.rules /media/son/rootfs/etc/udev/rules.d/ sync -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d67e8dd2-c670-47d4-b17d-c58b68813301%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
