Go to previous topic
Go to next topic
Last Post 06 Apr 2018 10:43 AM by  Adam Ford
Ubuntu on torpedo DM3730
 39 Replies
Author Messages
Przemysław Nogieć
New Member
New Member
Posts:25


--
16 Jan 2017 03:31 AM

    Hi everyone,

    I've got Torpedo DM3730 + wifi + development kid for it and i've got guestion: it is possible to boot from SD card 'normal' Ubuntu (eg. 14.04 LTS). If it so, how a can create bootable CD card?

    Thanks for reply.

    Regards,
    Przemyslaw

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Jan 2017 06:54 AM
    I am not sure I understand you question. Are you asking if you can run Ubuntu 14 on the Torpedo or build the Torpedo code from Ubuntu 14?

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    16 Jan 2017 07:03 AM
    I want to run Ubuntu on Torpedo.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    16 Jan 2017 07:25 AM
    My main question is : Is it possible to run on the Torpedo system like Ubuntu, Kubuntu etc with all GUI support (not just the Linux Kernel) - i want to have system on Torpedo like Raspberian on Rasberry. EG. Odroid has also its own distribution of Ubuntu (Banana PI too) and I need to run Linux (Ubuntu) on Torpedo.
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Jan 2017 02:12 PM
    I had to do some digging.

    I was able to take a modern kernel (4.8+) with a device tree setup for my display and I built the kernel.

    I then put Ubuntu-Core on the Linux partition then installed the kernel modules on it and it worked, but I don't yet have a GUI available. The modern GUI's appear to require OpenGL / 3D acceleration, and TI doesn't yet have that working in the modern kernels for this processor.

    I'll try to spend some time here and there on it, but I can't promise it'll be fast.

    In the meantime, if you want to you can experiment with it, I found the armhf versions appear to work with the Torpedo (except for GUI):

    http://cdimage.ubuntu.com...ses/14.04.5/release/

    http://cdimage.ubuntu.com...ses/16.04.1/release/


    I had to set the 'optargs' boot parameter to single in order to login as root and create subsequent user accounts.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    17 Jan 2017 01:18 AM
    Hi Adam,

    thanks for your replies.

    I'll try ubuntu base 14.04.5 for armhf.
    Can you help me and tell me how to make bootable SD card for torpedo with ubuntu 14.04 armhf?

    Thanks
    Przemysław
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    17 Jan 2017 04:01 AM
    I've got one more question: have you maybe used page: https://linuxlink.timesys.com ?
    That page can generate different kernels for Torpedo
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    17 Jan 2017 08:07 AM
    I used a newer 4.x kernel. We have some (beta) instructions for using a Modern kernel located here:

    http://support.logicpd.co...talid=0&EntryId=3053

    Checkout Section 3.2.1. Instead of decompressing the tarball from Buildroot to extract your rootfs, use the tarball from Ubuntu.

    I haven't tried it, but if you want to try the stock kernel (3.0)

    Checkout Section 3.2.11 the older User Guide http://support.logicpd.co...talid=0&EntryId=1392


    The second partition would require you to extract all the Ubuntu files. The User Guide will help you setup the U-boot parameters to configure it to boot from the SD card.

    I wasn't able to get the GUI working because some of the newer GUI's require 3D accereration and we don't have that working yet.

    The Timesys kernel (I was told) might have the 3D acceleration working. We sent them our kernels and they wrap their filesystem around it. I haven't personally used their filesystem, but we have supported them in the past.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 12:20 AM
    Thanks Adam so much for reply. I'll try everything out.

    Regards,
    Przemyslaw
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 02:34 AM
    I've got question: where i can find default configurations needed in step:
    $ cp omap3_logic_buildroot_defconfig buildroot-2016.02/.config
    $ cp omap3_logic_kernel_defconfig linux-4.4.9/arch/arm/configs/.
    ?
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 03:37 AM
    Nevermind, i've found these files in VM for Mainstream linux.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    19 Jan 2017 07:28 AM
    Hello,

    I've succesfully installed and run kernel 4.4.9 on Torpedo :) I also installed X11 window package to kernel, bul kernel doesn't see any displays (on the development board). Can you tell me which packacge I have to install (some kind of driver?) for recognizing avaliable displays or how can i add display in linux kernel.

    Thanks for replies.

    Przemyslaw
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    19 Jan 2017 07:35 AM
    when i type 'startx' i get:


    Fatal server error:
    (EE) no screens found(EE)
    (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error



    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Jan 2017 07:45 AM
    The 4.4 Kernel doesn't have video support because some of the PWM migration to device tree wasn't complete which is another reason we considered the 4.4 build beta.

    I am going to see if I can find some patches for the 4.4 Kernel for you that will enable video. The newer, 4.9 Kernel has video support, but it's setup by default for the older display. I attempted to change it, but my patches to the mainline kernel were rejected because it would break any boards using the older display.

    Either way, I need to give you a patch. Would you prefer a 4.9 based patch or a 4.4 based patch?

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    20 Jan 2017 01:34 AM
    Adam, I've got 4.4.9 kernel so I want 4.4, thanks so much.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 01:07 AM
    Hi Adam again,

    can you tell me how can i include the patch you've sent me in my kernel?
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 02:40 AM
    Again nevermind, I've updated kernel.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 04:20 AM
    I've got another question: I've installed (in kernel) direct FB and i want to try it out. But if i run dfbtest_window (f. e. ) i get
    (!) Tests/Window: 'layer->CreateWindow( layer, &m_desc_sub, &window )' failed!
    --> Access to the resource is denied
    (!) RunTest: 'CreateSubWindow' failed!
    --> Access to the resource is denied
    [[ main ]] Shutting down...
    (!!!) *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3937]

    what might be the problem?

    What i want to do is to run these test or run the LCD touchsreen (and display anything).
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    23 Jan 2017 06:51 AM
    I don't have much experience with DirectFB. If you're trying to use the Touch Screen, have you experimented with the 'ts_calibrate' tool?

    It's the touch screen calibration tool. It should display some cross-hairs to touch which will help the touch screen driver calibrate itself.

    Since you'e trying to get video working, I should also mention that there are some timings issues I have had with the display driver and the stock Logic PD display panel.

    To work around them, I had to play with the defconfig file to make sure the display drivers are loaded in advance of the back light. To do this, I had to make the display drivers part of the kernel, and I made the backlight into a module.

    I haven't had much luck getting video to work on Ubuntu, and I haven't figured out why.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    24 Jan 2017 12:52 AM
    Hi,

    can you tell me what changes i have to make in defconfig (by def config do you mean duildroot_defconfig or kernel_def_config? ) to make sure that the display drivers are loaded? And how can I make the display drivers part of kernel and how can I make the backlight into a module?

    Regards
    Przemyslaw

    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    31 Jan 2017 02:53 AM
    Hi again,

    i've got question, i want to apply patch to kernel for torpedo and I've followed instructions:
    https://buildroot.org/downloads/manual/manual.html#_providing_patches
    but it didn't work. How can I apply patch?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    31 Jan 2017 07:14 AM
    There are two ways if you're using Buildroot:

    1. Manually apply the patch
    Going into output/build/linux-4.4.y
    Applying the patch. (patch -p1 -i (patch to patch)
    go back to buildroot home directory
    make linux-rebuild

    2. If you want Buildroot to autoapply the patch:
    place the patch in the Buildtroot home directory
    make menuconfig
    select Kernel
    select 'Custom kernel patches' and type the name of the patch

    Then either do all of step 1 to avoid rebuilding the whole kernel or
    make linux-dirclean (to remove the existing build)
    make linux (to rebuild and patch)
    make (to re-install all the new kernel modules to the output image)



    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    10 Feb 2017 03:52 AM
    Hi,

    I've got another question: how do i have to configure my u-boot to pass to the linux suitable parameters about video (display, resolution. bootargs) ?

    Thanks for reply about patching, it worked.

    Przemyslaw
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    10 Feb 2017 06:54 AM
    The modern Kernel uses a device tree to configure the display parameters. You'll want to look at arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts

    In there are all the display parameters. For for a container called panel-timing.

    It will have the clock frequency, resolution, and a variety of other settings. When you compile the device tree, U-Boot will pass this updated tree to the kernel and the drivers will take these settings and act accordingly.

    Details of the device tree can be found: Documentation/devicetree/bindings/display/panel/panel-dpi.txt and Documentation/devicetree/bindings/display/panel/display-timing.txt

    I can't remember if I sent you the 4.4.y patch to enable video and touch screen, but there are a bunch of video components that were added in kernels after the 4.4 which either need to be ported back.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    14 Feb 2017 05:51 AM
    Hi Adam,

    I'm trying kernel 4.9 for my torpedo, can you send me patch to that kernel to enable backlight etc?

    Thanks
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Feb 2017 06:37 AM
    diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    index 08cce17..54b2c57 100644
    --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    @@ -149,7 +149,7 @@

    lcd0: display {
    compatible = "panel-dpi";
    - label = "15";
    + label = "28";
    status = "okay";
    /* default-on; */
    pinctrl-names = "default";
    @@ -168,12 +168,12 @@
    hback-porch = <2>;
    hsync-len = <42>;
    vback-porch = <3>;
    - vfront-porch = <4>;
    + vfront-porch = <2>;
    vsync-len = <11>;
    - hsync-active = <0>;
    - vsync-active = <0>;
    :...skipping...
    diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    index 08cce17..54b2c57 100644
    --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
    @@ -149,7 +149,7 @@

    lcd0: display {
    compatible = "panel-dpi";
    - label = "15";
    + label = "28";
    status = "okay";
    /* default-on; */
    pinctrl-names = "default";
    @@ -168,12 +168,12 @@
    hback-porch = <2>;
    hsync-len = <42>;
    vback-porch = <3>;
    - vfront-porch = <4>;
    + vfront-porch = <2>;
    vsync-len = <11>;
    - hsync-active = <0>;
    - vsync-active = <0>;
    + hsync-active = <1>;
    + vsync-active = <1>;
    de-active = <1>;
    - pixelclk-active = <1>;
    + pixelclk-active = <0>;
    };
    };

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Feb 2017 06:40 AM

    I am using the following defconfig:

     

     

    CONFIG_KERNEL_LZMA=y
    CONFIG_SYSVIPC=y
    CONFIG_POSIX_MQUEUE=y
    CONFIG_AUDIT=y
    CONFIG_NO_HZ=y
    CONFIG_HIGH_RES_TIMERS=y
    CONFIG_BSD_PROCESS_ACCT=y
    CONFIG_IKCONFIG=y
    CONFIG_IKCONFIG_PROC=y
    CONFIG_LOG_BUF_SHIFT=16
    CONFIG_CGROUPS=y
    CONFIG_MEMCG=y
    CONFIG_MEMCG_SWAP=y
    CONFIG_BLK_CGROUP=y
    CONFIG_CGROUP_SCHED=y
    CONFIG_CFS_BANDWIDTH=y
    CONFIG_RT_GROUP_SCHED=y
    CONFIG_CGROUP_FREEZER=y
    CONFIG_CPUSETS=y
    CONFIG_CGROUP_DEVICE=y
    CONFIG_CGROUP_CPUACCT=y
    CONFIG_CGROUP_PERF=y
    CONFIG_BLK_DEV_INITRD=y
    CONFIG_SLAB=y
    CONFIG_PROFILING=y
    CONFIG_OPROFILE=y
    CONFIG_KPROBES=y
    CONFIG_MODULES=y
    CONFIG_MODULE_FORCE_LOAD=y
    CONFIG_MODULE_UNLOAD=y
    CONFIG_MODULE_FORCE_UNLOAD=y
    CONFIG_MODVERSIONS=y
    CONFIG_MODULE_SRCVERSION_ALL=y
    # CONFIG_BLK_DEV_BSG is not set
    CONFIG_PARTITION_ADVANCED=y
    CONFIG_ARCH_MULTI_V6=y
    CONFIG_POWER_AVS_OMAP=y
    CONFIG_POWER_AVS_OMAP_CLASS3=y
    CONFIG_OMAP_RESET_CLOCKS=y
    CONFIG_OMAP_MUX_DEBUG=y
    CONFIG_ARCH_OMAP2=y
    CONFIG_ARCH_OMAP3=y
    # CONFIG_MACH_OMAP3517EVM is not set
    # CONFIG_MACH_OMAP3_PANDORA is not set
    # CONFIG_MACH_NOKIA_N8X0 is not set
    CONFIG_ARM_THUMBEE=y
    CONFIG_PL310_ERRATA_588369=y
    CONFIG_PL310_ERRATA_727915=y
    CONFIG_ARM_ERRATA_411920=y
    CONFIG_ARM_ERRATA_720789=y
    CONFIG_ARM_ERRATA_754322=y
    CONFIG_ARM_ERRATA_775420=y
    CONFIG_HAVE_ARM_ARCH_TIMER=y
    CONFIG_CMA=y
    CONFIG_FORCE_MAX_ZONEORDER=12
    CONFIG_SECCOMP=y
    CONFIG_ZBOOT_ROM_TEXT=0x0
    CONFIG_ZBOOT_ROM_BSS=0x0
    CONFIG_ARM_APPENDED_DTB=y
    CONFIG_ARM_ATAG_DTB_COMPAT=y
    CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
    CONFIG_KEXEC=y
    CONFIG_CPU_FREQ=y
    CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
    CONFIG_CPU_FREQ_GOV_POWERSAVE=y
    CONFIG_CPU_FREQ_GOV_USERSPACE=y
    CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
    CONFIG_CPUFREQ_DT=m
    # CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
    CONFIG_CPU_IDLE=y
    CONFIG_BINFMT_MISC=y
    CONFIG_PM_DEBUG=y
    CONFIG_NET=y
    CONFIG_PACKET=y
    CONFIG_UNIX=y
    CONFIG_XFRM_USER=y
    CONFIG_NET_KEY=y
    CONFIG_NET_KEY_MIGRATE=y
    CONFIG_INET=y
    CONFIG_IP_MULTICAST=y
    CONFIG_IP_PNP=y
    CONFIG_IP_PNP_DHCP=y
    CONFIG_IP_PNP_BOOTP=y
    CONFIG_IP_PNP_RARP=y
    CONFIG_NETFILTER=y
    CONFIG_PHONET=m
    CONFIG_CAN=m
    CONFIG_CAN_C_CAN=m
    CONFIG_CAN_C_CAN_PLATFORM=m
    CONFIG_BT=m
    CONFIG_BT_RFCOMM=m
    CONFIG_BT_RFCOMM_TTY=y
    CONFIG_BT_BNEP=m
    CONFIG_BT_BNEP_MC_FILTER=y
    CONFIG_BT_BNEP_PROTO_FILTER=y
    CONFIG_BT_HIDP=m
    CONFIG_BT_HCIBTUSB=m
    CONFIG_BT_HCIBTSDIO=m
    CONFIG_BT_HCIUART=m
    CONFIG_BT_HCIUART_BCSP=y
    CONFIG_BT_HCIUART_LL=y
    CONFIG_BT_HCIUART_3WIRE=y
    CONFIG_BT_HCIBCM203X=m
    CONFIG_BT_HCIBPA10X=m
    CONFIG_BT_HCIBFUSB=m
    CONFIG_BT_HCIVHCI=m
    CONFIG_BT_MRVL=m
    CONFIG_BT_MRVL_SDIO=m
    CONFIG_AF_RXRPC=m
    CONFIG_RXKAD=y
    CONFIG_CFG80211=m
    CONFIG_MAC80211=m
    CONFIG_DEVTMPFS=y
    CONFIG_DEVTMPFS_MOUNT=y
    CONFIG_DMA_CMA=y
    CONFIG_OMAP_OCP2SCP=y
    CONFIG_CONNECTOR=m
    CONFIG_MTD=y
    CONFIG_MTD_CMDLINE_PARTS=y
    CONFIG_MTD_BLOCK=y
    CONFIG_MTD_OOPS=y
    CONFIG_MTD_CFI=y
    CONFIG_MTD_CFI_INTELEXT=y
    CONFIG_MTD_PHYSMAP=y
    CONFIG_MTD_PHYSMAP_OF=y
    CONFIG_MTD_M25P80=m
    CONFIG_MTD_NAND=y
    CONFIG_MTD_NAND_ECC_BCH=y
    CONFIG_MTD_NAND_OMAP2=y
    CONFIG_MTD_NAND_OMAP_BCH=y
    CONFIG_MTD_ONENAND=y
    CONFIG_MTD_ONENAND_VERIFY_WRITE=y
    CONFIG_MTD_ONENAND_OMAP2=y
    CONFIG_MTD_SPI_NOR=m
    CONFIG_MTD_UBI=y
    CONFIG_BLK_DEV_LOOP=y
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_SIZE=16384
    CONFIG_SENSORS_TSL2550=m
    CONFIG_SRAM=y
    CONFIG_EEPROM_AT24=m
    CONFIG_SENSORS_LIS3_I2C=m
    CONFIG_BLK_DEV_SD=y
    CONFIG_SCSI_SCAN_ASYNC=y
    CONFIG_ATA=y
    CONFIG_SATA_AHCI_PLATFORM=y
    CONFIG_NETDEVICES=y
    # CONFIG_NET_VENDOR_ARC is not set
    # CONFIG_NET_CADENCE is not set
    # CONFIG_NET_VENDOR_BROADCOM is not set
    # CONFIG_NET_VENDOR_CIRRUS is not set
    CONFIG_DM9000=y
    # CONFIG_NET_VENDOR_FARADAY is not set
    # CONFIG_NET_VENDOR_HISILICON is not set
    # CONFIG_NET_VENDOR_INTEL is not set
    # CONFIG_NET_VENDOR_MARVELL is not set
    CONFIG_KS8851=y
    CONFIG_KS8851_MLL=y
    # CONFIG_NET_VENDOR_MICROCHIP is not set
    # CONFIG_NET_VENDOR_NATSEMI is not set
    # CONFIG_NET_VENDOR_QUALCOMM is not set
    # CONFIG_NET_VENDOR_SAMSUNG is not set
    # CONFIG_NET_VENDOR_SEEQ is not set
    CONFIG_SMC91X=y
    CONFIG_SMSC911X=y
    # CONFIG_NET_VENDOR_STMICRO is not set
    CONFIG_TI_DAVINCI_EMAC=y
    CONFIG_TI_CPSW=y
    CONFIG_TI_CPTS=y
    # CONFIG_NET_VENDOR_VIA is not set
    # CONFIG_NET_VENDOR_WIZNET is not set
    CONFIG_AT803X_PHY=y
    CONFIG_SMSC_PHY=y
    CONFIG_USB_NET_DRIVERS=m
    CONFIG_USB_USBNET=m
    CONFIG_USB_NET_SMSC75XX=m
    CONFIG_USB_NET_SMSC95XX=m
    CONFIG_USB_ALI_M5632=y
    CONFIG_USB_AN2720=y
    CONFIG_USB_EPSON2888=y
    CONFIG_USB_KC2190=y
    CONFIG_USB_CDC_PHONET=m
    CONFIG_LIBERTAS=m
    CONFIG_LIBERTAS_USB=m
    CONFIG_LIBERTAS_SDIO=m
    CONFIG_LIBERTAS_DEBUG=y
    CONFIG_MWIFIEX=m
    CONFIG_MWIFIEX_SDIO=m
    CONFIG_MWIFIEX_USB=m
    CONFIG_WL12XX=m
    CONFIG_WL18XX=m
    CONFIG_WLCORE_SPI=m
    CONFIG_WLCORE_SDIO=m
    CONFIG_INPUT_JOYDEV=m
    CONFIG_INPUT_EVDEV=m
    CONFIG_KEYBOARD_ATKBD=m
    CONFIG_KEYBOARD_GPIO=m
    CONFIG_KEYBOARD_MATRIX=m
    # CONFIG_INPUT_MOUSE is not set
    CONFIG_INPUT_TOUCHSCREEN=y
    CONFIG_TOUCHSCREEN_ADS7846=m
    CONFIG_TOUCHSCREEN_EDT_FT5X06=m
    CONFIG_TOUCHSCREEN_TI_AM335X_TSC=m
    CONFIG_TOUCHSCREEN_PIXCIR=m
    CONFIG_TOUCHSCREEN_TSC2005=m
    CONFIG_TOUCHSCREEN_TSC2007=m
    CONFIG_INPUT_MISC=y
    CONFIG_INPUT_TWL4030_PWRBUTTON=m
    CONFIG_SERIO=m
    # CONFIG_LEGACY_PTYS is not set
    CONFIG_SERIAL_8250=y
    CONFIG_SERIAL_8250_CONSOLE=y
    CONFIG_SERIAL_8250_NR_UARTS=32
    CONFIG_SERIAL_8250_EXTENDED=y
    CONFIG_SERIAL_8250_MANY_PORTS=y
    CONFIG_SERIAL_8250_SHARE_IRQ=y
    CONFIG_SERIAL_8250_DETECT_IRQ=y
    CONFIG_SERIAL_8250_RSA=y
    CONFIG_SERIAL_OF_PLATFORM=y
    CONFIG_SERIAL_OMAP=y
    CONFIG_SERIAL_OMAP_CONSOLE=y
    CONFIG_I2C_CHARDEV=y
    CONFIG_SPI=y
    CONFIG_SPI_OMAP24XX=y
    CONFIG_SPI_TI_QSPI=m
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_GPIO_SYSFS=y
    CONFIG_GPIO_PCA953X=m
    CONFIG_GPIO_PCF857X=y
    CONFIG_GPIO_TWL4030=y
    CONFIG_W1=m
    CONFIG_HDQ_MASTER_OMAP=m
    CONFIG_W1_SLAVE_BQ27000=m
    CONFIG_POWER_AVS=y
    CONFIG_POWER_RESET=y
    CONFIG_BATTERY_BQ27XXX=m
    CONFIG_HWMON=m
    CONFIG_SENSORS_GPIO_FAN=m
    CONFIG_SENSORS_LM75=m
    CONFIG_SENSORS_TMP102=m
    CONFIG_THERMAL=m
    CONFIG_THERMAL_GOV_FAIR_SHARE=y
    CONFIG_THERMAL_GOV_USER_SPACE=y
    CONFIG_CPU_THERMAL=y
    CONFIG_TI_SOC_THERMAL=m
    CONFIG_TI_THERMAL=y
    CONFIG_WATCHDOG=y
    CONFIG_OMAP_WATCHDOG=m
    CONFIG_TWL4030_WATCHDOG=m
    CONFIG_MFD_TI_AM335X_TSCADC=m
    CONFIG_REGULATOR_LP872X=y
    CONFIG_REGULATOR_PBIAS=y
    CONFIG_REGULATOR_TI_ABB=y
    CONFIG_REGULATOR_TWL4030=y
    CONFIG_MEDIA_SUPPORT=m
    CONFIG_MEDIA_CAMERA_SUPPORT=y
    CONFIG_MEDIA_RC_SUPPORT=y
    CONFIG_MEDIA_CONTROLLER=y
    CONFIG_VIDEO_V4L2_SUBDEV_API=y
    CONFIG_LIRC=m
    CONFIG_RC_DEVICES=y
    CONFIG_IR_RX51=m
    CONFIG_V4L_PLATFORM_DRIVERS=y
    CONFIG_VIDEO_OMAP3=m
    # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
    CONFIG_VIDEO_TVP5150=m
    CONFIG_FB=y
    CONFIG_FIRMWARE_EDID=y
    CONFIG_FB_MODE_HELPERS=y
    CONFIG_FB_TILEBLITTING=y
    CONFIG_FB_OMAP2=y
    # CONFIG_FB_OMAP4_DSS_HDMI is not set
    CONFIG_FB_OMAP2_DSS_MIN_FCK_PER_PCK=4
    CONFIG_FB_OMAP2_CONNECTOR_ANALOG_TV=m
    CONFIG_FB_OMAP2_PANEL_DPI=y
    CONFIG_BACKLIGHT_LCD_SUPPORT=y
    CONFIG_LCD_CLASS_DEVICE=y
    CONFIG_LCD_PLATFORM=y
    CONFIG_BACKLIGHT_CLASS_DEVICE=y
    # CONFIG_BACKLIGHT_GENERIC is not set
    CONFIG_BACKLIGHT_PWM=m
    CONFIG_FRAMEBUFFER_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
    CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
    CONFIG_SOUND=m
    CONFIG_SND=m
    CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m
    CONFIG_SND_VERBOSE_PRINTK=y
    CONFIG_SND_DEBUG=y
    CONFIG_SND_USB_AUDIO=m
    CONFIG_SND_SOC=m
    CONFIG_SND_EDMA_SOC=m
    CONFIG_SND_DAVINCI_SOC_MCASP=m
    CONFIG_SND_OMAP_SOC=m
    CONFIG_SND_OMAP_SOC_OMAP_TWL4030=m
    CONFIG_SND_SOC_TLV320AIC3X=m
    CONFIG_SND_SIMPLE_CARD=m
    CONFIG_HID_GENERIC=m
    # CONFIG_HID_A4TECH is not set
    # CONFIG_HID_APPLE is not set
    # CONFIG_HID_BELKIN is not set
    # CONFIG_HID_CHERRY is not set
    # CONFIG_HID_CHICONY is not set
    # CONFIG_HID_CYPRESS is not set
    # CONFIG_HID_EZKEY is not set
    # CONFIG_HID_KENSINGTON is not set
    # CONFIG_HID_LOGITECH is not set
    # CONFIG_HID_MICROSOFT is not set
    # CONFIG_HID_MONTEREY is not set
    CONFIG_USB_HID=m
    CONFIG_USB_HIDDEV=y
    CONFIG_USB=y
    CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
    CONFIG_USB_MON=m
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB_OHCI_HCD=y
    CONFIG_USB_WDM=m
    CONFIG_USB_STORAGE=m
    CONFIG_USB_MUSB_HDRC=y
    CONFIG_USB_MUSB_OMAP2PLUS=y
    CONFIG_USB_INVENTRA_DMA=y
    CONFIG_USB_SERIAL=m
    CONFIG_USB_SERIAL_GENERIC=y
    CONFIG_USB_SERIAL_SIMPLE=m
    CONFIG_USB_SERIAL_FTDI_SIO=m
    CONFIG_USB_SERIAL_PL2303=m
    CONFIG_USB_TEST=m
    CONFIG_NOP_USB_XCEIV=y
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_DEBUG_FILES=y
    CONFIG_USB_GADGET_DEBUG_FS=y
    CONFIG_USB_CONFIGFS=m
    CONFIG_USB_CONFIGFS_SERIAL=y
    CONFIG_USB_CONFIGFS_ACM=y
    CONFIG_USB_CONFIGFS_OBEX=y
    CONFIG_USB_CONFIGFS_NCM=y
    CONFIG_USB_CONFIGFS_ECM=y
    CONFIG_USB_CONFIGFS_ECM_SUBSET=y
    CONFIG_USB_CONFIGFS_RNDIS=y
    CONFIG_USB_CONFIGFS_EEM=y
    CONFIG_USB_CONFIGFS_PHONET=y
    CONFIG_USB_CONFIGFS_MASS_STORAGE=y
    CONFIG_USB_CONFIGFS_F_LB_SS=y
    CONFIG_USB_CONFIGFS_F_FS=y
    CONFIG_USB_CONFIGFS_F_UAC1=y
    CONFIG_USB_CONFIGFS_F_UAC2=y
    CONFIG_USB_CONFIGFS_F_MIDI=y
    CONFIG_USB_CONFIGFS_F_HID=y
    CONFIG_USB_ZERO=m
    CONFIG_USB_G_NOKIA=m
    CONFIG_MMC=y
    CONFIG_SDIO_UART=y
    CONFIG_MMC_OMAP=y
    CONFIG_MMC_OMAP_HS=y
    CONFIG_NEW_LEDS=y
    CONFIG_LEDS_CLASS=m
    CONFIG_LEDS_GPIO=m
    CONFIG_LEDS_PCA963X=m
    CONFIG_LEDS_PWM=m
    CONFIG_LEDS_TRIGGERS=y
    CONFIG_LEDS_TRIGGER_TIMER=m
    CONFIG_LEDS_TRIGGER_ONESHOT=m
    CONFIG_LEDS_TRIGGER_HEARTBEAT=m
    CONFIG_LEDS_TRIGGER_BACKLIGHT=m
    CONFIG_LEDS_TRIGGER_CPU=y
    CONFIG_LEDS_TRIGGER_GPIO=m
    CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
    CONFIG_RTC_CLASS=y
    CONFIG_RTC_DRV_TWL4030=y
    CONFIG_DMADEVICES=y
    CONFIG_DMA_OMAP=y
    CONFIG_TI_CPPI41=m
    CONFIG_TI_EDMA=y
    CONFIG_OMAP_IOMMU=y
    CONFIG_EXTCON=m
    CONFIG_EXTCON_USB_GPIO=m
    CONFIG_TI_EMIF=m
    CONFIG_OMAP_GPMC_DEBUG=y
    CONFIG_IIO=m
    CONFIG_TI_AM335X_ADC=m
    CONFIG_BMP280=m
    CONFIG_PWM=y
    CONFIG_PWM_OMAP_DMTIMER=m
    CONFIG_PWM_TWL=m
    CONFIG_PWM_TWL_LED=m
    CONFIG_OMAP_USB2=m
    CONFIG_TI_PIPE3=y
    CONFIG_TWL4030_USB=y
    CONFIG_EXT2_FS=y
    CONFIG_EXT3_FS=y
    CONFIG_FANOTIFY=y
    CONFIG_QUOTA=y
    CONFIG_QFMT_V2=y
    CONFIG_AUTOFS4_FS=m
    CONFIG_MSDOS_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_TMPFS=y
    CONFIG_TMPFS_POSIX_ACL=y
    CONFIG_CONFIGFS_FS=y
    CONFIG_JFFS2_FS=y
    CONFIG_JFFS2_SUMMARY=y
    CONFIG_JFFS2_FS_XATTR=y
    CONFIG_JFFS2_COMPRESSION_OPTIONS=y
    CONFIG_JFFS2_LZO=y
    CONFIG_JFFS2_RUBIN=y
    CONFIG_UBIFS_FS=y
    CONFIG_CRAMFS=y
    CONFIG_NFS_FS=y
    CONFIG_NFS_V3_ACL=y
    CONFIG_NFS_V4=y
    CONFIG_ROOT_NFS=y
    CONFIG_NLS_CODEPAGE_437=y
    CONFIG_NLS_ISO8859_1=y
    CONFIG_PRINTK_TIME=y
    CONFIG_DEBUG_FS=y
    CONFIG_MAGIC_SYSRQ=y
    CONFIG_STACKTRACE=y
    CONFIG_SECURITY=y
    CONFIG_CRYPTO_MICHAEL_MIC=y
    CONFIG_CRC_CCITT=y
    CONFIG_CRC_T10DIF=y
    CONFIG_CRC_ITU_T=y
    CONFIG_CRC7=y
    CONFIG_LIBCRC32C=y
    CONFIG_FONTS=y
    CONFIG_FONT_8x8=y
    CONFIG_FONT_8x16=y
     

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Feb 2017 06:47 AM
    The timing of the Logic PD Type 28 Display requires that the LCD be enabled before the backlight, so I configured the defconfig to pull the LCD panel driver and display sub-system into the kernel and the backlight is pulled in as a module.

    If the modules are not being automatically loaded, make sure you load pwm_omap_dmtimer and pwm_bl.

    pwm_bl is the backlight interface, and pwm_omap_dmtimer is the timer drives it.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    15 Feb 2017 06:39 AM
    Hi Adam, thanks for patch and config.

    Can you send me appropriate device tree for torpedo for kernel 4.4.y? (not 4.9). I have many problems with confoguring usb ports (kernel doesn;t see anything if I plug in USB drive or 2nd mmc card in J29), i can't configure properly u-boot (no display in linux) and I don't have ethernet support...

    Regards
    Przemysław
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    15 Feb 2017 06:53 AM
    I've got another request for you - can you explain me (step by step) what should i do to run ubuntu (fe. 14.04 LTS) base on torpedo?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    15 Feb 2017 06:54 AM
    The Mainline Linux Kernel is beta, and not all features are fully functional. If you'd like assistance getting some of these features functional again, we do offer design services where our software engineers can contract with you to troubleshoot and/or design in the missing code. Let me know if you want one of our account managers to contact you.

    The only USB port that is functional is the OTG Port. There is no mainline support for the ISP1763, so the USB Host ports are non-functional. The USB OTG port should function, but you'll need to make sure you have modprobed a USB Gadget even if you want the OTG port to work as a host. For simple host functions, I usually modprobe g_zero.

    The second MMC slot was never enabled in the device tree, so by default it doesn't work.

    Ethernet should be working on 4.9, I am not sure why you would be having problems. Are you using our base development kit? It wasn't clear to me from the previous message what the Ethernet issues are. Are you having Ethernet issues in U-Boot or Linux?

    Having said this, I can send you patches for the 4.4 kernel, but the same conditions I stated above are true for the 4.4 Kernel. It will take me a few minutes, but I'll send you a private e-mail with those patches.

    adam

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    15 Feb 2017 07:12 AM
    Unfortunately, I don't have instructions for running Ubuntu on the Torpedo. Our baseline RootFS is based on Buildroot. If you'd like to utilize our design services, I can have an account manager contact you. Depending on volume and annual usage, everything is negotiable, and we have people who can assist.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    15 Feb 2017 07:14 AM
    Thanks Adam, I'll try with kernel 4.4.48 (kernel 4.9.y hasn't compiled succesfully :( )
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    20 Feb 2017 03:51 AM
    Hi Adam,

    i've got questions: when will be avaliable full version of mainstream linux for torpedo (not beta) ? Full version - with configured LCD, usb, ethernet etc. You have plans to make your own linux distribution for torpedo?

    Regards
    Przemyslaw
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    20 Feb 2017 03:52 AM
    I mean version with kernel 4.4.y or 4.9.y
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    20 Feb 2017 06:39 AM
    We don't have any set dates, but I am pushing to have the 4.9.y kernel become the basis for the next released BSP to avoid the backporting for 4.4.y. The original 4.4 Beta was done by me alone at home in my spare time. We had one customer adopt it and we tested a significant number of non-wireless Torpedo features including video and touchscreen.

    I'll talk with an account manager and some others to see what we can do.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    20 Feb 2017 07:00 AM
    If you know something about datas (when you will be after talking with an account manager) please give me info about it, thanks.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    19 Sep 2017 08:33 AM
    Hi Adam,

    anything new?

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Sep 2017 09:49 AM
    We just released an updated beta BSP on our support site based on the 4.4.76 kernel.

    The release note are here: http://support.logicpd.co...talid=0&EntryId=3128

    The updated VM is here: http://support.logicpd.co...talid=0&EntryId=3144

    and the updated user guide is here: http://support.logicpd.co...talid=0&EntryId=3053

    You'll need to be logged in to make the links active.

    We're still planning a 4.9 kernel, but it's not finished going though our quality and review testing. There is a high degree of probability that the 4.14 kernel will be support at some later time, but it's not finalized yet.

    adam

    adam

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    06 Apr 2018 10:43 AM
    A beta BSP based on Kernel 4.9 is in the final stages of our quality testing and reviews.

    It adds instructions for using the Audio and Camera capture (albeit slower than using the DSP from our 3.0 kernel due to TI's dropping support for the DSP)

    It still will not have DSP, ISP1763 or 3D acceleration support due to lack of community support and/or vendor support for those devices.

    adam


    ---