Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Oct 2016 02:29 PM by  Adam Ford
Linux 3.14+ and Device-Tree for DM3730 Torpedo + Wireless SOM
 66 Replies
Sort:
You are not authorized to post a reply.
Page 3 of 4 << < 1234 > >>
Author Messages
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
02 Jun 2016 08:57 AM
We have an internal document that is under review. My colleague indicated his review should be done by the end of tomorrow. I should be able to e-mail you a draft of the document when he is complete. We have a buildroot defconfig, kernel defconfig and some build instructions.

I have noticed that the buildroot version of the device tree and kernel comes in larger than building them manually, but I don't know why that is the case.

adam
Harold
New Member
New Member
Posts:9


--
03 Jun 2016 12:51 AM

Hi Adam 

If you could send that draft document to headfoneguy@gmail.com I would really appreciate it .

I rebuilt a clean kernel with ext4 instead of ubifs and managed to get a bit further but I get a devtmpfs: error mounting -2 kernel panic.

This could this be due to ssd partitioning or something more serious I'm not sure.

I made two partitions 1 is 500mb fat32 with boot set and 2 is the rest of the card ext4 consiting of:

1 with MLO DTB U-BOOT & ZImage

2 with rootfs.ext4  > rootfs.ext2

            rootfs.ext2

Does this seem concurrent with your partitioning?

 

Cheers H



Kernel Boot Log:


OMAP Logic # run mmcbootz
Booting with DT from mmc0 ...
Bootargs:
console=ttyO0,115200n8 ignore_loglevel early_printk no_console_suspend root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait display=15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:1800k(u-boot),410k(u-boot-env),5m(kernel),256m(fs),-(data)
reading zImage
5024128 bytes read in 309 ms (15.5 MiB/s)
reading logicpd-torpedo-37xx-devkit.dtb
66387 bytes read in 10 ms (6.3 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x4ca980 ]
## Flattened Device Tree blob at 86000000
   Booting using the fdt blob at 0x86000000
   Loading Device Tree to 8ef25000, end 8ef38352 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-rc5 (sosld@sosld-vm) (gcc version 5.3.0 (Buildroot 2016.02) ) #1 SMP Thu Jun 2 19:23:38 AEST 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LogicPD Zoom DM3730 Torpedo Development Kit
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] cma: Reserved 16 MiB at 0x8d800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65024
[    0.000000] free_area_init_node: node 0, pgdat c0cbaa80, node_mem_map cfbb1000
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] PERCPU: Embedded 14 pages/cpu @cfb35000 s24832 r8192 d24320 u57344
[    0.000000] pcpu-alloc: s24832 r8192 d24320 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64448
[    0.000000] Kernel command line: console=ttyO0,115200n8 ignore_loglevel early_printk no_console_suspend root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait display=15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:1800k(u-boot),410k(u-boot-env),5m(kernel),256m(fs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 220408K/260096K available (7346K kernel code, 771K rwdata, 2284K rodata, 1024K init, 8123K bss, 23304K reserved, 16384K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0a67a10   (10623 kB)
[    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
[    0.000000]       .data : 0xc0c00000 - 0xc0cc0c14   ( 772 kB)
[    0.000000]        .bss : 0xc0cc3000 - 0xc14b1f48   (8124 kB)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.001739] Console: colour dummy device 80x30
[    0.001831] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.001831] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.001861] ... MAX_LOCK_DEPTH:          48
[    0.001861] ... MAX_LOCKDEP_KEYS:        8191
[    0.001861] ... CLASSHASH_SIZE:          4096
[    0.001892] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.001892] ... MAX_LOCKDEP_CHAINS:      65536
[    0.001922] ... CHAINHASH_SIZE:          32768
[    0.001922]  memory used by lock dependency info: 5167 kB
[    0.001922]  per task-struct memory footprint: 1536 bytes
[    0.001983] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696)
[    0.106201] pid_max: default: 32768 minimum: 301
[    0.106811] Security Framework initialized
[    0.107025] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.107025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.111938] CPU: Testing write buffer coherency: ok
[    0.114318] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.114471] Setting up static identity map for 0x80100000 - 0x80100070
[    0.120025] Brought up 1 CPUs
[    0.120025] SMP: Total of 1 processors activated (594.73 BogoMIPS).
[    0.120056] CPU: All CPU(s) started in SVC mode.
[    0.125640] devtmpfs: initialized
[    0.244018] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.245330] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.247680] pinctrl core: initialized pinctrl subsystem
[    0.255218] NET: Registered protocol family 16
[    0.264465] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.352386] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp
[    0.354858] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp
[    0.468994] cpuidle: using governor menu
[    0.469879] Reprogramming SDRC clock to 400000000 Hz
[    0.485900] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio
[    0.488159] OMAP GPIO hardware version 2.5
[    0.490264] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio
[    0.493621] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio
[    0.497131] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio
[    0.500518] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio
[    0.503845] gpiochip_add_data: registered GPIOs 160 to 191 on device: gpio
[    0.505981] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.506958] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.516723] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.518737] irq: no irq domain found for /ocp/pinmux@480025a0 !
[    0.537719] omap-gpmc 6e000000.gpmc: GPMC revision 5.0
[    0.538024] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.542785] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi'
[    0.554351] No ATAGs?
[    0.554382] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.555999] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.556030] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.558044] OMAP DMA hardware revision 5.0
[    0.610412] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver
[    0.612884] of_get_named_gpiod_flags: parsed 'gpio' property of node '/wl12xx_vmmc[0]' - status (0)
[    0.614318] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vddvario[0]'
[    0.615447] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vdd33a[0]'
[    0.622070] SCSI subsystem initialized
[    0.623077] libata version 3.00 loaded.
[    0.628051] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz
[    0.630126] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz
[    0.632354] omap_i2c 48060000.i2c: bus 2 rev4.4 at 400 kHz
[    0.633026] pps_core: LinuxPPS API ver. 1 registered
[    0.633056] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[    0.633117] PTP clock support registered
[    0.639190] clocksource: Switched to clocksource 32k_counter
[    0.815338] VFS: Disk quotas dquot_6.6.0
[    0.815612] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.864318] NET: Registered protocol family 2
[    0.867095] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.867187] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[    0.868194] TCP: Hash tables configured (established 2048 bind 2048)
[    0.868469] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    0.868743] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    0.870239] NET: Registered protocol family 1
[    0.872619] RPC: Registered named UNIX socket transport module.
[    0.872650] RPC: Registered udp transport module.
[    0.872680] RPC: Registered tcp transport module.
[    0.872680] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.879699] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.887878] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.888214] audit: initializing netlink subsys (disabled)
[    0.888488] audit: type=2000 audit(0.870:1): initialized
[    0.898864] NFS: Registering the id_resolver key type
[    0.899688] Key type id_resolver registered
[    0.899719] Key type id_legacy registered
[    0.899993] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907714] io scheduler noop registered
[    0.907745] io scheduler deadline registered
[    0.907836] io scheduler cfq registered (default)
[    0.911743] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568
[    0.912536] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92
[    0.913726] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92
[    0.921722] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.931274] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]'
[    0.931945] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.845367] console [ttyO0] enabled
[    1.851867] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]'
[    1.862365] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    1.873992] omap_uart 49020000.serial: no wakeirq for uart2
[    1.879974] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]'
[    1.890411] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    1.902282] omap_uart 49042000.serial: no wakeirq for uart3
[    1.908172] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]'
[    1.918609] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3
[    1.982879] brd: module loaded
[    2.019439] loop: module loaded
[    2.048126] twl 0-0048: PIH (irq 23) chaining IRQs 340..348
[    2.054626] twl 0-0048: power (irq 345) chaining IRQs 348..355
[    2.123504] twl4030_gpio twl4030-gpio: gpio (irq 340) chaining IRQs 356..373
[    2.131561] gpiochip_find_base: found new base at 492
[    2.137512] gpiochip_add_data: registered GPIOs 492 to 511 on device: twl4030
[    2.219909] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.229217] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xbc
[    2.235931] nand: Micron MT29F4G16ABBDA3W
[    2.240203] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.248199] nand: using OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
[    2.256591] 5 cmdlinepart partitions found on MTD device omap2-nand.0
[    2.263488] Creating 5 MTD partitions on "omap2-nand.0":
[    2.269134] 0x000000000000-0x0000001c2000 : "u-boot"
[    2.274383] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    2.292999] 0x0000001c2000-0x000000228800 : "u-boot-env"
[    2.298614] mtd: partition "u-boot-env" doesn't start on an erase block boundary -- force read-only
[    2.314178] 0x000000228800-0x000000728800 : "kernel"
[    2.319549] mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
[    2.338562] 0x000000728800-0x000010728800 : "fs"
[    2.343536] mtd: partition "fs" doesn't start on an erase block boundary -- force read-only
[    2.579956] 0x000010728800-0x000020000000 : "data"
[    2.585021] mtd: partition "data" doesn't start on an erase block boundary -- force read-only
[    2.839538] mousedev: PS/2 mouse device common for all mice
[    2.845458] i2c /dev entries driver
[    2.855102] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
[    2.861663] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[    2.868621] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
[    2.879180] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.884094] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
[    2.890472] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[    2.897369] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
[    2.907043] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
[    2.916625] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
[    2.923950] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
[    2.970428] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
[    2.976806] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[    2.983795] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
[    2.993469] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
[    3.003082] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[    3.010192] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
[    3.016357] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
[    3.022735] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[    3.029663] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
[    3.039367] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
[    3.048919] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[    3.056030] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
[    3.100067] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
[    3.106445] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
[    3.113433] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
[    3.123138] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
[    3.132720] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
[    3.139831] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
[    3.147155] vwl1271: supplied by VMMC2
[    3.239318] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.251434] mmc0: new high speed SDHC card at address aaaa
[    3.261993] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    3.280212] ledtrig-cpu: registered to indicate activity on CPUs
[    3.288940] oprofile: using arm/armv7
[    3.293914] Initializing XFRM netlink socket
[    3.298950] NET: Registered protocol family 10
[    3.306213]  mmcblk0: p1 p2
[    3.316497] sit: IPv6 over IPv4 tunneling driver
[    3.324829] NET: Registered protocol family 17
[    3.329772] NET: Registered protocol family 15
[    3.334991] Key type dns_resolver registered
[    3.340118] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[    3.347747] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    3.353942] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    3.361328] omap2_set_init_voltage: unable to set vdd_core
[    3.372558] ThumbEE CPU extension supported.
[    3.377136] Registering SWP/SWPB emulation handler
[    3.382324] SmartReflex Class3 initialized
[    3.393371] omap_hsmmc 480ad000.mmc: card claims to support voltages below defined range
[    3.409637] hctosys: unable to open rtc device (rtc0)
[    3.415008] sr_init: No PMIC hook to init smartreflex
[    3.421051] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    3.430450] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    3.525695] VAUX3: disabling
[    3.530487] VDAC: disabling
[    3.534515] VUSB1V5: disabling
[    3.538818] VUSB1V8: disabling
[    3.543243] VUSB3V1: disabling
[    3.566070] mmc2: new high speed SDIO card at address 0001
[    3.596801] EXT4-fs (mmcblk0p2): recovery complete
[    3.602844] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.611663] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.623748] devtmpfs: error mounting -2
[    3.631347] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
[    3.639739] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[    3.653747] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Harold
New Member
New Member
Posts:9


--
03 Jun 2016 12:56 AM

I also tried with exact bootargs as you specified and got a similar error.

kernel boot log:

OMAP Logic # run mmcbootz
Booting with DT from mmc0 ...
Bootargs:
console=ttyO0,115200n8 ignore_loglevel early_printk no_console_suspend root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait display=15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:512k(MLO),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)
reading zImage
5024128 bytes read in 308 ms (15.6 MiB/s)
reading logicpd-torpedo-37xx-devkit.dtb
66387 bytes read in 10 ms (6.3 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x4ca980 ]
## Flattened Device Tree blob at 86000000
   Booting using the fdt blob at 0x86000000
   Loading Device Tree to 8ef25000, end 8ef38352 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-rc5 (sosld@sosld-vm) (gcc version 5.3.0 (Buildroot 2016.02) ) #1 SMP Thu Jun 2 19:23:38 AEST 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LogicPD Zoom DM3730 Torpedo Development Kit
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] cma: Reserved 16 MiB at 0x8d800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65024
[    0.000000] free_area_init_node: node 0, pgdat c0cbaa80, node_mem_map cfbb1000
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65024 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] PERCPU: Embedded 14 pages/cpu @cfb35000 s24832 r8192 d24320 u57344
[    0.000000] pcpu-alloc: s24832 r8192 d24320 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64448
[    0.000000] Kernel command line: console=ttyO0,115200n8 ignore_loglevel early_printk no_console_suspend root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait display=15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:512k(MLO),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 220408K/260096K available (7346K kernel code, 771K rwdata, 2284K rodata, 1024K init, 8123K bss, 23304K reserved, 16384K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0a67a10   (10623 kB)
[    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
[    0.000000]       .data : 0xc0c00000 - 0xc0cc0c14   ( 772 kB)
[    0.000000]        .bss : 0xc0cc3000 - 0xc14b1f48   (8124 kB)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.001739] Console: colour dummy device 80x30
[    0.001800] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.001831] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.001831] ... MAX_LOCK_DEPTH:          48
[    0.001861] ... MAX_LOCKDEP_KEYS:        8191
[    0.001861] ... CLASSHASH_SIZE:          4096
[    0.001861] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.001892] ... MAX_LOCKDEP_CHAINS:      65536
[    0.001892] ... CHAINHASH_SIZE:          32768
[    0.001922]  memory used by lock dependency info: 5167 kB
[    0.001922]  per task-struct memory footprint: 1536 bytes
[    0.001953] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696)
[    0.106201] pid_max: default: 32768 minimum: 301
[    0.106811] Security Framework initialized
[    0.107025] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.107025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.111938] CPU: Testing write buffer coherency: ok
[    0.114349] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.114471] Setting up static identity map for 0x80100000 - 0x80100070
[    0.120025] Brought up 1 CPUs
[    0.120056] SMP: Total of 1 processors activated (594.73 BogoMIPS).
[    0.120056] CPU: All CPU(s) started in SVC mode.
[    0.125640] devtmpfs: initialized
[    0.244323] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.245635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.247894] pinctrl core: initialized pinctrl subsystem
[    0.255432] NET: Registered protocol family 16
[    0.264709] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.352783] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp
[    0.355255] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp
[    0.469329] cpuidle: using governor menu
[    0.470214] Reprogramming SDRC clock to 400000000 Hz
[    0.486236] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio
[    0.488494] OMAP GPIO hardware version 2.5
[    0.490600] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio
[    0.493957] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio
[    0.497436] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio
[    0.500823] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio
[    0.504150] gpiochip_add_data: registered GPIOs 160 to 191 on device: gpio
[    0.506256] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.507263] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.516998] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 !
[    0.519042] irq: no irq domain found for /ocp/pinmux@480025a0 !
[    0.537994] omap-gpmc 6e000000.gpmc: GPMC revision 5.0
[    0.538269] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.543029] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi'
[    0.554626] No ATAGs?
[    0.554656] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.556243] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.556304] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.558319] OMAP DMA hardware revision 5.0
[    0.610717] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver
[    0.613159] of_get_named_gpiod_flags: parsed 'gpio' property of node '/wl12xx_vmmc[0]' - status (0)
[    0.614593] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vddvario[0]'
[    0.615753] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-vdd33a[0]'
[    0.622436] SCSI subsystem initialized
[    0.623474] libata version 3.00 loaded.
[    0.628448] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz
[    0.630462] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz
[    0.632720] omap_i2c 48060000.i2c: bus 2 rev4.4 at 400 kHz
[    0.633392] pps_core: LinuxPPS API ver. 1 registered
[    0.633422] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[    0.633483] PTP clock support registered
[    0.639526] clocksource: Switched to clocksource 32k_counter
[    0.815704] VFS: Disk quotas dquot_6.6.0
[    0.815979] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.864654] NET: Registered protocol family 2
[    0.867462] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.867553] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[    0.868560] TCP: Hash tables configured (established 2048 bind 2048)
[    0.868835] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    0.869110] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    0.870605] NET: Registered protocol family 1
[    0.872955] RPC: Registered named UNIX socket transport module.
[    0.872985] RPC: Registered udp transport module.
[    0.873016] RPC: Registered tcp transport module.
[    0.873046] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.880065] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.888214] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.888549] audit: initializing netlink subsys (disabled)
[    0.888824] audit: type=2000 audit(0.870:1): initialized
[    0.899230] NFS: Registering the id_resolver key type
[    0.900024] Key type id_resolver registered
[    0.900054] Key type id_legacy registered
[    0.900299] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.908050] io scheduler noop registered
[    0.908111] io scheduler deadline registered
[    0.908172] io scheduler cfq registered (default)
[    0.912139] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568
[    0.912902] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92
[    0.914123] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92
[    0.922119] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.931640] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806a000[0]'
[    0.932312] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.845611] console [ttyO0] enabled
[    1.852142] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@4806c000[0]'
[    1.862670] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    1.874298] omap_uart 49020000.serial: no wakeirq for uart2
[    1.880279] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49020000[0]'
[    1.890686] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    1.902557] omap_uart 49042000.serial: no wakeirq for uart3
[    1.908447] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@49042000[0]'
[    1.918884] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3
[    1.982574] brd: module loaded
[    2.019622] loop: module loaded
[    2.048492] twl 0-0048: PIH (irq 23) chaining IRQs 340..348
[    2.055023] twl 0-0048: power (irq 345) chaining IRQs 348..355
[    2.123809] twl4030_gpio twl4030-gpio: gpio (irq 340) chaining IRQs 356..373
[    2.131896] gpiochip_find_base: found new base at 492
[    2.137817] gpiochip_add_data: registered GPIOs 492 to 511 on device: twl4030
[    2.220428] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.229736] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xbc
[    2.236450] nand: Micron MT29F4G16ABBDA3W
[    2.240722] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.248718] nand: using OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
[    2.257110] 5 cmdlinepart partitions found on MTD device omap2-nand.0
[    2.264007] Creating 5 MTD partitions on "omap2-nand.0":
[    2.269653] 0x000000000000-0x000000080000 : "MLO"
[    2.283843] 0x000000080000-0x000000260000 : "u-boot"
[    2.296234] 0x000000260000-0x000000280000 : "u-boot-env"
[    2.307495] 0x000000280000-0x000000680000 : "kernel"
[    2.321685] 0x000000680000-0x000020000000 : "fs"
[    2.794799] mousedev: PS/2 mouse device common for all mice
[    2.800842] i2c /dev entries driver
[    2.810729] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
[    2.817077] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[    2.824157] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
[    2.834716] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.839630] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
[    2.845977] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[    2.852935] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
[    2.862609] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
[    2.872192] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
[    2.879547] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
[    2.930755] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
[    2.937133] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[    2.944122] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
[    2.953826] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
[    2.963409] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[    2.970520] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
[    2.976684] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
[    2.983062] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[    2.989990] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
[    2.999664] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
[    3.009216] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[    3.016326] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
[    3.060394] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
[    3.066772] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
[    3.073791] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
[    3.083465] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
[    3.093048] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
[    3.100158] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
[    3.107482] vwl1271: supplied by VMMC2
[    3.199707] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.211822] mmc0: new high speed SDHC card at address aaaa
[    3.222351] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    3.240539] ledtrig-cpu: registered to indicate activity on CPUs
[    3.249237] oprofile: using arm/armv7
[    3.254211] Initializing XFRM netlink socket
[    3.259338] NET: Registered protocol family 10
[    3.266571]  mmcblk0: p1 p2
[    3.276824] sit: IPv6 over IPv4 tunneling driver
[    3.285156] NET: Registered protocol family 17
[    3.290100] NET: Registered protocol family 15
[    3.295318] Key type dns_resolver registered
[    3.300445] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[    3.308074] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    3.314239] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    3.321624] omap2_set_init_voltage: unable to set vdd_core
[    3.332916] ThumbEE CPU extension supported.
[    3.337463] Registering SWP/SWPB emulation handler
[    3.342651] SmartReflex Class3 initialized
[    3.353637] omap_hsmmc 480ad000.mmc: card claims to support voltages below defined range
[    3.369903] hctosys: unable to open rtc device (rtc0)
[    3.375244] sr_init: No PMIC hook to init smartreflex
[    3.381286] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    3.390716] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    3.486022] VAUX3: disabling
[    3.490844] VDAC: disabling
[    3.494842] VUSB1V5: disabling
[    3.499176] VUSB1V8: disabling
[    3.503601] VUSB3V1: disabling
[    3.526489] mmc2: new high speed SDIO card at address 0001
[    3.580688] EXT4-fs (mmcblk0p2): recovery complete
[    3.588989] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.597869] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.609893] devtmpfs: error mounting -2
[    3.617401] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
[    3.625793] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[    3.639801] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Harold
New Member
New Member
Posts:9


--
03 Jun 2016 01:39 AM

Hi Adam

 

I had Sucess with the fs and got it to boot 

realized I had a typo in my dd line :-D

thanks for all your help and I'd still appreciate a copy of the draft document when you are ready

headfoneguy@gmail.com

 

Cheers

 

H

Adam Ford
Advanced Member
Advanced Member
Posts:794


--
03 Jun 2016 06:41 AM
I am glad it worked for you. The mainstream kernel isn't optimized for power, but support for our board was started by someone in the community, and I took it and added to his work. I'll talk with my colleague today and see how his review is going.

I would suggest using the 4.4.x kernel as it has long-term-support in the community.

adam
Harold
New Member
New Member
Posts:9


--
20 Jun 2016 12:10 AM
Hey Adam

Just wondering how the review is going?

I didn't receive any documentation as of yet and I am experiencing similar wifi issues to ZILES post prior with the TX hanging and printing a stack trace over and over in the 4.5-rc5 kernel with wlcore: firmware booted (Rev 7.3.10.0.133) also I wondered if USB is fully functional with the ISP1763A driver as of yet to your knowledge? or is there noone working on this.

Any feedback would be appreciated and availability of the doco / VM would be really great so we are all on the same page.

Thankyou
Harold
New Member
New Member
Posts:9


--
29 Aug 2016 01:37 AM

Hey all further developments for the 4.5-rc5 kernel I was able to get the usb driver fully functional.

Although still no fully functional wifi scan works with the wl12xx open source driver but attempting to connect gives RX packet corruption errors.

Also still got the rolling TX interrupt error message which reboots the firmware.

Anyone still looking at this ?

Also Adam did those documents of your collegues ever get completed i.e is there a vm with a more stable build with kernel 4+ suitable DM3730

Replies appreciated 

Cheers 

H

 

Harold
New Member
New Member
Posts:9


--
29 Aug 2016 01:37 AM

Hey all further developments for the 4.5-rc5 kernel I was able to get the usb driver fully functional.

Although still no fully functional wifi scan works with the wl12xx open source driver but attempting to connect gives RX packet corruption errors.

Also still got the rolling TX interrupt error message which reboots the firmware.

Anyone still looking at this ?

Also Adam did those documents of your colleges ever get completed i.e is there a vm with a more stable build with kernel 4+ suitable DM3730

Replies appreciated 

Cheers 

H

 

Adam Ford
Advanced Member
Advanced Member
Posts:794


--
29 Aug 2016 06:37 AM
We have a 4.4 Beta posted on the Torpedo + Wirless page:
http://support.logicpd.co...pedoWirelessSOM.aspx

Look for the word 'Beta'

We have a Virtual Machine, user guide and readme files.

We don't have extensive testing on it. It's more of 'proof-of-concept' but we have a Buildroot environment setup which compiles the toolchain, kernel, and root file system.

I know that to enable scanning, you need to enable the 'nl80211 testmode command' found in Networking Support ---> Wireless


adam
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
29 Aug 2016 06:49 AM
You can also check out a small post I made: http://support.logicpd.co...ft/2161/Default.aspx

It discusses using the NVS files and the proper names and the testmode command I referenced above.

adam
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
29 Aug 2016 07:03 AM
For some power saving tips, check out: http://support.logicpd.co...ft/2157/Default.aspx

Joshua Bogue
New Member
New Member
Posts:5


--
28 Sep 2016 11:37 AM

Adam,

 I have successfully created an image for the DM3730 using buildroot in the beta vm from the companies download site.  I have also use a newer kernel 4.7.2 based on this post to try to get my type 28 display working.  But for some reason I can't get the LCD to light up or show anything.  I am wondering how I can get it to display something?  should it show up as a framebuffer device?

 

Thank you in advance for the help!

Adam Ford
Advanced Member
Advanced Member
Posts:794


--
28 Sep 2016 11:55 AM
The dmtimer driver used by the PWM driver for the backlight wasn't available int he mainline kernel until 4.5 or 4.6, so the device tree is missing. I would suggest looking at the 4.7 kernel if you need an LCD. Make sure the dmtimer driver is being enabled in the menuconfig or the screen will be blank. You may also need to change the Minimum FCK/PCK ratio (for scaling) to 4 in the menuconfig. Graphics->Frame Buffer Support -> OMAP2+ Display subsystem support


You can also backport the PWM driver into the 4.4.y kernel if you need/want the long-term-support from the Linux community.

The device tree that's in the 4.7 kernel is using the Type 15 display and not the type 28, but you should be able to replace the timings with:

panel-timing {
clock-frequency = <9000000>;
hactive = <480>;
vactive = <272>;
hfront-porch = <3>;
hback-porch = <2>;
hsync-len = <42>;
vback-porch = <3>;
vfront-porch = <2>;
vsync-len = <11>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <0>;
};

To make it work with Type 28

See if that helps.
adam
Joshua Bogue
New Member
New Member
Posts:5


--
28 Sep 2016 05:41 PM
Adam,

Thank you for the quick response. I found the timing changes in the logicpd-torpedo-37xx-devkit.dts file and edited that file with the updated timing. I looked for FCK/PCK, but couldn't find it in the kernel menuconfig I checked the omap2plus_defconfig file and didn't see it there either. I believe I got the dmtimer enabled by setting the CONFIG_PWM_DMTIMER=y in the omap2plus_defconfig file. The LCD now shows white, but I keep getting a "omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled" that is repeating

Thank you for the help!
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
29 Sep 2016 06:34 AM
The error message you're seeing is due to the Minimum FCK/PCK ratio (for scaling) being set to 0 by default for omap2plus_defconfig.

You should find it in the 4.7.y kernel by the following:

Device Drivers- ->Graphics --> Frame Buffer Devices --> OMAP2+ frame buffer support --> Minimum FCK/PCK ratio (for scaling)

Set that value to 4, and the error should go away.

I have found some issues where the screen may not always come up even if the clock syncs. The type 28 display seems to need a moment after the clocks are running before the screen is enabled.

 

[EDIT]  I tried posting the patch, but for some reason the support site is messing up the patch, so I'll e-mail it to you.

Joshua Bogue
New Member
New Member
Posts:5


--
30 Sep 2016 10:35 AM
Adam,

I have set the CONFIG_FB_OMAP2_DSS_MIN_FCK_PER_PCK to 4 which should map to Device Drivers- ->Graphics --> Frame Buffer Devices --> OMAP2+ frame buffer support --> Minimum FCK/PCK ratio (for scaling). I applied that patch to ./drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c. The error message stopped, but the screen is still white. I dumped frame buffer using fbgrab which shows the screen as black. I then ran the fb-test-rect which draws random rectangles and then dumped the frame buffer again. The test images show the correct things, but the actual frame buffer is bright white. Is there something I have to set for kernel arguments? Here is the kenrnel args I am using and the relevant part of the boot sequence.

console=ttyO0,115200n8 ignore_loglevel early_printk no_console_suspend root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait display=28 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:512k(MLO),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)

7.440734] ohci-omap3 48064400.ohci: new USB bus registered, assigned bus number 3
[ 7.454681] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Interrupt mode
[ 7.503265] ohci-omap3 48064400.ohci: irq 92, io mem 0x48064400
[ 7.516418] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 7.527160] 480bc000.isp supply vdd-csiphy1 not found, using dummy regulator
[ 7.535034] 480bc000.isp supply vdd-csiphy2 not found, using dummy regulator
[ 7.542816] omap3isp 480bc000.isp: Revision 15.0 found
[ 7.549194] iommu: Adding device 480bc000.isp to group 0
[ 7.554992] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[ 7.561645] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[ 7.703735] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
[ 7.724578] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 7.731750] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.739501] usb usb3: Product: OHCI Host Controller
[ 7.744689] usb usb3: Manufacturer: Linux 4.7.5 ohci_hcd
[ 7.750305] usb usb3: SerialNumber: 48064400.ohci
[ 7.782897] pwm-backlight backlight: GPIO lookup for consumer enable
[ 7.789855] pwm-backlight backlight: using device tree for GPIO lookup
[ 7.796936] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight[0]' - status (0)
[ 7.807128] no flags found for enable
[ 7.811065] backlight supply power not found, using dummy regulator
[ 7.955169] panel-dpi display@0: GPIO lookup for consumer enable
[ 7.961547] panel-dpi display@0: using device tree for GPIO lookup
[ 7.968231] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display@0[0]'
[ 7.977661] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display@0[0]'
[ 7.986968] panel-dpi display@0: using lookup tables for GPIO lookup
[ 7.993682] panel-dpi display@0: lookup for GPIO enable failed
[ 8.002166] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[ 8.046844] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/sysboot2[0]' - status (0)
[ 8.057281] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/sysboot5[0]' - status (0)
[ 8.067687] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/gpio1[0]' - status (0)
[ 8.077758] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/gpio2[0]' - status (0)
[ 8.088989] input: gpio_keys as /devices/platform/gpio_keys/input/input2
[ 8.108886] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[ 8.124908] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user0[0]' - status (0)
[ 8.156158] hub 3-0:1.0: USB hub found
[ 8.183685] hub 3-0:1.0: 3 ports detected
[ 8.192352] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[ 8.219726] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
[ 8.229705] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
[ 8.244659] Console: switching to colour frame buffer device 60x34
[ 8.518249] omapfb omapfb: using display '15' mode 480x272
[ 8.525512] of_get_named_gpiod_flags: can't parse 'ti,jack-det-gpio' property of node '/sound[0]'
[ 8.535552] of_get_named_gpiod_flags: can't parse 'ti,hs_extmute_gpio' property of node '/ocp/i2c@48070000/twl@48/audio/codec[0]'
[ 8.551818] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[ 8.582550] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[ 8.591735] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[ 8.600585] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
[ 8.679138] omap-twl4030 sound: twl4030-hifi <-> 49022000.mcbsp mapping ok

Adam Ford
Advanced Member
Advanced Member
Posts:794


--
30 Sep 2016 11:08 AM
I occasionally see that as well, and haven't fully identified the cause. I found that if I put the board to sleep and wake it back up, it seems to help correct the problem when it's an issue, but it's far from ideal.


echo mem > /sys/power/state

(wait a few seconds for everything to sleep)

Then press the S2 button to wake it

Joshua Bogue
New Member
New Member
Posts:5


--
30 Sep 2016 11:18 AM

Adam,

Thank you for the help, support, and patches. I appreciate the support.

Best Regard,
Joshua
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
01 Oct 2016 09:21 AM
I spent a couple hours on this this morning going through my notes, patches, etc. for the 4.5 and 4.6 kernels, but for some reason, I cannot get the type 28 display to work either. I'll work on this again some more tomorrow.

As soon as I get the display working, I'll let you know. If you are planning to use a custom display, this may not necessarily be an issue.

adam

Adam Ford
Advanced Member
Advanced Member
Posts:794


--
02 Oct 2016 07:00 AM
It turns out the PWM_BL seems to be (on my system) loading before the panel-dpi driver which causes an issue.

I found that modprobing the backlight after the panel fixed the issue when combine with a small device tree patch. Most of my testing previously was done with the type -15 display, and it appears to act a little differently than the type 28 display. I'll send you another device tree patch.

adam
You are not authorized to post a reply.
Page 3 of 4 << < 1234 > >>