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.

Linux/AM5728: LCD backlight issue

Part Number: AM5728
Other Parts Discussed in Thread: TPS65217, , PMP, DRA752, TFP410, TSC2007, TMP102

Tool/software: Linux

Hello All,

I'm working on our custom board, facing some issue with display back-light. Not sure why the backlight is coming, may be due to pwm driver/not.

Using the latest SDK "ti-processor-sdk-linux-am57xx-evm-04.02.00.09"

In dts file, i have done the below backlight configuration:

lcd_bl: backlight {

compatible = "pwm-backlight";
pwms = <&ehrpwm1 0 50000 0>;

brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63  64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100>;
default-brightness-level = <100>; /* index to the array above */

status = "okay";

};

&ehrpwm1 {
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&pwm_bl_pins>;
};

pwm_bl_pins: backlight_pins {
pinctrl-single,pins = <
0x0F4 (PIN_OUTPUT | MUX_MODE10) /* ehrpwm1a MUX_MODE10 */
>;
};

I have put some debug messages in the pwm driver's still no clue, could you please go through the kerel config, and log and guide me if i'm missing something.

Backlight_Issue.tar.gz

Thanks,

Chandrashekar

  • Hello Chandrashekar,

    Anything lower than 241 is no longer visible. Can you try these levels?

    brightness-levels = <0 243 245 247 249 251 252 253 255>;

    default-brightness-level = <8>;

    Best regards,
    Kemal

  • Thanks kemal,

    I tried that, when i assign the value 245 as default-brightness-level = <245>;

    While booting the value 8 is assigning, by saying 

    pwm-backlight backlight: invalid default brightness level: 245, using 8

    Can you please check and let me know.

    Thanks.

  • Imagine that the brightness-levels is an array and default-brightness-level is the index of the element on that array.

  • ok. But i'm not able to see on the hardware as backlight is ON. If i connect that line to any other 3.3v. I'm able to see the display.

    So could you please guide me, how to resolve this issue.
  • Have you read this guide so far?

  • Hi kemal,

    In that i'm not able to test ehrpwm testing.
    Same time when i check in my board i'm able to see only

    cat /sys/class/pwm/pwmchip0/
    device/ export npwm power/ subsystem/ uevent unexport

    When i tried the backlight one:
    root@FGT:~# cat /sys/class/backlight/backlight/
    actual_brightness bl_power brightness device/ max_brightness power/ subsystem/ type uevent

    In the backlight i tried by assigning brightness to 90, but not able to see anything in display.
    As you said they value we are giving in dts file as default brightness is a index only. I tested by putting some debug messages.

    Thanks
  • Hello Kemal,

    Could you please check once and let me know.
  • Change the 182 line {GPIO6_10, (M10 | PIN_OUTPUT_PULLDOWN)},    /* gpio6_10.ehrpwm2A */ in <Processor SDK>/board-support/u-boot-<version>/board/ti/am57xx/mux_data.h to {VIN1A_D0, (M10 | PIN_OUTPUT_PULLDOWN)},    /* vin1a_d0.ehrpwm1A */ and add backlight = <&lcd_bl>; line to display node in your kernel's device tree, then change the brightness level by echoing preferred index value to /sys/class/backlight/backlight/brightness.

  • Thanks Kemal,

    I tried as you suggested the changes in mux_data.h and in dts. But still the issue is exist.

    Please find the attched log, mux_data.h and dts configuartion.

    lcd_bl: backlight {
    compatible = "pwm-backlight","tps65217_bl";
    pwms = <&ehrpwm1 0 50000 0>;

    brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100>;
    default-brightness-level = <90>; /* index to the array above */

    status = "okay";
    };

    lcd0: display {
    //compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
    compatible = "oddisplays,osd070t1718-19ts","mitsubishi,aa104sl02--t1","panel-dpi","ti,tilcdc,panel";
    label = "lcd";
    enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    pinctrl-names = "default";
    pinctrl-0 = <&lcd_pins_s0>;
    backlight = <&lcd_bl>;

    panel-info {
    ac-bias = <255>;
    ac-bias-intrpt = <0>;
    dma-burst-sz = <16>;
    bpp = <32>;
    fdd = <0x80>;
    tft-alt-mode = <0>;
    stn-565-mode = <0>;
    mono-8bit-mode = <0>;
    sync-edge = <0>;
    sync-ctrl = <0>;
    raster-order = <1>;
    fifo-th = <0>;
    };

    panel-timing {
    clock-frequency = <36000000>;
    hactive = <800>;
    vactive = <600>;
    hfront-porch = <10>;
    hback-porch = <10>; //36, 10
    hsync-len = <10>; //48, 10
    vback-porch = <7>;
    vfront-porch = <1>;
    vsync-len = <4>;
    hsync-active = <1>;
    vsync-active = <1>;
    de-active = <1>;
    pixelclk-active = <1>;
    };

    port {
    lcd_in: endpoint {
    remote-endpoint = <&dpi_out>;
    };

    };

    };

    U-Boot SPL 2017.01-00444-g17f04de-dirty (Feb 20 2018 - 09:51:22)
    DRA752-GP ES2.0
    Trying to boot from MMC2_2
    *** Warning - bad CRC, using default environment
    
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00444-g17f04de-dirty (Feb 20 2018 - 09:51:22 +0530)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
    
    I2C chip 50: requested alen 2 does not match chip offset_len 1
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x63656A624F6E6F73 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  0 
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Trying to boot Linux from eMMC ...
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    3816720 bytes read in 72 ms (50.6 MiB/s)
    108686 bytes read in 19 ms (5.5 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff88d ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.59-ga75d8e9305 (root@fg-desktop) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #34 SMP PREEMPT Sat Feb 17 12:54:02 IST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM5728 EVM
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 13 pages/cpu @eed33000 s22156 r8192 d22900 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=f6c400b7-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1675600K/1897472K available (8192K kernel code, 372K rwdata, 2496K rodata, 2048K init, 309K bss, 33456K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc105d1c0   ( 373 kB)
    [    0.000000]        .bss : 0xc105f000 - 0xc10ac574   ( 310 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000319] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000327] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000730] Console: colour dummy device 80x30
    [    0.000746] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000752] This ensures that you still see kernel messages. Please
    [    0.000758] update your kernel commandline.
    [    0.000775] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000788] pid_max: default: 32768 minimum: 301
    [    0.000889] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000899] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001520] CPU: Testing write buffer coherency: ok
    [    0.001725] /cpus/cpu@0 missing clock-frequency property
    [    0.001742] /cpus/cpu@1 missing clock-frequency property
    [    0.001752] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001769] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080074] EFI services will not be available.
    [    0.170306] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170393] Brought up 2 CPUs
    [    0.170406] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170413] CPU: All CPU(s) started in HYP mode.
    [    0.170419] CPU: Virtualization extensions available.
    [    0.170913] devtmpfs: initialized
    [    0.198952] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.199197] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.199214] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.202589] pinctrl core: initialized pinctrl subsystem
    [    0.203412] NET: Registered protocol family 16
    [    0.204272] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.205342] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.322477] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.422146] ******** init backlight_class_init ***********
    [    0.450403] cpuidle: using governor ladder
    [    0.480434] cpuidle: using governor menu
    [    0.488859] omap_gpio 4ae10000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio1_pins_default, deferring probe
    [    0.489251] omap_gpio 48055000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio2_pins_default, deferring probe
    [    0.489639] omap_gpio 48057000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio3_pins_default, deferring probe
    [    0.490033] omap_gpio 48059000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio4_pins_default, deferring probe
    [    0.490470] omap_gpio 4805b000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio5_pins_default, deferring probe
    [    0.490877] omap_gpio 4805d000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio6_pins_default, deferring probe
    [    0.491270] omap_gpio 48051000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio7_pins_default, deferring probe
    [    0.493343] OMAP GPIO hardware version 0.1
    [    0.494136] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.519057] No ATAGs?
    [    0.519082] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.519091] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.519448] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.519457] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.519985] OMAP DMA hardware revision 0.0
    [    0.571671] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572944] edma 43300000.edma: memcpy is disabled
    [    0.577778] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.584130] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.584636] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 100 kHz
    [    0.585105] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.585266] pps_core: LinuxPPS API ver. 1 registered
    [    0.585274] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.585293] PTP clock support registered
    [    0.585324] EDAC MC: Ver: 3.0.0
    [    0.586011] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.586296] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.586582] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.586861] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.587167] Advanced Linux Sound Architecture Driver Initialized.
    [    0.587820] clocksource: Switched to clocksource arch_sys_counter
    [    0.598403] NET: Registered protocol family 2
    [    0.598900] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.598963] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.599088] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.599134] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.599164] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.599290] NET: Registered protocol family 1
    [    0.599625] RPC: Registered named UNIX socket transport module.
    [    0.599633] RPC: Registered udp transport module.
    [    0.599639] RPC: Registered tcp transport module.
    [    0.599646] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.600594] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.603484] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.610884] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.611598] NFS: Registering the id_resolver key type
    [    0.611619] Key type id_resolver registered
    [    0.611626] Key type id_legacy registered
    [    0.611664] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.618417] bounce: pool size: 64 pages
    [    0.618566] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.618576] io scheduler noop registered
    [    0.618584] io scheduler deadline registered
    [    0.618715] io scheduler cfq registered (default)
    [    0.623202] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.625217] ****** ehrpwm_pwm_probe ************
    [    0.625351] ****************************************
    [    0.625736] ****** ehrpwm_pwm_probe ************
    [    0.625866] ****************************************
    [    0.626778] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.626977] dra7-pcie 51000000.pcie: gpio request failed, ret -517
    [    0.627103] dra7-pcie 51000000.pcie: Dropping the link to phy-4a094000.pciephy.1
    [    0.627132] dra7-pcie 51000000.pcie: probe deferral not supported
    [    0.627278] dra7-pcie 51000000.pcie_ep: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.627459] dra7-pcie 51000000.pcie_ep: gpio request failed, ret -517
    [    0.627583] dra7-pcie 51000000.pcie_ep: Dropping the link to phy-4a094000.pciephy.1
    [    0.627609] dra7-pcie 51000000.pcie_ep: probe deferral not supported
    [    0.628855] ************* pwm_bl- pwm_backlight_probe ************** 
    [    0.628870] data->levels[1]:1 
    [    0.628876] data->levels[2]:2 
    [    0.628883] data->levels[3]:3 
    [    0.628887] data->levels[4]:4 
    [    0.628893] data->levels[5]:5 
    [    0.628897] data->levels[6]:6 
    [    0.628903] data->levels[7]:7 
    [    0.628907] data->levels[8]:8 
    [    0.628913] data->levels[9]:9 
    [    0.628917] data->levels[10]:10 
    [    0.628923] data->levels[11]:11 
    [    0.628927] data->levels[12]:12 
    [    0.628933] data->levels[13]:13 
    [    0.628937] data->levels[14]:14 
    [    0.628943] data->levels[15]:15 
    [    0.628947] data->levels[16]:16 
    [    0.628953] data->levels[17]:17 
    [    0.628956] data->levels[18]:18 
    [    0.628962] data->levels[19]:19 
    [    0.628966] data->levels[20]:20 
    [    0.628971] data->levels[21]:21 
    [    0.628975] data->levels[22]:22 
    [    0.628980] data->levels[23]:23 
    [    0.628984] data->levels[24]:24 
    [    0.628989] data->levels[25]:25 
    [    0.628993] data->levels[26]:26 
    [    0.628998] data->levels[27]:27 
    [    0.629002] data->levels[28]:28 
    [    0.629007] data->levels[29]:29 
    [    0.629011] data->levels[30]:30 
    [    0.629016] data->levels[31]:31 
    [    0.629020] data->levels[32]:32 
    [    0.629025] data->levels[33]:33 
    [    0.629029] data->levels[34]:34 
    [    0.629034] data->levels[35]:35 
    [    0.629037] data->levels[36]:36 
    [    0.629043] data->levels[37]:37 
    [    0.629046] data->levels[38]:38 
    [    0.629051] data->levels[39]:39 
    [    0.629055] data->levels[40]:40 
    [    0.629060] data->levels[41]:41 
    [    0.629064] data->levels[42]:42 
    [    0.629069] data->levels[43]:43 
    [    0.629073] data->levels[44]:44 
    [    0.629078] data->levels[45]:45 
    [    0.629082] data->levels[46]:46 
    [    0.629087] data->levels[47]:47 
    [    0.629091] data->levels[48]:48 
    [    0.629096] data->levels[49]:49 
    [    0.629100] data->levels[50]:50 
    [    0.629105] data->levels[51]:51 
    [    0.629109] data->levels[52]:52 
    [    0.629114] data->levels[53]:53 
    [    0.629117] data->levels[54]:54 
    [    0.629122] data->levels[55]:55 
    [    0.629126] data->levels[56]:56 
    [    0.629131] data->levels[57]:57 
    [    0.629135] data->levels[58]:58 
    [    0.629140] data->levels[59]:59 
    [    0.629144] data->levels[60]:60 
    [    0.629149] data->levels[61]:61 
    [    0.629153] data->levels[62]:62 
    [    0.629158] data->levels[63]:63 
    [    0.629162] data->levels[64]:64 
    [    0.629167] data->levels[65]:65 
    [    0.629170] data->levels[66]:66 
    [    0.629175] data->levels[67]:67 
    [    0.629179] data->levels[68]:68 
    [    0.629184] data->levels[69]:69 
    [    0.629188] data->levels[70]:70 
    [    0.629193] data->levels[71]:71 
    [    0.629197] data->levels[72]:72 
    [    0.629202] data->levels[73]:73 
    [    0.629206] data->levels[74]:74 
    [    0.629211] data->levels[75]:75 
    [    0.629215] data->levels[76]:76 
    [    0.629220] data->levels[77]:77 
    [    0.629223] data->levels[78]:78 
    [    0.629228] data->levels[79]:79 
    [    0.629232] data->levels[80]:80 
    [    0.629237] data->levels[81]:81 
    [    0.629241] data->levels[82]:82 
    [    0.629246] data->levels[83]:83 
    [    0.629250] data->levels[84]:84 
    [    0.629255] data->levels[85]:85 
    [    0.629258] data->levels[86]:86 
    [    0.629263] data->levels[87]:87 
    [    0.629267] data->levels[88]:88 
    [    0.629272] data->levels[89]:89 
    [    0.629276] data->levels[90]:90 
    [    0.629281] data->levels[91]:91 
    [    0.629285] data->levels[92]:92 
    [    0.629290] data->levels[93]:93 
    [    0.629294] data->levels[94]:94 
    [    0.629299] data->levels[95]:95 
    [    0.629303] data->levels[96]:96 
    [    0.629308] data->levels[97]:97 
    [    0.629312] data->levels[98]:98 
    [    0.629317] data->levels[99]:99 
    [    0.629321] data->levels[100]:100 
    [    0.629326] 
    [    0.629326] ***********************
    [    0.629382] backlight supply power not found, using dummy regulator
    [    0.629464] **** pwm_bl:- got pwm for backlight****
    [    0.629624] ****** pwm_backlight_initial_power_state ********* 
    [    0.629632] ****************** pwm_bl *****************
    [    0.629640] DT max_brightness:100  dft_brightness:90 lth_brightness:0 pwm_period_ns:0 
    [    0.686407] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.689761] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 77, base_baud = 3000000) is a 8250
    [    0.690694] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 78, base_baud = 3000000) is a 8250
    [    2.027109] console [ttyS2] enabled
    [    2.031549] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 79, base_baud = 3000000) is a 8250
    [    2.041170] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 80, base_baud = 3000000) is a 8250
    [    2.050752] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 81, base_baud = 3000000) is a 8250
    [    2.061324] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.068085] [drm] Initialized
    [    2.071984] omapdss_dss 58000000.dss: master bind failed: -517
    [    2.080793] Error: Driver 'tfp410' is already registered, aborting...
    [    2.258094] brd: module loaded
    [    2.276338] loop: module loaded
    [    2.283644] libphy: Fixed MDIO Bus: probed
    [    2.347846] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    2.353971] libphy: 48485000.mdio: probed
    [    2.457825] davinci_mdio 48485000.mdio: timed out waiting for user access
    [    2.557824] davinci_mdio 48485000.mdio: timed out waiting for user access
    [    2.565127] cpsw 48484000.ethernet: Detected MACID = fc:0f:4b:e3:47:c6
    [    2.571766] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.578810] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.586943] cpsw 48484000.ethernet: cpsw: Detected MACID = fc:0f:4b:e3:47:c7
    [    2.595499] mousedev: PS/2 mouse device common for all mice
    [    2.629280] rtc-ds1307 0-0068: rtc core: registered ds3231 as rtc0
    [    2.635996] i2c /dev entries driver
    [    2.645509] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.651945] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.658874] pinctrl-single 4a003400.pinmux: pin PIN223 already requested by 48098000.spi; cannot claim for 480ad000.mmc
    [    2.677844] pinctrl-single 4a003400.pinmux: pin-223 (480ad000.mmc) status -22
    [    2.685014] pinctrl-single 4a003400.pinmux: could not request pin 223 (PIN223) from group mmc3_pins_default  on device pinctrl-single
    [    2.697858] omap_hsmmc 480ad000.mmc: Error applying setting, reverse things back
    [    2.705345] omap_hsmmc: probe of 480ad000.mmc failed with error -22
    [    2.712989] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.723300] NET: Registered protocol family 10
    [    2.739001] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.745702] NET: Registered protocol family 17
    [    2.750330] Key type dns_resolver registered
    [    2.754764] omap_voltage_late_init: Voltage driver support not added
    [    2.761324] Power Management for TI OMAP4+ devices.
    [    2.766502] Registering SWP/SWPB emulation handler
    [    2.767831] davinci_mdio 48485000.mdio: timed out waiting for idle
    [    2.789170] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.796699] dmm 4e000000.dmm: initialized all PAT entries
    [    2.815634] palmas 0-0058: Irq flag is 0x00000008
    [    2.822455] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    2.831701] vtt_fixed: supplied by smps3
    [    2.845004] random: fast init done
    [    2.863067] vdd_3v3: supplied by regen1
    [    2.867163] aic_dvdd_fixed: supplied by vdd_3v3
    [    2.876718] OMAP DSS rev 6.1
    [    2.880052] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.888408] display supply vcc not found, using dummy regulator
    [    2.894427] ********* find_backlight_by_node ************
    [    2.900469] input: TSC2007 Touchscreen as /devices/platform/44000000.ocp/4807a000.i2c/i2c-3/3-004b/input/input0
    [    2.912701] gpio-fan gpio_fan: GPIO fan initialized
    [    2.918623] tmp102 0-0048: initialized
    [    2.924497] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.988479] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.994860] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.088231] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.094874] [drm] No driver support for vblank timestamp query.
    [    3.103046] [drm] Enabling DMM ywrap scrolling
    [    3.120770] mmc1: new DDR MMC card at address 0001
    [    3.121117] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB 
    [    3.121270] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 16.0 MiB
    [    3.121422] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 16.0 MiB
    [    3.122008]  mmcblk1: p1 p2
    [    3.171559] Console: switching to colour frame buffer device 100x37
    [    3.204212] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.248956] rtc-ds1307 0-0068: setting system clock to 2018-02-20 11:21:31 UTC (1519125691)
    [    3.258330] aic_dvdd_fixed: disabling
    [    3.262004] vmmcwl_fixed: disabling
    [    3.265660] ALSA device list:
    [    3.268647]   No soundcards found.
    [    3.281337] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.289528] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.300002] devtmpfs: mounted
    [    3.303861] Freeing unused kernel memory: 2048K
    [    3.441749] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
    [    3.460159] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.10!
    
    [    3.488323] systemd[1]: Set hostname to <FGT>.
    [    3.684311] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.718102] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.757911] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.804280] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.838049] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.879161] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.909797] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
             Starting Load Kernel Modules...
    [    3.953688] cmemk: loading out-of-tree module taints kernel.
    [    3.959722] cmemk: disagrees about version of symbol device_create
    [    3.965928] cmemk: Unknown symbol device_create (err -22)
             [    3.974349] cmemk: disagrees about version of symbol device_destroy
    Starting Create Static Device Nodes in /dev...
    [    3.981411] cmemk: Unknown symbol device_destroy (err -22)
    [  OK  ] Created slice system-getty.slice.
    [    4.033105] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
             Starting Setup Virtual Console...
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice User and Session Slice.
             Starting Remount Root and Kernel File Systems...
    [    4.291229] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
             Starting alignment.service...
             Mounting Temporary Directory...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
             Mounting Debug File System...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started alignment.service.
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
    [    5.257406] systemd-journald[130]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directorie[    5.869061] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    s.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on dropbear.socket.
    [    5.966039] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [    6.068552] SCSI subsystem initialized
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Telephony service...
    [  OK  ] Started Kernel Logging Service.
             Starting uim-sysfs.service...
    [    6.162344] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    6.188405] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    6.188412] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    6.231153] scsi host0: ahci
    [    6.231425] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 122
    [  OK  ] Started D-Bus System Message Bus.
    [    6.326468] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    6.347262] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Network Service...
    [  OK  ] Started System Logging Service.
             Starting Login Service...
             Starting TI MultiCore Tools Daemon...
    [    6.504329] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    6.558012] ata1: SATA link down (SStatus 0 SControl 300)
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [    6.680618] net eth1: initializing cpsw version 1.15 (0)
    [  OK  ] Started Network Service.
    [  OK  ] Reached target Network.
    [    6.691502] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    6.701719] cpsw 48484000.ethernet: ALE Table size 1024
    [    6.704544] net eth1: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@2" not found on slave 1
    [    6.712342] cpts ptp bc clkid 0
    [    6.739632] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    6.779345] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    6.788752] net eth0: initializing cpsw version 1.15 (0)
    [    6.823317] net eth0: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1" not found on slave 0
    [    6.865298] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting Network Name Resolution...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started Login Service.
    [    7.555548] NET: Registered protocol family 15
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started Synchronize System and HW clocks.
    [    7.832410] Initializing XFRM netlink socket
    [    8.150459] using random self ethernet address
    [    8.155373] using random host ethernet address
    [    8.174873] usb0: HOST MAC 3a:8b:78:28:8b:5d
    [    8.192094] usb0: MAC aa:8b:44:7f:19:f1
    [    8.197958] using random self ethernet address
    [    8.213557] using random host ethernet address
    [    8.224474] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [    8.231946] g_ether gadget: g_ether ready
    [    8.280917] usbcore: registered new interface driver usbfs
    [    8.298063] usbcore: registered new interface driver hub
    [    8.321347] usbcore: registered new device driver usb
    [    8.342577] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [    8.372461] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.387872] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    8.409319] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [    8.427952] xhci-hcd xhci-hcd.0.auto: irq 437, io mem 0x48890000
    [    8.443664] hub 1-0:1.0: USB hub found
    [    8.468506] hub 1-0:1.0: 1 port detected
    [    8.473423] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.487878] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    8.505700] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.538737] hub 2-0:1.0: USB hub found
    [    8.543564] hub 2-0:1.0: 1 port detected
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Reached target Sound Card.
    [    8.749914] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
    [    8.757032] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            glmark2
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline6
            m4-dev
            m4
            make
            nettle
            parted
            swig-dev
            swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started uim-sysfs.service.
    [    9.219091] NOHZ: local_softirq_pending 08
             Starting rc.pvr.service...
    [    9.264849] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [    9.283275] bc_example: disagrees about version of symbol device_create
    [    9.290752] bc_example: Unknown symbol device_create (err -22)
    [    9.296635] bc_example: disagrees about version of symbol device_destroy
    [    9.304643] bc_example: Unknown symbol device_destroy (err -22)
    [    9.311659] NOHZ: local_softirq_pending 08
    [    9.527326] NOHZ: local_softirq_pending 08
    [    9.627086] NOHZ: local_softirq_pending 08
    [    9.667034] NOHZ: local_softirq_pending 08
    [    9.725086] NOHZ: local_softirq_pending 08
    [    9.808710] bc_example: disagrees about version of symbol device_create
    [    9.815372] bc_example: Unknown symbol device_create (err -22)
    [    9.821399] bc_example: disagrees about version of symbol device_destroy
    [    9.828184] bc_example: Unknown symbol device_destroy (err -22)
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [   10.096603] random: crng init done
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [   10.627178] NOHZ: local_softirq_pending 08
    [   10.635045] NOHZ: local_softirq_pending 08
    [   10.723058] NOHZ: local_softirq_pending 08
    [   10.727789] NOHZ: local_softirq_pending 08
    
    
    FGT login: root
    root@FGT:~# 
    root@FGT:~# cat /sys/class/backlight/backlight/brightness 
    8
    root@FGT:~# echo 100 > /sys/class/backlight/backlight/brightness 
    root@FGT:~# cat /sys/class/backlight/backlight/brightness 
    100
    root@FGT:~# 
    root@FGT:~# cat /sys/class/backlight/backlight/actual_brightness 
    100
    root@FGT:~# 
    
     

    5756.mux_data.h

    Please check if anything in configuration is missing.

    Thanks.

  • Your brightness levels are so precise. Please, try these instead:

    brightness-levels = <0 243 245 247 249 251 252 253 255>;

    default-brightness-level = <8>;

  • I tried kemal, didn't work. So i just changed and tried.

    Please see the kernel log belwo:

    U-Boot SPL 2017.01-00444-g17f04de-dirty (Feb 20 2018 - 11:44:24)
    DRA752-GP ES2.0
    Trying to boot from MMC2_2
    *** Warning - bad CRC, using default environment

    reading u-boot.img
    reading u-boot.img


    U-Boot 2017.01-00444-g17f04de-dirty (Feb 20 2018 - 11:44:24 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment

    I2C chip 50: requested alen 2 does not match chip offset_len 1
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x63656A624F6E6F73 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 0
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Trying to boot Linux from eMMC ...
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    3816720 bytes read in 71 ms (51.3 MiB/s)
    108318 bytes read in 19 ms (5.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe2000, end 8ffff71d ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.59-ga75d8e9305 (root@fg-desktop) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #34 SMP PREEMPT Sat Feb 17 12:54:02 IST 2018
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt:Machine model: TI AM5728 EVM
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] percpu: Embedded 13 pages/cpu @eed33000 s22156 r8192 d22900 u53248
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 472640
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=f6c400b7-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1675600K/1897472K available (8192K kernel code, 372K rwdata, 2496K rodata, 2048K init, 309K bss, 33456K reserved, 188416K cma-reserved, 1283072K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
    [ 0.000000] .data : 0xc1000000 - 0xc105d1c0 ( 373 kB)
    [ 0.000000] .bss : 0xc105f000 - 0xc10ac574 ( 310 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000015] Switching to timer-based delay loop, resolution 162ns
    [ 0.000318] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000325] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000731] Console: colour dummy device 80x30
    [ 0.000748] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.000754] This ensures that you still see kernel messages. Please
    [ 0.000760] update your kernel commandline.
    [ 0.000777] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000789] pid_max: default: 32768 minimum: 301
    [ 0.000889] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000900] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001516] CPU: Testing write buffer coherency: ok
    [ 0.001723] /cpus/cpu@0 missing clock-frequency property
    [ 0.001738] /cpus/cpu@1 missing clock-frequency property
    [ 0.001749] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001765] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.080063] EFI services will not be available.
    [ 0.170302] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.170390] Brought up 2 CPUs
    [ 0.170403] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.170410] CPU: All CPU(s) started in HYP mode.
    [ 0.170416] CPU: Virtualization extensions available.
    [ 0.170912] devtmpfs: initialized
    [ 0.198946] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.199184] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.199200] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.202556] pinctrl core: initialized pinctrl subsystem
    [ 0.203381] NET: Registered protocol family 16
    [ 0.204233] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.205292] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.322422] omap_hwmod: dcan1: _wait_target_disable failed
    [ 0.422023] ******** init backlight_class_init ***********
    [ 0.450401] cpuidle: using governor ladder
    [ 0.480428] cpuidle: using governor menu
    [ 0.488851] omap_gpio 4ae10000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio1_pins_default, deferring probe
    [ 0.489244] omap_gpio 48055000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio2_pins_default, deferring probe
    [ 0.489631] omap_gpio 48057000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio3_pins_default, deferring probe
    [ 0.490023] omap_gpio 48059000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio4_pins_default, deferring probe
    [ 0.490410] omap_gpio 4805b000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio5_pins_default, deferring probe
    [ 0.490865] omap_gpio 4805d000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio6_pins_default, deferring probe
    [ 0.491254] omap_gpio 48051000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio7_pins_default, deferring probe
    [ 0.493332] OMAP GPIO hardware version 0.1
    [ 0.494121] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.519007] No ATAGs?
    [ 0.519032] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.519041] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.519397] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.519407] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.519934] OMAP DMA hardware revision 0.0
    [ 0.571799] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.573058] edma 43300000.edma: memcpy is disabled
    [ 0.577870] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.584248] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.584753] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 100 kHz
    [ 0.585222] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [ 0.585385] pps_core: LinuxPPS API ver. 1 registered
    [ 0.585394] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.585413] PTP clock support registered
    [ 0.585444] EDAC MC: Ver: 3.0.0
    [ 0.586132] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [ 0.586418] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [ 0.586706] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.586982] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.587286] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.587934] clocksource: Switched to clocksource arch_sys_counter
    [ 0.598463] NET: Registered protocol family 2
    [ 0.598961] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.599023] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.599148] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.599194] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.599224] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.599349] NET: Registered protocol family 1
    [ 0.599686] RPC: Registered named UNIX socket transport module.
    [ 0.599695] RPC: Registered udp transport module.
    [ 0.599702] RPC: Registered tcp transport module.
    [ 0.599708] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.600670] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.603559] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [ 0.610981] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.611698] NFS: Registering the id_resolver key type
    [ 0.611721] Key type id_resolver registered
    [ 0.611729] Key type id_legacy registered
    [ 0.611769] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.618506] bounce: pool size: 64 pages
    [ 0.618657] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.618667] io scheduler noop registered
    [ 0.618675] io scheduler deadline registered
    [ 0.618806] io scheduler cfq registered (default)
    [ 0.623290] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.625335] ****** ehrpwm_pwm_probe ************
    [ 0.625471] ****************************************
    [ 0.625857] ****** ehrpwm_pwm_probe ************
    [ 0.625986] ****************************************
    [ 0.626897] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [ 0.627094] dra7-pcie 51000000.pcie: gpio request failed, ret -517
    [ 0.627220] dra7-pcie 51000000.pcie: Dropping the link to phy-4a094000.pciephy.1
    [ 0.627249] dra7-pcie 51000000.pcie: probe deferral not supported
    [ 0.627397] dra7-pcie 51000000.pcie_ep: Linked as a consumer to phy-4a094000.pciephy.1
    [ 0.627577] dra7-pcie 51000000.pcie_ep: gpio request failed, ret -517
    [ 0.627703] dra7-pcie 51000000.pcie_ep: Dropping the link to phy-4a094000.pciephy.1
    [ 0.627731] dra7-pcie 51000000.pcie_ep: probe deferral not supported
    [ 0.628979] ************* pwm_bl- pwm_backlight_probe **************
    [ 0.628993] data->levels[1]:243
    [ 0.628999] data->levels[2]:245
    [ 0.629006] data->levels[3]:247
    [ 0.629010] data->levels[4]:249
    [ 0.629016] data->levels[5]:251
    [ 0.629020] data->levels[6]:252
    [ 0.629026] data->levels[7]:253
    [ 0.629030] data->levels[8]:255
    [ 0.629035]
    [ 0.629035] ***********************
    [ 0.629092] backlight supply power not found, using dummy regulator
    [ 0.629173] **** pwm_bl:- got pwm for backlight****
    [ 0.629333] ****** pwm_backlight_initial_power_state *********
    [ 0.629341] ****************** pwm_bl *****************
    [ 0.629348] DT max_brightness:8 dft_brightness:8 lth_brightness:0 pwm_period_ns:0
    [ 0.686288] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.689647] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 77, base_baud = 3000000) is a 8250
    [ 0.690573] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 78, base_baud = 3000000) is a 8250
    [ 1.730248] console [ttyS2] enabled
    [ 1.734677] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 79, base_baud = 3000000) is a 8250
    [ 1.744293] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 80, base_baud = 3000000) is a 8250
    [ 1.753874] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 81, base_baud = 3000000) is a 8250
    [ 1.764437] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [ 1.771198] [drm] Initialized
    [ 1.775106] omapdss_dss 58000000.dss: master bind failed: -517
    [ 1.783843] Error: Driver 'tfp410' is already registered, aborting...
    [ 1.800716] brd: module loaded
    [ 1.808941] loop: module loaded
    [ 1.816235] libphy: Fixed MDIO Bus: probed
    [ 1.877959] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 1.884084] libphy: 48485000.mdio: probed
    [ 1.987939] davinci_mdio 48485000.mdio: timed out waiting for user access
    [ 2.087943] davinci_mdio 48485000.mdio: timed out waiting for user access
    [ 2.095248] cpsw 48484000.ethernet: Detected MACID = fc:0f:4b:e3:47:c6
    [ 2.101885] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [ 2.108932] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 2.117063] cpsw 48484000.ethernet: cpsw: Detected MACID = fc:0f:4b:e3:47:c7
    [ 2.125619] mousedev: PS/2 mouse device common for all mice
    [ 2.159414] rtc-ds1307 0-0068: rtc core: registered ds3231 as rtc0
    [ 2.166122] i2c /dev entries driver
    [ 2.175664] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 2.182097] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 2.189025] pinctrl-single 4a003400.pinmux: pin PIN223 already requested by 48098000.spi; cannot claim for 480ad000.mmc
    [ 2.207956] pinctrl-single 4a003400.pinmux: pin-223 (480ad000.mmc) status -22
    [ 2.215127] pinctrl-single 4a003400.pinmux: could not request pin 223 (PIN223) from group mmc3_pins_default on device pinctrl-single
    [ 2.227973] omap_hsmmc 480ad000.mmc: Error applying setting, reverse things back
    [ 2.235460] omap_hsmmc: probe of 480ad000.mmc failed with error -22
    [ 2.243090] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.253451] NET: Registered protocol family 10
    [ 2.269217] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.275915] NET: Registered protocol family 17
    [ 2.280545] Key type dns_resolver registered
    [ 2.284975] omap_voltage_late_init: Voltage driver support not added
    [ 2.291537] Power Management for TI OMAP4+ devices.
    [ 2.296713] Registering SWP/SWPB emulation handler
    [ 2.297943] davinci_mdio 48485000.mdio: timed out waiting for idle
    [ 2.319259] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 2.326776] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.345707] palmas 0-0058: Irq flag is 0x00000008
    [ 2.352553] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 2.361788] vtt_fixed: supplied by smps3
    [ 2.374891] random: fast init done
    [ 2.393064] vdd_3v3: supplied by regen1
    [ 2.397160] aic_dvdd_fixed: supplied by vdd_3v3
    [ 2.406724] OMAP DSS rev 6.1
    [ 2.410058] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 2.418419] display supply vcc not found, using dummy regulator
    [ 2.424438] ********* find_backlight_by_node ************
    [ 2.430486] input: TSC2007 Touchscreen as /devices/platform/44000000.ocp/4807a000.i2c/i2c-3/3-004b/input/input0
    [ 2.442751] gpio-fan gpio_fan: GPIO fan initialized
    [ 2.448664] tmp102 0-0048: initialized
    [ 2.454527] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 2.518598] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 2.524979] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 2.618340] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 2.624981] [drm] No driver support for vblank timestamp query.
    [ 2.633144] [drm] Enabling DMM ywrap scrolling
    [ 2.650866] mmc1: new DDR MMC card at address 0001
    [ 2.651206] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB
    [ 2.651359] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 16.0 MiB
    [ 2.651504] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 16.0 MiB
    [ 2.652093] mmcblk1: p1 p2
    [ 2.701661] Console: switching to colour frame buffer device 100x37
    [ 2.734309] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.779064] rtc-ds1307 0-0068: setting system clock to 2018-02-20 12:19:06 UTC (1519129146)
    [ 2.788427] aic_dvdd_fixed: disabling
    [ 2.792101] vmmcwl_fixed: disabling
    [ 2.795766] ALSA device list:
    [ 2.798755] No soundcards found.
    [ 2.811196] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.819385] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.829754] devtmpfs: mounted
    [ 2.833613] Freeing unused kernel memory: 2048K
    [ 2.971842] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
    [ 2.990251] systemd[1]: Detected architecture arm.

    Welcome to Arago 2017.10!

    [ 3.018437] systemd[1]: Set hostname to <FGT>.
    [ 3.217101] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 3.248077] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 3.278165] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 3.324415] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ 3.368118] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 3.401098] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 3.428112] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Listening on Syslog Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Created slice System Slice.
    Mounting Temporary Directory...
    Starting Load Kernel Modules...
    [ 3.713970] cmemk: loading out-of-tree module taints kernel.
    [ 3.719975] cmemk: disagrees about version of symbol device_create
    [ 3.726183] cmemk: Unknown symbol device_create (err -22)
    [ 3.734408] cmemk: disagrees about version of symbol device_destroy
    Starting Create Static Device Nodes in /dev...
    [ 3.741472] cmemk: Unknown symbol device_destroy (err -22)
    Starting Setup Virtual Console...
    [ 3.794082] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
    Mounting POSIX Message Queue File System...
    Starting alignment.service...
    [ OK ] Reached target Slices.
    Starting Remount Root and Kernel File Systems...
    [ 3.900785] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    Mounting Debug File System...
    [ OK ] Created slice system-getty.slice.
    [ OK ] Reached target Paths.
    Starting Journal Service...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Debug File System.
    [ OK ] Mounted Temporary Directory.
    [ OK ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started alignment.service.
    [ OK ] Started Remount Root and Kernel File Systems.
    Starting udev Coldplug all Devices...
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /media/ram...
    Mounting /var/volatile...
    Starting Apply Kernel Variables...
    Mounting Configuration File System...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Mounted Configuration File System.
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Apply Kernel Variables.
    [ 4.817763] systemd-journald[142]: Received request to flush runtime journal from PID 1
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Load/Save Random Seed.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Found device /dev/ttyS2.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Reached target System Initialization.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ 5.421171] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [ 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.
    [ 5.547802] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [ OK ] Reached target Basic System.
    Starting Login Service...
    Starting Telephony service...
    [ 5.684275] SCSI subsystem initialized
    [ OK ] Started Kernel Logging Service.
    [ OK ] Started D-Bus System Message Bus.
    [ 5.747393] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [ 5.765348] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ 5.793408] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [ 5.893365] scsi host0: ahci
    [ 5.897137] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 122
    [ 5.945879] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 5.981816] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [ OK ] Started Telephony service.
    Starting Network Service...
    [ 6.041223] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    Starting TI MultiCore Tools Daemon...
    Starting Print notice about GPLv3 packages...
    Starting uim-sysfs.service...
    [ 6.195543] net eth1: initializing cpsw version 1.15 (0)
    [ OK ] Started System Logging Service.
    Starting Avahi mDNS/DNS-SD Stack...
    Starting Save/Restore Sound Card State...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ 6.237995] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    m OK ] Reached target Timers.
    [ OK ] Started Network Service.
    [FAILED] Failed to start TI MultiCore Tools Daemon.
    See 'systemctl status ti-mct-daemon.service' for details.
    [ 6.289856] ata1: SATA link down (SStatus 0 SControl 300)
    [ 6.386625] cpsw 48484000.ethernet: ALE Table size 1024
    [ 6.441891] net eth1: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@2" not found on slave 1
    [ 6.482983] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ OK ] Started Save/Restore Sound Card State.
    [ 6.643247] cpts ptp bc clkid 0
    [ 6.695670] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 6.761261] net eth0: initializing cpsw version 1.15 (0)
    [ 6.814146] net eth0: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1" not found on slave 0
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Started Login Service.
    [ OK ] Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen Backlight...htness of backlight:backlight..[ 6.888087] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    .
    [ OK ] Reached target Network.
    Starting Permit User Sessions...
    Starting Simple Network Management Protocol (SNMP) Daemon....
    Starting Enable and configure wl18xx bluetooth stack...
    Starting Lightning Fast Webserver With Light System Requirements...
    Starting Network Name Resolution...
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Serial Getty on ttyS2.
    [ OK ] Started Getty on tty1.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    [ OK ] Started Network Name Resolution.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Synchronize System and HW clocks.
    [ 7.330947] NET: Registered protocol family 15
    [ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
    [ 7.643128] Initializing XFRM netlink socket
    [ 7.659973] using random self ethernet address
    [ 7.659977] using random host ethernet address
    [ 7.660519] usb0: HOST MAC d2:33:ee:0e:53:3c
    [ 7.660555] usb0: MAC 3e:32:d5:4c:f6:5a
    [ 7.660566] using random self ethernet address
    [ 7.660569] using random host ethernet address
    [ 7.660616] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [ 7.660619] g_ether gadget: g_ether ready
    [ 7.716588] usbcore: registered new interface driver usbfs
    [ 7.716641] usbcore: registered new interface driver hub
    [ 7.717071] usbcore: registered new device driver usb
    [ 7.730269] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 7.730288] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 7.730681] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [ 7.730722] xhci-hcd xhci-hcd.0.auto: irq 437, io mem 0x48890000
    [ 7.731419] hub 1-0:1.0: USB hub found
    [ 7.731444] hub 1-0:1.0: 1 port detected
    [ 7.731745] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 7.731756] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 7.731811] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 7.732337] hub 2-0:1.0: USB hub found
    [ 7.732358] hub 2-0:1.0: 1 port detected
    [ 7.813247] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [ 8.157468] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
    [ 8.164634] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
    [ OK ] Reached target Sound Card.
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils-dev
    binutils
    bison-dev
    bison
    cifs-utils
    cpp-symlinks
    cpp
    dosfstools
    g++-symlinks
    g++
    gawk-dev
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbc6x
    gdbserver
    glmark2
    gstreamer1.0-libav
    hidapi
    libcairo-perf-utils
    libgmp10
    libidn11
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline6
    m4-dev
    m4
    make
    nettle
    parted
    swig-dev
    swig

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [ OK ] Started uim-sysfs.service.
    [ OK ] Started Print notice about GPLv3 packages.
    Starting rc.pvr.service...
    [ 8.893728] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [ 8.911944] bc_example: disagrees about version of symbol device_create
    [ 8.918630] bc_example: Unknown symbol device_create (err -22)
    [ 8.924519] bc_example: disagrees about version of symbol device_destroy
    [ 8.931290] bc_example: Unknown symbol device_destroy (err -22)
    [ 9.388328] bc_example: disagrees about version of symbol device_create
    [ 9.394976] bc_example: Unknown symbol device_create (err -22)
    [ 9.401109] bc_example: disagrees about version of symbol device_destroy
    [ 9.407856] bc_example: Unknown symbol device_destroy (err -22)
    [ OK ] Started rc.pvr.service.
    Starting weston.service...
    [ OK ] Started weston.service.
    [ 9.515259] NOHZ: local_softirq_pending 08
    Starting tiipclad-daemon.service...
    Starting telnetd.service...
    [ OK ] Started tiipclad-daemon.service.
    [ OK ] Started telnetd.service.
    Starting thttpd.service...
    [ 9.696353] NOHZ: local_softirq_pending 08
    [ 9.705095] random: crng init done
    [ OK ] Started thttpd.service.
    Starting rng-tools.service...
    [ OK ] Started rng-tools.service.
    Starting matrix-gui-2.0.service...
    [ OK ] Started matrix-gui-2.0.service.
    Starting thermal-zone-init.service...
    [ OK ] Started thermal-zone-init.service.
    [ OK ] Reached target Multi-User System.
    [ 9.947537] NOHZ: local_softirq_pending 08
    Starting Update UTMP about System Runlevel Changes...
    [ OK ] Started Update UTMP about System Runlevel Changes.
    [ 10.197233] NOHZ: local_softirq_pending 08
    [ 10.243285] NOHZ: local_softirq_pending 08
    [ 10.397849] NOHZ: local_softirq_pending 08
    [ 10.443289] NOHZ: local_softirq_pending 08
    [ 10.578347] NOHZ: local_softirq_pending 08
    [ 11.010691] NOHZ: local_softirq_pending 08


    FGT login: [ 11.443348] NOHZ: local_softirq_pending 08
    root
    root@FGT:~#
    root@FGT:~# cat /sys/class/backlight/backlight/brightness
    8
    root@FGT:~# cat /sys/class/backlight/backlight/max_brightness
    8
    root@FGT:~#
  • So attach a scope or logic analyser on that pin and see what is going on.
  • hi kemal,

    I connected the scope to that pin, but no pulse is generating.

    So how do i confirm the pulse generation. Can you please guide me to verify first the pwm generation in that pin?

    Thnaks.
  • It is so easy. If you cat /sys/kernel/debug/pwm, you will see:
    pwm-0   (backlight           ): requested enabled period: 50000 ns duty: 50000 ns polarity: normal

    So that comment out:

    // backlight = <&lcd_bl>;
    
    
    //lcd_bl: backlight {
    //compatible = "pwm-backlight","tps65217_bl";
    //pwms = <&ehrpwm1 0 50000 0>;
    //
    //brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 //46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 //95 96 97 98 99 100>;
    //default-brightness-level = <90>; /* index to the array above */
    //
    //status = "okay";
    //};

    Compile and boot the board with the new device tree.

    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/export
    root@FGT:~# echo 50000 > /sys/class/pwm/pwmchip0/pwm0/period
    root@FGT:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable
    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 47647 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 48039 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 48431 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 48823 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 49215 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 49411 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 50000 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle

    You will see how the brightness changes.

  • Thanks kemal,

    When i do cat /sys/kernel/debug/pwm getting below response:-

    platform/48440200.pwm, 2 PWM devices
    pwm-0 ((null) ): period: 0 ns duty: 0 ns polarity: normal
    pwm-1 ((null) ): period: 0 ns duty: 0 ns polarity: normal

    platform/4843e200.pwm, 2 PWM devices
    pwm-0 ((null) ): period: 0 ns duty: 0 ns polarity: normal
    pwm-1 ((null) ): period: 0 ns duty: 0 ns polarity: normal

    Later i tried the commands which you gave:


    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/export

    root@FGT:~# echo 50000 > /sys/class/pwm/pwmchip0/pwm0/period

    root@FGT:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable

    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle

    root@FGT:~# echo 47647 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle     //Here i'm able to see the backlight and pwm also.

    The value less than 20000 not able to see any backlight. One more observation, if i change the value able to see the variation in pwm generation not in backlight brightness. Really i don't understand why like this.

    Please guide how we can debug this issue and resolve.

    Thanks. 

  • Put the backlight node back and post the output of cat /sys/kernel/debug/pwm command.

  • Yes,

    I'm able to see:
    root@FGT:~# cat /sys/kernel/debug/pwm
    platform/48440200.pwm, 2 PWM devices
    pwm-0 (backlight ): requested enabled period: 50000 ns duty: 48039 ns polarity: normal
    pwm-1 ((null) ): period: 0 ns duty: 0 ns polarity: normal

    platform/4843e200.pwm, 2 PWM devices
    pwm-0 ((null) ): period: 0 ns duty: 0 ns polarity: normal
    pwm-1 ((null) ): period: 0 ns duty: 0 ns polarity: normal

    But no backlight ON, after run the below commands i'm able to see the backlight.

    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/export
    root@FGT:~# echo 50000 > /sys/class/pwm/pwmchip0/pwm0/period
    root@FGT:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable
    root@FGT:~# echo 0 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
    root@FGT:~# echo 47647 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle

    Why without running the command no backlight. Even i run the below command:
    echo 8 > /sys/class/backlight/backlight/brightness

    Could you please verify and suggest how to debug.

    Thanks.

  • Change the pwms = <&ehrpwm1 0 50000 0>; to pwms = <&ehrpwm0 0 50000 0>;

  • Thanks kemal.

    Issue got resolved, i'm able to see the pwm variation on the same line and backlight ON/OFF.

    But i have one doubt, based on the brightness value pwm is varying, not able to observe in backlight observed like ON/OFF.

    Do i need to check anything else.

    Thanks.

  • Can you attach a video or screenshot of that what are you seeing?

  • Hi Kemal,

    Not able to upload video, as a screenshot what can i give, pwm on scope or what you need for reference.

    One more question, in the display data sheet they mentioned about the pwm frequency range can you please check the attached snap shot.

    Even i changed in dts from 50000 to 1000000 but didn't see any variation in backlight.

    Thanks

  • Use these settings:

    	lcd_bl: backlight {
    		compatible = "pwm-backlight";
    		pwms = <&ehrpwm0 0 2000000 0>;
    
    		brightness-levels = <0 51 53 56 62 75 101 152 255>;
    
    		default-brightness-level = <8>;
    	};
  • Hi Kemal,

    I tested with the same configuration but still no variation in backlight brightness . If the brightness is less than 6 no back light, >=6 able to see the backlight. Not able to see any difference in value of 6,7,8 to brightness.

    Thanks
  • Just try all the possible variations, do not expect help from us in tuning stuff, we do not have the exact hardware configuration as yours to test it in our side and provide the solution.

  • Sorry Kemal,

    Isuue got resolved thank you for your support.
  • And how you resolve that issue?

  • Some hardware issue, in pwm path to backlight connector. We removed those, connected directly to the backlight connector of display.

    One more other query kemal, i request you to give suggestion.
    We are using the PCIe in our design, when we are not configuring gpio2_30 and gpio2_31 able to see pci2 bus and the module connected. But when we are configuring those lines as GPIO, not able to see the pcie bus only when we ran the lspci command. Could you please tell me are we using anywhere those gpio or how it is related to pcie?

    Thanks.
  • Please, create a new thread regarding this PCIe behavior.