This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352 Linux SDK7.0 (kernel 3.12) on custom board: file system boot problem

Other Parts Discussed in Thread: DA8XX, TPS65217, OMAPL138, AM3359, AM3352

Hi all,


I'm trying to boot the Arago linux distribution builded with the new release of sdk7.0 on a custom board , based on beaglebone black design.

I've recompiled the kernel (with the omap2plus_defconfig ), the device tree am335x-boneblack.dtb and everything is shown in http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide

I would like to prepare an SD card to start up the board with the proper kernel, filesystem and so on .

By means of the Uart0 port , i can see the messages of the boot process.

It seems that the uImage is properly recognized  , the process goes  but .... this error appears:

systemd[1] failed to insert module 'autofs4'

and the old angstrom ditribution begin to boot (without success!)

I Am not able to understand the reason of thi error. because all ( maybe ) the modules are installed in

/home/marco/ti-sdk-am335x-evm-07.00.00.00/targetNFS/lib/modules/3.12.10-ti2013.12.01/kernel

ther are 4 folders with proper modules.


what I'm doing wrong?! 

Any help is greatly appreciated.

Marco

  • Ok , one small step ahead is done

    There isn't the autofs4 module in the filesystem folder /<my_path>/rootfs/lib/modules/3.12.10-ti2013.12.01/kernel/fs

    I've done the same steps as depicted in the linux kernel user guide

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/home/marco/ti-sdk-am335x-evm-07.00.00.00/targetNFS  modules_install

    so,why does the autofs4 module is missing?! 


    Thanks in advance

    Marco

  • Hi Marco,

    Check your linux kernel menu configuration,

    make menuconfig ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi-

    File systems  --->

    <*> Kernel automounter version 4 support (also supports v3)

  • Thanks for the answer


    In the meantime, I realized that my mistake was exactly the one you reported.


    So during menuconfig, i had set <*> kernel automounter version 4 support (also supports v3) with "y". But nothing changed. Sorofully, I tried also to set with "M" state , but ....the problem remains. With the M way, I can cleary see the autofs4.ko module in the folder

    /home/marco/ti-sdk-am335x-evm-07.00.00.00/targetNFS/lib/modules/3.12.10/kernel/fs/autofs4

    During the system boot , after kernel loading properly, the file system fails to start and the angstrom ditribution appears. wtf?!


    This is my boot message

    mmc_send_cmd : timeout: No status update
    reading u-boot.img
    reading u-boot.img


    U-Boot 2013.04-dirty (Jul 10 2013 - 14:02:53)

    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    gpio: pin 53 (gpio 53) value is 1
    mmc0 is current device
    micro SD card found
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    SD/MMC found on device 0
    reading uEnv.txt
    177 bytes read in 4 ms (43 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    gpio: pin 55 (gpio 55) value is 1
    4133744 bytes read in 492 ms (8 MiB/s)
    gpio: pin 56 (gpio 56) value is 1
    34352 bytes read in 25 ms (1.3 MiB/s)
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.12.10-ti2013.12.01
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4133680 Bytes = 3.9 MiB
       Load Address: 82000000
       Entry Point:  82000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       Loading Kernel Image ... OK
    OK
       Using Device Tree in place at 80f80000, end 80f8b62f

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.12.10-ti2013.12.01 (marco@host) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Thu Apr 10 13:03:57 CEST 2014
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] cma: CMA: reserved 24 MiB at 9e000000
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129280
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 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: 483304K/521216K available (5579K kernel code, 560K rwdata, 1884K rodata, 346K init, 230K bss, 37912K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 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 - 0xc075204c   (7465 kB)
    [    0.000000]       .init : 0xc0753000 - 0xc07a9900   ( 347 kB)
    [    0.000000]       .data : 0xc07aa000 - 0xc08363d8   ( 561 kB)
    [    0.000000]        .bss : 0xc08363d8 - 0xc086fdc0   ( 231 kB)
    [    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] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000356] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
    [    0.059652] pid_max: default: 32768 minimum: 301
    [    0.059782] Security Framework initialized
    [    0.059841] Mount-cache hash table entries: 512
    [    0.069521] CPU: Testing write buffer coherency: ok
    [    0.070018] Setting up static identity map for 0xc0578ea8 - 0xc0578f18
    [    0.071026] devtmpfs: initialized
    [    0.073362] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.137977] omap_hwmod: debugss: _wait_target_disable failed
    [    0.138777] pinctrl core: initialized pinctrl subsystem
    [    0.139852] regulator-dummy: no parameters
    [    0.142577] NET: Registered protocol family 16
    [    0.145332] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.148637] cpuidle: using governor ladder
    [    0.148658] cpuidle: using governor menu
    [    0.160061] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.161414] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.162897] OMAP GPIO hardware version 0.1
    [    0.173074] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.175537] DSS not supported on this SoC
    [    0.175560] No ATAGs?
    [    0.175573] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.206826] bio: create slab <bio-0> at 0
    [    0.225665] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.226674] vmmcsd_fixed: 3300 mV
    [    0.230253] vgaarb: loaded
    [    0.231818] SCSI subsystem initialized
    [    0.233518] usbcore: registered new interface driver usbfs
    [    0.233749] usbcore: registered new interface driver hub
    [    0.234003] usbcore: registered new device driver usb
    [    0.235158] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [    0.235193] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.235470] media: Linux media interface: v0.10
    [    0.235688] Linux video capture interface: v2.00
    [    0.236043] pps_core: LinuxPPS API ver. 1 registered
    [    0.236056] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.236239] PTP clock support registered
    [    0.239434] Switched to clocksource timer1
    [    0.263493] NET: Registered protocol family 2
    [    0.264251] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.264372] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.264439] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.264522] TCP: reno registered
    [    0.264540] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.264567] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.264813] NET: Registered protocol family 1
    [    0.265260] RPC: Registered named UNIX socket transport module.
    [    0.265277] RPC: Registered udp transport module.
    [    0.265286] RPC: Registered tcp transport module.
    [    0.265295] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.266327] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.267033] PM: Loading am335x-pm-firmware.bin
    [    0.463209] VFS: Disk quotas dquot_6.5.2
    [    0.463300] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.464025] NFS: Registering the id_resolver key type
    [    0.464146] Key type id_resolver registered
    [    0.464158] Key type id_legacy registered
    [    0.464210] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.464443] msgmni has been set to 991
    [    0.466462] NET: Registered protocol family 38
    [    0.466507] io scheduler noop registered
    [    0.466518] io scheduler deadline registered
    [    0.466544] io scheduler cfq registered (default)
    [    0.468862] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.475280] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    0.477228] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.480599] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.082629] console [ttyO0] enabled
    [    1.087927] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.107678] brd: module loaded
    [    1.117597] loop: module loaded
    [    1.124972] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.136242] usbcore: registered new interface driver asix
    [    1.142240] usbcore: registered new interface driver ax88179_178a
    [    1.148914] usbcore: registered new interface driver cdc_ether
    [    1.155266] usbcore: registered new interface driver r815x
    [    1.161321] usbcore: registered new interface driver smsc95xx
    [    1.167614] usbcore: registered new interface driver net1080
    [    1.173779] usbcore: registered new interface driver cdc_subset
    [    1.180253] usbcore: registered new interface driver zaurus
    [    1.186439] usbcore: registered new interface driver cdc_ncm
    [    1.193005] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.199924] ehci-pci: EHCI PCI platform driver
    [    1.204843] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.211444] usbcore: registered new interface driver cdc_wdm
    [    1.217679] usbcore: registered new interface driver usb-storage
    [    1.225283] mousedev: PS/2 mouse device common for all mice
    [    1.234562] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.243001] i2c /dev entries driver
    [    1.247338] Driver for 1-wire Dallas network protocol.
    [    1.255460] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.264887] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    1.272221] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    1.319875] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
    [    1.326960] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
    [    1.376021] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.382956] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    1.390265] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.401005] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.407104] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    1.414294] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    1.423190] usbcore: registered new interface driver usbhid
    [    1.429092] usbhid: USB HID core driver
    [    1.436117] oprofile: no performance counters
    [    1.441293] oprofile: using timer interrupt.
    [    1.445892] mmc1: BKOPS_EN bit is not set
    [    1.450576] TCP: cubic registered
    [    1.454091] Initializing XFRM netlink socket
    [    1.458627] NET: Registered protocol family 17
    [    1.463421] NET: Registered protocol family 15
    [    1.468187] 8021q: 802.1Q VLAN Support v1.8
    [    1.472862] Key type dns_resolver registered
    [    1.478200] cpu cpu0: cpu0 regulator not ready, retry
    [    1.483613] mmc1: new high speed MMC card at address 0001
    [    1.489775] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.498581] mmcblk0: mmc1:0001 MMC08G 7.31 GiB
    [    1.503659] mmcblk0boot0: mmc1:0001 MMC08G partition 1 2.00 MiB
    [    1.509959] ThumbEE CPU extension supported.
    [    1.514804] mmcblk0boot1: mmc1:0001 MMC08G partition 2 2.00 MiB
    [    1.525367]  mmcblk0: p1 p2
    [    1.532688]  mmcblk0boot1: unknown partition table
    [    1.538286] DCDC1: at 1500 mV
    [    1.543597]  mmcblk0boot0: unknown partition table
    [    1.549038] vdd_mpu: 925 <--> 1375 mV at 1100 mV
    [    1.555519] vdd_core: 925 <--> 1150 mV at 1100 mV
    [    1.561667] LDO1: at 1800 mV
    [    1.565849] LDO2: at 3300 mV
    [    1.570557] LDO3: 1800 mV
    [    1.574401] LDO4: at 3300 mV
    [    1.578362] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.585113] dummy 0-0034: Error -121 writing to cec:0xff
    [    1.590880] tda998x 0-0070: Error -121 reading from 0xa
    [    1.596474] tda998x 0-0070: Error -121 writing to 0xa
    [    1.659526] tda998x 0-0070: Error -121 reading from 0xa
    [    1.665104] tda998x 0-0070: Error -121 writing to 0xa
    [    1.729525] tda998x 0-0070: Error -121 reading from 0x1
    [    1.735100] tda998x 0-0070: Error -121 writing to 0x1
    [    1.740506] tda998x 0-0070: Error -121 reading from 0x1
    [    1.746074] tda998x 0-0070: Error -121 writing to 0x1
    [    1.751484] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    1.757610] tda998x 0-0070: Error -121 writing to 0x200
    [    1.763204] tda998x 0-0070: Error -121 writing to 0x201
    [    1.768781] tda998x 0-0070: Error -121 writing to 0x202
    [    1.774375] tda998x 0-0070: Error -121 writing to 0x203
    [    1.779969] tda998x 0-0070: Error -121 writing to 0x204
    [    1.785544] tda998x 0-0070: Error -121 writing to 0x205
    [    1.791137] tda998x 0-0070: Error -121 writing to 0x20e
    [    1.796713] tda998x 0-0070: Error -121 writing to 0x211
    [    1.802306] tda998x 0-0070: Error -121 writing to 0x207
    [    1.807882] tda998x 0-0070: Error -121 writing to 0x208
    [    1.813478] tda998x 0-0070: Error -121 writing to 0x209
    [    1.819053] tda998x 0-0070: Error -121 writing to 0x20a
    [    1.824645] tda998x 0-0070: Error -121 writing to 0x206
    [    1.830238] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    1.836362] tda998x 0-0070: Error -121 reading from 0x0
    [    1.841956] tda998x 0-0070: Error -121 reading from 0x2
    [    1.847823] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.854280] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.862608] cpufreq_cpu0: Bootloader freq 550000000Hz no match to table, Using 300000000Hz
    [    1.873949] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.959535] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.966087] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.973947] libphy: 4a101000.mdio: probed
    [    1.978264] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    1.988672] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.997283] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    2.006258] Detected MACID = 1c:ba:8c:b7:55:1d
    [    2.014287] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    2.023116] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    2.044955] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    2.052882] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    2.490711] EXT4-fs (mmcblk0p2): recovery complete
    [    2.502066] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.510870] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    2.526185] devtmpfs: mounted
    [    2.530824] Freeing unused kernel memory: 344K (c0753000 - c07a9000)
    [    2.791424] systemd[1]: systemd 196 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ; angstrom)

    Welcome to The Ångström Distribution!

    [    2.840223] systemd[1]: Failed to insert module 'autofs4'
    [    2.848038] systemd[1]: Set hostname to <beaglebone>.
    [    3.214615] systemd[1]: Expecting device dev-ttyO0.device...
             Expecting device dev-ttyO0.device...
    [    3.239886] systemd[1]: Expecting device dev-ttyGS0.device...
             Expecting device dev-ttyGS0.device...
    [    3.259814] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    3.268868] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.277318] systemd[1]: Starting Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.299882] systemd[1]: Listening on Syslog Socket.
    [    3.305315] systemd[1]: Starting Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.329756] systemd[1]: Reached target Remote File Systems.
    [    3.335916] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.359766] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.367380] systemd[1]: Starting Delayed Shutdown Socket.
    [  OK  ] Listening on Delayed Shutdown Socket.
    [    3.389763] systemd[1]: Listening on Delayed Shutdown Socket.
    [    3.396969] systemd[1]: Starting udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.419800] systemd[1]: Listening on udev Kernel Socket.
    [    3.426348] systemd[1]: Starting udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.449785] systemd[1]: Listening on udev Control Socket.
    [    3.456104] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [    3.465718] systemd[1]: Failed to open /dev/autofs: No such file or directory
    [    3.473467] systemd[1]: Failed to initialize automounter: No such file or directory
    [FAILED] Failed to set up automount Arbitrary Executable File...utomount Point.
    See 'systemctl status proc-sys-fs-binfmt_misc.automount' for details.
    [    3.519769] systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point.
    [    3.530879] systemd[1]: Unit proc-sys-fs-binfmt_misc.automount entered failed state
    [    3.539292] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    3.548454] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.557160] systemd[1]: Starting Swap.
    [  OK  ] Reached target Swap.
    [    3.579768] systemd[1]: Reached target Swap.
    [    3.584595] systemd[1]: Starting Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.609789] systemd[1]: Listening on Journal Socket.
    [    3.615355] systemd[1]: Starting Syslog.
    [  OK  ] Reached target Syslog.
    [    3.639755] systemd[1]: Reached target Syslog.
    [    3.644859] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [    3.673525] systemd[1]: Started Machine ID first boot configure.
    [    3.685638] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [    3.717260] systemd[1]: Started Journal Service.
    [    3.741744] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    3.788604] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    3.811870] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.865449] systemd[1]: Starting udev Kernel Device Manager...
             Starting udev Kernel Device Manager...
    [    3.990312] systemd[1]: Started Set Up Additional Binary Formats.
    [    3.997276] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.078655] systemd-udevd[784]: starting version 196
    [    4.119714] systemd[1]: Mounted Huge Pages File System.
    [    4.134847] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [  OK  ] Started udev Kernel Device Manager.
    [    4.270398] systemd[1]: Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
    [    4.329963] systemd[1]: Started Apply Kernel Variables.
    [  OK  ] Started File System Check on Root Device.
    [    4.380135] systemd[1]: Started File System Check on Root Device.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.419934] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [    4.441591] systemd[1]: Mounted Debug File System.
    [    4.447955] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [    4.549988] systemd[1]: Failed to start Load Kernel Modules.
    [    4.568568] systemd[1]: Unit systemd-modules-load.service entered failed state
    [    4.602751] systemd[1]: Mounted Configuration File System.
    [    4.628027] systemd[1]: Mounted FUSE Control File System.
    [    4.657311] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.915672] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /tmp...
             Starting Load Random Seed...
    [  OK  ] Mounted /tmp.
    [  OK  ] Reached target Local File Systems.
             Starting Recreate Volatile Files and Directories...
             Starting Trigger Flushing of Journal to Persistent Storage...
             Starting Run pending postinsts...
    [  OK  ] Started Load Random Seed.
    [  OK  ] Started Recreate Volatile Files and Directories.
    [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
    [    5.908941] systemd-journald[778]: Received SIGUSR1
    [    6.681876] systemd-journald[778]: File /var/log/journal/19c7941df9994294aadc4d64b81db0c8/system.journal corrupted or uncleanly shut down, renaming and replacing.
    [    6.702366] PM: request_firmware failed
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Found device /dev/ttyO0.
    systemd-fsck[776]: Angstrom: clean, 48944/475136 files, 328815/1897678 blocks

    And these are the steps with which to recompile the kernel

    #!/bin/bash

    comp="arm-linux-gnueabihf-"
    mod_path="/home/marco/ti-sdk-am335x-evm-07.00.00.00/targetNFS"
    var=$(date +d_%d_%m_%Y_t_%I_%M_%S)
    name=config_$var
    file_path="/home/marco/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01/.config"


    boot="/media/boot"
    fs_boot="/media/rootfs/boot"

    ### save file .config on my home directory
    touch $name.txt
    cat $file_path > $name.txt

    cd /home/marco/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01
    echo "Starting the new linux distribution process ......"
    #############################################
              make ARCH=arm CROSS_COMPILE=$comp distclean
    #############################################

    make ARCH=arm CROSS_COMPILE=$comp  omap2plus_defconfig
    make ARCH=arm CROSS_COMPILE=$comp  menuconfig # in file system place M instead of y
    make ARCH=arm CROSS_COMPILE=$comp  modules
    make ARCH=arm CROSS_COMPILE=$comp  INSTALL_MOD_PATH=$mod_path  modules_install


    make ARCH=arm CROSS_COMPILE=$comp  LOADADDR=0x82000000 uImage
    make ARCH=arm CROSS_COMPILE=$comp  am335x-boneblack.dtb

    echo "Prepare the sd card ..."
    cd /home/marco
    ./copyfs2sdcard.sh  # copy file system on the sd card


    sudo cp /home/marco/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01/arch/arm/boot/uImage $fs_boot
    sudo cp /home/marco/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01/arch/arm/boot/dts/am335x-boneblack.dtb $fs_boot

    Any help is highly appreciated

    Marco

  • Hi,

    [    2.840223] systemd[1]: Failed to insert module 'autofs4'

    The scripts expecting "auotfs" as a module,

    try to check the autofs4 support enabled in booted linux kernel(after enabled in menuconfig as '*')

    target# cat /proc/filesystem

    target# cat /proc/filesystems | grep autofs

    [    3.465718] systemd[1]: Failed to open /dev/autofs: No such file or directory

    Try to create "autofs" node manually through 'mknod' command,

    Ex:

    target# mknod /dev/autofs c 10 235

  • HI titus , Thanks a lot for your fast answer


    I tried to follow your tip. But , if i haven't misunderstood , in this way

    sudo mknod /media/rootfs/dev/autofs c 10 235

    from my host pc,while the sd.card is plugged.


    But, once i plug the sd card on the custom board , it give me the following boot messages

    �mmc_send_cmd : timeout: No status update
    reading u-boot.img
    reading u-boot.img


    U-Boot 2013.04-dirty (Jul 10 2013 - 14:02:53)

    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    gpio: pin 53 (gpio 53) value is 1
    mmc0 is current device
    miro SD card found
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    SD/MMC found on device 0
    reading uEnv.txt
    177 bytes read in 2 ms (85.9 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    gpio: pin 55 (gpio 55) value is 1
    4140088 bytes read in 483 ms (8.2 MiB/s)
    gpio: pin 56 (gpio 56) value is 1
    34352 bytes read in 17 ms (1.9 MiB/s)
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.12.10-ti2013.12.01
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4140024 Bytes = 3.9 MiB
       Load Address: 82000000
       Entry Point:  82000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       Loading Kernel Image ... OK
    OK
       Using Device Tree in place at 80f80000, end 80f8b62f

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.12.10-ti2013.12.01 (marco@host) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Mon Apr 14 10:55:42 CEST 2014
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] cma: CMA: reserved 24 MiB at 9e000000
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129280
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 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: 483288K/521216K available (5595K kernel code, 561K rwdata, 1884K rodata, 346K init, 230K bss, 37928K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 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 - 0xc075604c   (7481 kB)
    [    0.000000]       .init : 0xc0757000 - 0xc07ad940   ( 347 kB)
    [    0.000000]       .data : 0xc07ae000 - 0xc083a418   ( 562 kB)
    [    0.000000]        .bss : 0xc083a418 - 0xc0873e00   ( 231 kB)
    [    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] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000356] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
    [    0.059650] pid_max: default: 32768 minimum: 301
    [    0.059778] Security Framework initialized
    [    0.059838] Mount-cache hash table entries: 512
    [    0.069538] CPU: Testing write buffer coherency: ok
    [    0.070029] Setting up static identity map for 0xc057c428 - 0xc057c498
    [    0.071031] devtmpfs: initialized
    [    0.073354] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.138005] omap_hwmod: debugss: _wait_target_disable failed
    [    0.138810] pinctrl core: initialized pinctrl subsystem
    [    0.139883] regulator-dummy: no parameters
    [    0.142650] NET: Registered protocol family 16
    [    0.145428] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.148790] cpuidle: using governor ladder
    [    0.148810] cpuidle: using governor menu
    [    0.160193] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.161564] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.163066] OMAP GPIO hardware version 0.1
    [    0.173266] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.175707] DSS not supported on this SoC
    [    0.175727] No ATAGs?
    [    0.175741] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.207329] bio: create slab <bio-0> at 0
    [    0.226382] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.227378] vmmcsd_fixed: 3300 mV
    [    0.230959] vgaarb: loaded
    [    0.232550] SCSI subsystem initialized
    [    0.234249] usbcore: registered new interface driver usbfs
    [    0.234480] usbcore: registered new interface driver hub
    [    0.234731] usbcore: registered new device driver usb
    [    0.235869] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [    0.235904] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.236172] media: Linux media interface: v0.10
    [    0.236390] Linux video capture interface: v2.00
    [    0.236745] pps_core: LinuxPPS API ver. 1 registered
    [    0.236758] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.236937] PTP clock support registered
    [    0.240229] Switched to clocksource timer1
    [    0.264704] NET: Registered protocol family 2
    [    0.265453] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.265575] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.265642] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.265720] TCP: reno registered
    [    0.265738] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.265764] UDP-Lite hash table entries: 256 (ord: 0, 4096 bytes)
    [    0.266010] NET: Registered protocol family 1
    [    0.266462] RPC: Registered named UNIX socket transport module.
    [    0.266478] RPC: Registered udp transport module.
    [    0.266487] RPC: Registered tcp transport module.
    [    0.266496] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.267545] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.268234] PM: Loading am335x-pm-firmware.bin
    [    0.464131] VFS: Disk quotas dquot_6.5.2
    [    0.464220] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.464951] NFS: Registering the id_resolver key type
    [    0.465057] Key type id_resolver registered
    [    0.465069] Key type id_legacy registered
    [    0.465121] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.465864] msgmni has been set to 991
    [    0.467921] NET: Registered protocol family 38
    [    0.467968] io scheduler noop registered
    [    0.467980] io scheduler deadline registered
    [    0.468006] io scheduler cfq registered (default)
    [    0.470343] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.476653] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    0.478606] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.482022] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.084067] console [ttyO0] enabled
    [    1.089374] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.109257] brd: module loaded
    [    1.119222] loop: module loaded
    [    1.126588] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.137896] usbcore: registered new interface driver asix
    [    1.143895] usbcore: registered new interface driver ax88179_178a
    [    1.150578] usbcore: registered new interface driver cdc_ether
    [    1.156979] usbcore: registered new interface driver r815x
    [    1.162981] usbcore: registered new interface driver smsc95xx
    [    1.169277] usbcore: registered new interface driver net1080
    [    1.175437] usbcore: registered new interface driver cdc_subset
    [    1.181916] usbcore: registered new interface driver zaurus
    [    1.188113] usbcore: registered new interface driver cdc_ncm
    [    1.194682] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.201606] ehci-pci: EHCI PCI platform driver
    [    1.206541] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.213108] usbcore: registered new interface driver cdc_wdm
    [    1.219355] usbcore: registered new interface driver usb-storage
    [    1.226954] mousedev: PS/2 mouse device common for all mice
    [    1.236264] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.244725] i2c /dev entries driver
    [    1.249086] Driver for 1-wire Dallas network protocol.
    [    1.257197] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.266640] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    1.273975] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    1.320681] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
    [    1.327767] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
    [    1.376841] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.383758] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    1.391062] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.401797] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.407899] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    1.415096] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    1.424004] usbcore: registered new interface driver usbhid
    [    1.429904] usbhid: USB HID core driver
    [    1.436968] oprofile: no performance counters
    [    1.442146] oprofile: using timer interrupt.
    [    1.446741] mmc1: BKOPS_EN bit is not set
    [    1.451417] TCP: cubic registered
    [    1.454932] Initializing XFRM netlink socket
    [    1.459467] NET: Registered protocol family 17
    [    1.464259] NET: Registered protocol family 15
    [    1.469039] 8021q: 802.1Q VLAN Support v1.8
    [    1.473710] Key type dns_resolver registered
    [    1.479053] cpu cpu0: cpu0 regulator not ready, retry
    [    1.484460] mmc1: new high speed MMC card at address 0001
    [    1.490612] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.499426] mmcblk0: mmc1:0001 MMC08G 7.31 GiB
    [    1.504495] mmcblk0boot0: mmc1:0001 MMC08G partition 1 2.00 MiB
    [    1.510785] ThumbEE CPU extension supported.
    [    1.515649] mmcblk0boot1: mmc1:0001 MMC08G partition 2 2.00 MiB
    [    1.526204]  mmcblk0: p1 p2
    [    1.533516]  mmcblk0boot1: unknown partition table
    [    1.539117] DCDC1: at 1500 mV
    [    1.544448]  mmcblk0boot0: unknown partition table
    [    1.549897] vdd_mpu: 925 <--> 1375 mV at 1100 mV
    [    1.556392] vdd_core: 925 <--> 1150 mV at 1100 mV
    [    1.562550] LDO1: at 1800 mV
    [    1.566733] LDO2: at 3300 mV
    [    1.571457] LDO3: 1800 mV
    [    1.575319] LDO4: at 3300 mV
    [    1.579280] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.586017] dummy 0-0034: Error -121 writing to cec:0xff
    [    1.591779] tda998x 0-0070: Error -121 reading from 0xa
    [    1.597368] tda998x 0-0070: Error -121 writing to 0xa
    [    1.660323] tda998x 0-0070: Error -121 reading from 0xa
    [    1.665899] tda998x 0-0070: Error -121 writing to 0xa
    [    1.730320] tda998x 0-0070: Error -121 reading from 0x1
    [    1.735896] tda998x 0-0070: Error -121 writing to 0x1
    [    1.741304] tda998x 0-0070: Error -121 reading from 0x1
    [    1.746875] tda998x 0-0070: Error -121 writing to 0x1
    [    1.752290] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    1.758419] tda998x 0-0070: Error -121 writing to 0x200
    [    1.764014] tda998x 0-0070: Error -121 writing to 0x201
    [    1.769591] tda998x 0-0070: Error -121 writing to 0x202
    [    1.775187] tda998x 0-0070: Error -121 writing to 0x203
    [    1.780784] tda998x 0-0070: Error -121 writing to 0x204
    [    1.786362] tda998x 0-0070: Error -121 writing to 0x205
    [    1.791959] tda998x 0-0070: Error -121 writing to 0x20e
    [    1.797536] tda998x 0-0070: Error -121 writing to 0x211
    [    1.803129] tda998x 0-0070: Error -121 writing to 0x207
    [    1.808705] tda998x 0-0070: Error -121 writing to 0x208
    [    1.814302] tda998x 0-0070: Error -121 writing to 0x209
    [    1.819881] tda998x 0-0070: Error -121 writing to 0x20a
    [    1.825476] tda998x 0-0070: Error -121 writing to 0x206
    [    1.831071] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    1.837199] tda998x 0-0070: Error -121 reading from 0x0
    [    1.842794] tda998x 0-0070: Error -121 reading from 0x2
    [    1.848664] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.855112] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.863439] cpufreq_cpu0: Bootloader freq 550000000Hz no match to table, Using 30000000Hz
    [    1.874770] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.960331] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.966888] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.974726] libphy: 4a101000.mdio: probed
    [    1.979048] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    1.989470] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    1.998069] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    2.007047] Detected MACID = 1c:ba:8c:b7:55:1d
    [    2.015060] platform 4830e000.lcdc: Driver da8xx_lcdc requests probe deferral
    [    2.023902] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    2.045827] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    2.053735] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    5.960229] EXT4-fs (mmcblk0p2): recovery complete
    [    5.971761] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.980564] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    5.995800] devtmpfs: mounted
    [    6.000439] Freeing unused kernel memory: 344K (c0757000 - c07ad000)
    [    6.223639] systemd[1]: systemd 196 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ; angstrom)

    Welcome to The Ångström Distribution!

    [    6.272453] systemd[1]: Set hostname to <beaglebone>.
    [    6.656042] systemd[1]: Expecting device dev-ttyO0.device...
             Expecting device dev-ttyO0.device...
    [    6.680657] systemd[1]: Expecting device dev-ttyGS0.device...
             Expecting device dev-ttyGS0.device...
    [    6.700615] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    6.709664] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    6.718111] systemd[1]: Starting Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    6.740678] systemd[1]: Listening on Syslog Socket.
    [    6.746108] systemd[1]: Starting Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.770559] systemd[1]: Reached target Remote File Systems.
    [    6.776713] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.800563] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    6.808190] systemd[1]: Starting Delayed Shutdown Socket.
    [  OK  ] Listening on Delayed Shutdown Socket.
    [    6.830554] systemd[1]: Listening on Delayed Shutdown Socket.
    [    6.837750] systemd[1]: Starting udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.860588] systemd[1]: Listening on udev Kernel Socket.
    [    6.867123] systemd[1]: Starting udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.890580] systemd[1]: Listening on udev Control Socket.
    [    6.896886] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
    [    6.930600] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    6.940980] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    6.950098] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    6.958794] systemd[1]: Starting Swap.
    [  OK  ] Reached target Swap.
    [    6.980569] systemd[1]: Reached target Swap.
    [    6.985393] systemd[1]: Starting Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    7.010586] systemd[1]: Listening on Journal Socket.
    [    7.016147] systemd[1]: Starting Syslog.
    [  OK  ] Reached target Syslog.
    [    7.040553] systemd[1]: Reached target Syslog.
    [    7.045645] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [    7.074301] systemd[1]: Started Machine ID first boot configure.
    [    7.086386] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [  OK  ] Started Journal Service.[    7.119324] systemd[1]: Started Journal Service.

    [    7.135397] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    7.169571] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    7.182784] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    7.207738] systemd[1]: Starting udev Kernel Device Manager...
             Starting udev Kernel Device Manager...
    [    7.267998] systemd[1]: Started Set Up Additional Binary Formats.
    [    7.285372] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    7.340941] systemd[1]: Mounted Huge Pages File System.
    [    7.435278] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    7.496381] systemd-udevd[783]: starting version 196
    [  OK  ] Started udev Kernel Device Manag[    7.571026] systemd[1]: Started udev Kernel Device Manager.
    er.
    [  OK  ] Started Apply Kernel Variables.[    7.637565] systemd[1]: Started Apply Kernel Variables.

    [1;32m  OK  ] Started File System Check on Root Device.
    [    7.750744] systemd[1]: Started File System Check on Root Device.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    7.7708] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [    7.820695] systemd[1]: Mounted Debug File System.
    [    7.827090] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [    7.910772] systemd[1]: Failed to start Load Kernel Modules.
    [    7.916984] systemd[1]: Unit systemd-modules-load.service entered failed state
    [    7.945720] systemd[1]: Mounted Configuration File System.
    [    7.974918] systemd[1]: Mounted FUSE Control File System.
    [    7.990692] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    8.261290] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /tmp...
             Starting Load Random Seed...
    [  OK  ] Mounted /tmp.
    [  OK  ] Reached target Local File Systems.
             Starting Recreate Volatile Files and Directories...
             Starting Trigger Flushing of Journal to Persistent Storage...
    [  OK  ] Started Load Random Seed.
    [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
    [  OK  ] Started Recreate Volatile Files and Directories.
    [  OK  ] Reached target System Initialization.
             Starting Console System Startup Logging...
             Starting Restore Sound Card State...
    [  OK  ] Listening on bonescript.socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting xinetd.service...
             Starting Connection service...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Angstrom LED config...
    [  OK  ] Started Angstrom LED config.
             Starting Start usb mass storage gadget...
    [  OK  ] Started Start usb mass storage gadget.
             Starting Bonescript autorun...
    [  OK  ] Started Bonescript autorun.
             Starting Network Time Service (one-shot ntpdate mode)...
             Starting Cloud9 IDE...
    [  OK  ] Started Cloud9 IDE.
             Starting Music Player Daemon...
    [1;32m  OK  ] Started Music Player Daemon.
             Starting Login Service...
             Starting Kernel Logging Service...
    [  OK  ] Started Kernel Logging Service.
             Starting System Logging Service...
    [  OK  ] Started System Logging Service.
             Starting Permit User Sessions...
             Starting Periodic Command Scheduler...
    [  OK  ] Started Periodic Command Scheduler.
             Starting D-Bus System Message Bus...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Console System Startup Logging.
    [  OK  ] Started Restore Sound Card State.
    [  OK  ] Started xinetd.service.
    [  OK  ] Started Network Time Service (one-shot ntpdate mode).
    [  OK  ] Started Permit User Sessions.
             Starting Getty on tty1...
    [  OK  ] Started Getty on tty1.
             Starting Gnome Display Manager...
    [  OK  ] Started Gnome Display Manager.
    [   11.433035] PM: request_firmware failed
    [   12.095574] systemd-journald[779]: Received SIGUSR1
    [  OK  ] Found device /dev/ttyO0.
             Starting Serial Getty on ttyO0...
    [  OK  ] Started Serial Getty on ttyO0.
    [   13.323608] systemd-journald[779]: File /var/log/journal/19c7941df9994294aadc4d64b81db0c8/system.journal corrupted or uncleanly shut down, renaming and replacing.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Connection service.
    [  OK  ] Started Login Service.

    .---O---.                                           
    |       |                  .-.           o o        
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution beaglebone ttyO0

    Angstrom v2012.12 - Kernel 3.12.10-ti2013.12.01

    beaglebone login:          Starting WPA supplicant...
    [   19.256745] net eth0: initializing cpsw version 1.12 (0)
    [  OK  ] Started WPA supplicant.
    [   19.310948] net eth0: phy found : id is : 0x7c0f1
    [   19.350468] 8021q: adding VLAN 0 to HW filter on device eth0
    systemd-fsck[777]: Angstrom: clean, 49217/475136 files, 332095/1897678 blocks
    [ TIME ] Timed out waiting for device dev-ttyGS0.device.
    [DEPEND] Dependency failed for Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Reached target Multi-User.
    [  OK  ] Reached target Graphical Interface.

    the problem has not disappeared :( but now the autofs4 module seems to be ok. (i have type "y" in menuconfig for that filesystem option ). 


    I'm going to keep digging around

  • Hi,


    The Angstrom Distribution beaglebone ttyO0

    Angstrom v2012.12 - Kernel 3.12.10-ti2013.12.01

    beaglebone login:

    the problem has not disappeared

    Give "root" as login name & wont prompt for password at all,

    Currently What is your problem now?

    Still, Not  able to get terminal or shell?

  • Hi titus,

    In my opinion the problem exists. If I put the same SD card on a standard beagleboneblack , the boot message clearly shows the '"Arago project" instead of "angstrom" one. Therefore, there must be something wrong somewhere. Since I have re -compiled all with the goal of obtaining a distribution based on arago project.


    In my design , i haven't  got the I2C eeprom on the board.

    do you think that might be a problem?

    Thanks a lot for the support

    Marco

  • Hi Marco,

    does you board have emmc ?
    Is it booting from emmc ?

    Just for checking remove SD Card and boot your board.

    Regards,
    Ankur

  • Hi,

    Check your filesystem version in SD card ("rootfs" ) partition.

    cat /media/rootfs/etc/issue

    cat /media/rootfs/etc/version

    Ex:

    NFS

    titus@titus-desktop:/usr/local/filesystem_omapl138/etc$
    titus@titus-desktop:/usr/local/filesystem_omapl138/etc$
    titus@titus-desktop:/usr/local/filesystem_omapl138/etc$ cat issue
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org \n \l

    Arago 2010.07 \n \l

    titus@titus-desktop:/usr/local/filesystem_omapl138/etc$ cat version
    Arago 2010.07
    titus@titus-desktop:/usr/local/filesystem_omapl138/etc$

  • Hi all ! :)

    For Titus , I followed your tips and i got this

    marco@host:~$ cat /media/rootfs/etc/issue
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org \n \l

    Arago 2013.12 \n \l

    and

    marco@host:~$ cat /media/rootfs/etc/version
    201403302039

    For Ankur,

    Yes I have an eMMC on board. The custom board is strongly based on the beaglebone black design. The "only" differences (as said to me the senior engineer) involves in

    - different micro : AM3352 instead of AM3359

    - no I2C

    - no HDMI chip.

    - both usb port configured in host mode (by ID pin)

    and other simple electrical changes. That's all the differences

    The first time i've booted the custom board, I saw the "CCCCC" message from UART0 port.

    In first instance, i've plugged the same SD-card used for beglebone black (with Angstrom distribution) ... and board boots up!

    Subsequently, i've tried to "flash" the eMMC on board in the same way as suggested for the beaglebone black:

    1) plug the sdcard (the same one)  while the power is down . 

    2) keep pushed the boot button while the power is down . 

    3) apply power and, after a few seconds, release the button and the write process on the eMMc begins.

    It takes some time but it seems to be successful.

    When i remove the SD, and apply power i got these messages

    mmc_send_cmd : timeout: No status update
    reading u-boot.img
    reading u-boot.img


    U-Boot 2013.04-dirty (Jul 10 2013 - 14:02:53)

    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    gpio: pin 53 (gpio 53) value is 1
    mmc_send_cmd : timeout: No status update
    Card did not respond to voltage select!
    mmc0(part 0) is current device
    Card did not respond to voltage select!
    No micro SD card found, setting mmcdev to 1
    mmc_send_cmd : timeout: No status update
    mmc1(part 0) is current device
    mmc_send_cmd : timeout: No status update
    gpio: pin 54 (gpio 54) value is 1
    SD/MMC found on device 1
    reading uEnv.txt
    26 bytes read in 2 ms (12.7 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    gpio: pin 55 (gpio 55) value is 1
    4385024 bytes read in 770 ms (5.4 MiB/s)
    gpio: pin 56 (gpio 56) value is 1
    24808 bytes read in 55 ms (440.4 KiB/s)
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Angstrom/3.8.13/beaglebone
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4384960 Bytes = 4.2 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       XIP Kernel Image ... OK
    OK
       Using Device Tree in place at 80f80000, end 80f890e7

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.196285] omap2_mbox_probe: platform not supported
    [    0.206862] tps65217-bl tps65217-bl: no platform data provided
    [    0.283443] bone-capemgr bone_capemgr.8: slot #0: No cape found
    [    0.320550] bone-capemgr bone_capemgr.8: slot #1: No cape found
    [    0.357660] bone-capemgr bone_capemgr.8: slot #2: No cape found
    [    0.394769] bone-capemgr bone_capemgr.8: slot #3: No cape found
    [    0.414515] bone-capemgr bone_capemgr.8: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
    [    0.424121] bone-capemgr bone_capemgr.8: slot #6: Failed verification
    [    0.444567] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed
    [    0.451856] bone-capemgr bone_capemgr.8: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    0.518325] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7
    [    0.530063] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22
    [    0.537387] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
    [    0.571751] dummy 0-0034: Error -121 writing to cec:0xff
    [    0.577539] tda998x 0-0070: Error -121 reading from 0xa
    [    0.583187] tda998x 0-0070: Error -121 writing to 0xa
    [    0.640961] tda998x 0-0070: Error -121 reading from 0xa
    [    0.646551] tda998x 0-0070: Error -121 writing to 0xa
    [    0.703446] tda998x 0-0070: Error -121 reading from 0x1
    [    0.709015] tda998x 0-0070: Error -121 writing to 0x1
    [    0.714401] tda998x 0-0070: Error -121 reading from 0x1
    [    0.719971] tda998x 0-0070: Error -121 writing to 0x1
    [    0.725437] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    0.731553] tda998x 0-0070: Error -121 writing to 0x200
    [    0.737119] tda998x 0-0070: Error -121 writing to 0x201
    [    0.742691] tda998x 0-0070: Error -121 writing to 0x202
    [    0.748286] tda998x 0-0070: Error -121 writing to 0x203
    [    0.753850] tda998x 0-0070: Error -121 writing to 0x204
    [    0.759415] tda998x 0-0070: Error -121 writing to 0x205
    [    0.764980] tda998x 0-0070: Error -121 writing to 0x20e
    [    0.770547] tda998x 0-0070: Error -121 writing to 0x211
    [    0.776113] tda998x 0-0070: Error -121 writing to 0x207
    [    0.781699] tda998x 0-0070: Error -121 writing to 0x208
    [    0.787267] tda998x 0-0070: Error -121 writing to 0x209
    [    0.792834] tda998x 0-0070: Error -121 writing to 0x20a
    [    0.798401] tda998x 0-0070: Error -121 writing to 0x206
    [    0.803985] tda998x 0-0070: Error -121 writing to REG_CURPAGE
    [    0.810112] tda998x 0-0070: Error -121 reading from 0x0
    [    0.815680] tda998x 0-0070: Error -121 reading from 0x2
    [    0.821547] tilcdc 4830e000.fb: no encoders/connectors found
    [    0.827503] tilcdc 4830e000.fb: failed to initialize mode setting
    [   10.843584] libphy: PHY 4a101000.mdio:01 not found
    [   10.848627] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [   16.171222] systemd-udevd[90]: worker [156] terminated by signal 11 (Segmentation fault)
    [   16.334609] systemd-udevd[90]: worker [156] failed while handling '/devices/ocp.2/47400000.usb/musb-hdrc.0.auto/gadget/net/usb0'

    .---O---.                                           
    |       |                  .-.           o o        
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution beaglebone ttyO0

    Angstrom v2012.12 - Kernel 3.8.13

    ok, the system seems to work, but I prefer to avoid using the Angstrom. On bbblack it gave me quite a few reliability problems. I'd rather use the new version of the SDK or the yocto. Note that both the Arago distribution and the Yocto (poky) works good on the bbb.

    I still do not understand the problem on the boot stage :(

    Thanks a lot for the support

    Best regards

    Marco


     

  • Hi Ankur,

    Good point.

    Hi Marco,

    Yes I have an eMMC on board. The custom board is strongly based on the beaglebone black design. The "only" differences (as said to me the senior engineer) involves in

    I don't know about eMMC interface ( hope it also provide MMC/SD like /dev/mmcbl0p2 (replacement for NAND))

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait

    " root=/dev/mmcblk0p2 "  This partition may be comes from eMMC or MMC/SD

    It could mount on eMMC partition instead external MMC/SD card,

    To confirm whether the board is mounting on eMMC or MMC/SD,

    Create one "test.txt" file in MMC partition and boot then test the file "test.txt" exists.

    Ex:

    root@host:~/media/rootfs/# touch test.txt

    root@host:~/media/rootfs/#  echo "Arago filesystem"  >> test.txt

  • Hi all,

    You're right. I apologize , I have not been precise in giving information. Forgive me.


    Titus, I've done what you suggested. It seems that the board is mounting the file system from the eMMC instead of the one on  the SD card.  Interesting...

  • Hi Marco,

    Nice to hear this news from you.

    Compliments goes to Ankur.

  • yes :)

    I try to briefly summarize the "picture", in order to solve the problem:

    1) the board start with the u-boot.img present the sd card . ( /media/boot) it seems to be ok

    2) the kernel (on the sd card) is loaded properly by the bootloader. (/media/boot) it seems to be ok

    3) file system is mounted from the eMMc instead of the /media/rootfs folder.

    but the problem is still not solved at point 3)

  • Hi All,


    as shown in boot message

    "mmc0 is current device" i'm using a 8GB sd card . do you think that could be a problem?

    Thanks in advice to you all.

    Marco

  • Hi,

    [    1.473710] Key type dns_resolver registered
    [    1.479053] cpu cpu0: cpu0 regulator not ready, retry
    [    1.484460] mmc1: new high speed MMC card at address 0001
    [    1.490612] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.499426] mmcblk0: mmc1:0001 MMC08G 7.31 GiB
    [    1.504495] mmcblk0boot0: mmc1:0001 MMC08G partition 1 2.00 MiB
    [    1.510785] ThumbEE CPU extension supported.
    [    1.515649] mmcblk0boot1: mmc1:0001 MMC08G partition 2 2.00 MiB
    [    1.526204]  mmcblk0: p1 p2
    [    1.533516]  mmcblk0boot1: unknown partition table
    [    1.539117] DCDC1: at 1500 mV
    [    1.544448]  mmcblk0boot0: unknown partition table
    [    1.549897] vdd_mpu: 925 <--> 1375 mV at 1100 mV
    [    1.556392] vdd_core: 925 <--> 1150 mV at 1100 mV
    [    1.562550] LDO1: at 1800 mV[

    As per your bootup logs,

    You have only one MMC interface and also do not know whether this is MMC or eMMC.

    In your custom board, If you have MMC as well eMMC then it should display all the drivers information right !

    You need to modify the bootargs to mount on MMC interface.

  • Hi Titus :)

    Now i understand the problem, even though somethings was not entirely clear. 

    Thanks a lot for your precious support. I'll try to follow your tips and give you some feedback asap :)

    Best regards

    Marco

  • Hi Marco/Titus,

    Sorry i couldnt follow this question, i was bit busy,
    And Titus was right there so there was no worries!!
    Glad that it is solved.

    I had faced similar problem, where i was trying to boot the ubuntu from SD card but sd card was not properly flahsed so board was booting Angstrom from eMMC.

    but i am waiting for Marco's feedback to know how it is solved. :-)

    Thank you,

    Regards,
    Ankur

  • Hi Titus/Ankur

    I have some good news :)

    After an exhausting search, I solved the problem. A 0 ohm resistor connected to pin MMC_CD SD-card was not mounted on the board. It appears that in some cases it was not able to detect the presence of the latter. The thing that I think is very strange is that the bootloader recognized well the sd card (MLO and uboot in fact was correct), but the kernel 3.12 once loaded into RAM, it was no longer able to recognize the SD card driver. Therefore, at the moment I have two custom distributions that work: arago of TISDK and poky yocto the project, which I had built for comparison. One other thing that I find very strange is that the distribution angstroms for BeagleBone black (kernel 3.8) had no problem to detect the presence of the SD card when loading the kernel. wtf?!

    I thank the availability and expertise. You have been very valuable.

    Thank you very much :)

    One last question, I don't know if this is the right place to talk about it, but I would like to know what exactly is the script

    oe- layertool - setup.sh

    it needs to make the linux ezsdk compatible with the development of meta- arago or yocto ?

    Thanks again

    Marco

     

     

  • Hi Marco,

    Glad to hear this news from you,

    Thanks for your update.


    One last question, I don't know if this is the right place to talk about it, but I would like to know what exactly is the script

    oe- layertool - setup.sh

    it needs to make the linux ezsdk compatible with the development of meta- arago or yocto ?

    Sorry, I don't know about this.

    Create new post for this & you will get answer definitely.