Git Product home page Git Product logo

meta-marsboard-bsp's People

Contributors

frankbau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-marsboard-bsp's Issues

New DTS file

Hi, I once copied and used your device tree file (thanks for that). Since then, me and another guy from Germany have extended this file.

I thought dropping my current device tree file here would be a good idea, maybe you can use it.
I use MarS Board with OpenELEC/LibreELEC and xbian 4.4 kernel with HDMI audio/video, running really great even with 20GB full hd movies :)

imx6dl-marsboard.dts.txt

best regards
Jan Hieber

I2C Communication is not happen with dedicated pins For Touch Screen

Hi FrankBau ,
PFA,
I want to enable the touch screen in my LCD (St7789s LCD driver IC) and touch controller is is FT6306DMB with MARS imx6 dual cortex A9 Board, when i am connect the pin no 42 & 43 on board side for I2C communication i am not getting any signal on oscilloscope(please refer the image name by LCDPARALLELPORT.png), But when i am connect the pin no 3 & 5 on Expantion Port(J11) in Board side i am getting the some signal on oscilloscope with wrong address(please refer the image ExpantionPort.png ), i am expecting the 0x38 is the correct address, in boot log i am getting the message like" could not detect touch screen -19" could you please help me where i am wrong in this case , how to solve this issue,

Best Regards
sgnandish

Build fails on jethro branch

Build target: core-image-base
Offending package: fsl-alsa-plugins
Compile error:
/mnt/dat/Work/dev/ARM/iMX/jethro/build/tmp/work/marsboard-poky-linux-gnueabi/fsl-alsa-plugins/1.0.25-r0/fsl-alsa-plugins-1.0.25/asrc/asrc_pair.c:28:28: fatal error: linux/mxc_asrc.h: No such file or directory
compilation terminated.

devregs in C language

Hi,
as many boards (like mine) doesn't have C++ libraries installed by default, I made some little adaptations to devregs.cpp to convert it in C language.

I put converted file here to anyone needs a C binary instead of C++ one.

This binary is based on devregs.cpp in commit fdd9c392f5273d26696315939e0ab893e4cbc6cb.

To compile it using included autoconf, simply place attached .c file in src directory and apply below changes:

diff --git a/configure.ac b/configure.ac
index 374e12b..e8dc528 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,9 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(devregs, 1.0, [email protected])
-AC_CONFIG_SRCDIR(src/devregs.cpp)
+AC_CONFIG_SRCDIR(src/devregs.c)

AM_INIT_AUTOMAKE

-AC_PROG_CXX
+AC_PROG_CC

AC_OUTPUT(Makefile src/Makefile)
diff --git a/src/Makefile.am b/src/Makefile.am
index 22f3556..faf2fc7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
bin_PROGRAMS = devregs
-devregs_SOURCES = devregs.cpp
+devregs_SOURCES = devregs.c

sysconf_DATA = $(top_srcdir)/dat/*.dat

Note that I only made simple changes to translate it to C, I didn't do/add anything other (like check of return value of mallocs, free allocated space etc.).

Regards

mauro

devregs.c.txt

Touch Scereen Probe Failed

Hi Frank,

I want to interface the LCD (driver is ST7789S is up now )and touch screen(driver is FT6306DMB) with MARS imx6 dual cortex A9 Board, LCD Display is working Fine, But making the Touch Screen(Panel) to work
I added the below code in my imx6q-marsboard.dtb file
// MY TOUCH PANEL CODE
&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
polytouch: edt-ft5x06@38 {
compatible = "edt,edt-ft6306", "edt,edt-ft5x06";
reg = <0x38>;
pinctrl-names = "default";
pinctrl-0 = <&edt_ft5x06_pins>;
interrupt-parent = <&gpio2>;
interrupts = <11 2>;
reset-gpios = <&gpio7 13 1>;
};
};
//MY TOUCH PANLE CODE END

        //MY TOUCH PANEL CODE
        edt_ft5x06_pins: edt-ft5x06grp {
        fsl,pins = <
                            MX6QDL_PAD_SD4_DAT3__GPIO2_IO11         0x1b0b0  //Interrupt
                            MX6QDL_PAD_GPIO_18__GPIO7_IO13            0x1b0b0 //Reset
                         >;
    };                
               //MY TOUCH PANEL CODE END

but i am getting the bellow following boot log error and touchscreen probed failed and i enabled i2c driver in kernel also,

hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
MY TOUCH PANEL PROBE FUNCTION GET CALLED

usb 1-1: new high-speed USB device number 2 using ci_hdrc

**edt_ft5x06 2-0038: touchscreen probe failed

edt_ft5x06: probe of 2-0038 failed with error -5**
check_alarm_past: alarm in the past
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized

Could you please help me to come out of this problem
best Regards
nandish sg

Mars Board Stuck at Starting Kernel....

Hi Frank,

I am using the Mars Board, For this board i build the "core-image-sato" image,For buliding this image i followed this link

  1. (https://github.com/FrankBau/meta-marsboard-bsp/wiki/Setting-up-the-Build-Environment),

  2. Then i added QT5 layer to source dir (git clone -b jethro https://github.com/meta-qt5/meta-qt5.git) 3) Then i added the Mars Board layer to source dir (git clone -b krogoth https://github.com/FrankBau
    /meta-marsboard-bsp)

  3. Finally i set the "MACHINE=marsboard source setup-environment build"

  4. Then i build the image using "bitbake core-image-sato",
    in this case i am succeed to build and run the image on HDMI display without changing any uboot
    parameter,
    Now i am facing some problems they are as given below,

  5. when i am recompile the "uImage" without changing anything in source i am getting the "uImage"
    with only 2.1MB of size (but it was actually 5.8MB originally size), for compiling
    in case (i) : "make -j4 uImage" it gives 2.1MB size of uIamge.
    in case (ii): "make -j4 uImage LOADADDR=0x10008000" it gives 5.0MB size of uImage.
    when i am use the case (ii) uImage it is not working, and i set the load address also, it stuck at
    starting kernel....,

  6. Now i want to interface this board with "New Heaven Display 5" LCD [hx8257 driver IC]", so i modified some changes in source then i recompile the "imx6q-marsboard.dts" and "uImage" for uImage i use the follwing command "make -j4 uImage LOADADDR=0x10008000" this also gives the same 5.0MB size of uImage, And i use this uImage with setting the Load Address it stuck at starting kernel...

below is the kernel logs:

U-Boot 2016.09.01 (Feb 23 2017 - 11:55:26 +0530)

CPU: Freescale i.MX6D rev1.2 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 39C
Reset cause: POR
Board: MarSBoard
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
No panel detected: default to HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Error: FEC address not set.

Hit any key to stop autoboot: 0
reading /uImage
4970760 bytes read in 259 ms (18.3 MiB/s)
reading /imx6q-marsboard.dtb
36549 bytes read in 19 ms (1.8 MiB/s)

Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-4.1.15+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4970696 Bytes = 4.7 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK

Flattened Device Tree blob at 12000000

Booting using the fdt blob at 0x12000000
Loading Kernel Image ... OK
Using Device Tree in place at 12000000, end 1200bec4

Starting kernel ...

then i update the "u-boot.imx" also it doesn't help me to solve this issue,

could you please help me to come out this problem,

Thanks in advance

Best Regards

nandishsg

error in qt build image

hello,
when I build the image with qt:
bitbake image-multimedia-full-with-qt

I get the following error about applying a patch in qtbase for mkspec
ERROR: qtbase-5.5.1+gitAUTOINC+5afc431323-r0 do_patch: Command Error: 'quilt --quiltrc /home/armdev/imx6/build_fb/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: Applying patch 0014-Add-IMX-GPU-support.patch patching file mkspecs/linux-oe-g++/qmake.conf Hunk #1 FAILED at 39. 1 out of 1 hunk FAILED -- rejects in file mkspecs/linux-oe-g++/qmake.conf Patch 0014-Add-IMX-GPU-support.patch does not apply (enforce with -f) ERROR: qtbase-5.5.1+gitAUTOINC+5afc431323-r0 do_patch: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /home/armdev/imx6/build_fb/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/qtbase/5.5.1+gitAUTOINC+5afc431323-r0/temp/log.do_patch.15260 ERROR: Task (/home/armdev/imx6/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_patch) failed with exit code '1'

Thank's

Kernel won't boot

Hi. I'm trying to build and boot an image for my MarS board. I was able to build the core-image-minal and virtual/bootloader using bitbake without any errors, and even deploy the bootloader on the board.

However, I got stuck trying to boot the kernel:

U-Boot 2015.07-rc2 (Dec 14 2015 - 21:16:52 -0200)

CPU:   Freescale i.MX6D rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 42C
Reset cause: POR
Board: MarSBoard
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
auto-detected panel HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0 
reading /uImage
4761896 bytes read in 265 ms (17.1 MiB/s)
reading /imx6q-marsboard.dtb
40601 bytes read in 19 ms (2 MiB/s)
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.10.53-1.1.0+yocto+gebb44
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4761832 Bytes = 4.5 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 12000000
   Booting using the fdt blob at 0x12000000
   Loading Kernel Image ... OK
   Using Device Tree in place at 12000000, end 1200ce98

Starting kernel ...

The boot process just stops there. There is some LED activity on the board for a few seconds, but I don't know if it is related to the kernel booting but not outputting anything to the console.

I followed the wiki instructions to the letter, deleted the build dir and then tried again, but with no success. I'm out of ideas. Can you help me? Thanks!

recipe image-multimedia-full fails on branch jethro

Doing
bitbake image-multimedia-full
fails while linking eglingo-fb_1.0.0.bb recipe and gives following errors

[snip]
undefined reference to fbCreateWindow' [snip] undefined reference tofbGetDisplayByIndex'
[snip]
collect2: error: ld returned 1 exis status
[snip]
sources/poky/meta/recipes-graphics/eglinfo-fb_1.0.0.bb do_compile failed with exit code 1

Removing "eglinfo-fb" from IMAGE_INSTALL_append in sources/meta-marsboard-bsp/recipes-images/image-multimedia-full/image-multimedia-full.bb works around this linking error as ellinfo-fb is not built at all. Found https://www.toradex.com/community/questions/2477/how-to-add-framebuffer-egl-to-console-trdx-image.html

Mars Board is Struck When Boot From SD card.

@FrankBau

I am trying to boot the mars board from SD card but It is struck while reading the uboot and kernel image, and i set the boot mode switches both in OFF mode, For building the image ,loading the image and booting, i followed this link completely all steps mentioned in this (https://github.com/FrankBau/meta-marsboard-bsp/wiki), Then i got below is mars board logs

U-Boot 2009.08-svn7 (Mar 26 2013 - 10:11:21)

CPU: Freescale i.MX6 family TO0.0 at 792 MHz
Temperature: 38 C, calibration data 0x55b4ca69
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 24000000Hz
Board: MX6Q-MARSBOARD:[ POR]
Boot Device: I2C
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1
JEDEC ID: 0xbf:0x25:0x41
Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x276009b8
SUCCESS

In: serial
Out: serial
Err: serial
Net: got MAC address from IIM: 00:00:00:00:00:00
----enet_board_init: phy reset
FEC0 [PRIME]
Hit any key to stop autoboot: 0
MX6Q MARSBOARD U-Boot >
MX6Q MARSBOARD U-Boot >
MX6Q MARSBOARD U-Boot >
MX6Q MARSBOARD U-Boot > mmc rescan
MX6Q MARSBOARD U-Boot > mmc dev 0
mmc0 is current device
MX6Q MARSBOARD U-Boot > fatload mmc 0 0x10800000 uImage
reading uImage

5797192 bytes read
MX6Q MARSBOARD U-Boot > setenv bootargs console=ttymxc1,115200 consoleblank=0 rootwait root=/dev/mmcb
MX6Q MARSBOARD U-Boot >
MX6Q MARSBOARD U-Boot >
MX6Q MARSBOARD U-Boot > bootm 0x10800000

Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-4.1.15-1.0.0_ga+yocto+g76c
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5797128 Bytes = 5.5 MB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

=================================================================================
can you have any suggestion for how to resolve this issue, it would be great help to me,

Best Regards
KunalMQ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.