Git Product home page Git Product logo

Comments (7)

everclear72216 avatar everclear72216 commented on July 23, 2024

The issue you are seing is that the sgx kernel module was not loaded: Either because the devicetree did not enable the device or because the module is not built into the kernel. Since everything works fine on my machine I'm gonna have to do some basic trouble-shooting with you:
Are you sure you used the commit from meta-ti that i'm now specifiying in the README.md? During my tests I also flashed the rootfs and definitely removed any pre-existing uEnv.txt. uEnv.txt is optional and Since it is not generated by yocto it is not necessary. Please remove your uEnv.txt beacuase it conflicts with the way I'm handling loading of the dtb files. Make sure that in your /boot directory on the rootfs there is a symbolic link "devicetree.dtb" that points to the dtb-file for the 7" touch screen.

from meta-mb.

messi1 avatar messi1 commented on July 23, 2024

Thanks for the tip. No I ported the 4.9 stuff to the rocko release.
I'm now checking out the commit which you mentioned in the readme, clean all and start a rebuild.

from meta-mb.

messi1 avatar messi1 commented on July 23, 2024

Hi Martin
after a clean build I recreated a new image.
Unfortunately it didn't boot.
Now the only difference could be in creating the image.
I made a script for that.
My partition looks like this:
Disk /dev/sdd: 14.7 GiB, 15811477504 bytes, 30881792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 63 144584 144522 70.6M c W95 FAT32 (LBA)
/dev/sdd2 160650 3132674 2972025 1.4G 83 Linux
/dev/sdd3 3148740 4192964 1044225 509.9M 83 Linux

Have you set any variables in the uboot or did you changed the GPIO55?
Any other ideas?
Thanks a lot.

picocom /dev/ttyUSB0 -b 115200
picocom v1.7

port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,

Terminal ready

U-Boot SPL 2013.04-dirty (May 06 2013 - 16:12:47)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
mmc_send_cmd : timeout: No status update
reading u-boot.img
reading u-boot.img

U-Boot 2013.04-dirty (May 06 2013 - 16:12:47)

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

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
micro SD card found
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
gpio: pin 55 (gpio 55) value is 1
** File not found /boot/uImage **
U-Boot#

from meta-mb.

everclear72216 avatar everclear72216 commented on July 23, 2024

Comparing sizes or checksums won't do any good. The results will vary because the date and sometimes also the name of the machine building it is compiled into the artifacts.

The logs you sent indicate that you still have the wrong version of u-boot. 2013.04 instead of 2017.01.
Please try running "bitbake -c cleansstate virtual/bootloader". Also clean sstate for the rootfs. Then rebuild.

from meta-mb.

messi1 avatar messi1 commented on July 23, 2024

Hi Martin
I have fixed the issue. It was on my side.
The script created a Fat32 boot partition instead of Fat16.
And there was also an old uboot and kernel on the emmc memory.
So the new stuff didn't boot correctly. Now the eglinfo worked correctly.
Now I will try to activate the HDMI port for some small test with QML.

One point is a little bit awkward, why have checked in two times defconfig in the recipes-kernel?
Thanks for your effort.

from meta-mb.

everclear72216 avatar everclear72216 commented on July 23, 2024

I'm glad you could solve the problem. Hope it works with HDMI. I patched the dts file for HDMI as well but never came around to testing it. Maybe you could share if it is working or not?

from meta-mb.

messi1 avatar messi1 commented on July 23, 2024

Keep you informed when I find it out.
Can you explain me why two defconfig in recipes-kernel?

from meta-mb.

Related Issues (5)

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.