Giter VIP home page Giter VIP logo

cookers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cookers's Issues

TEP 0700 imx7 Android 7.1.1 WebView not working

Hello,

I'm trying to launch an application with a WebView on Android 7.1.1 downloaded from your repository on the TEP (model TEP0700IMX7DR10E04L130) but every times I get this Log (even using other applications with WebView inside):

[FATAL:gpu_info_collector_android.cc(193)] failed to create a pbuffer surface for fetching driver strings. EGL_SUCCESS (3000)

Best regards

GPIOD_JNI_TEST not working

Hello,

I was finished the Android 11 image building for EDM-G-IMX8M-PLUS board, and boot successfully,
but I can not using the APP "GPIOD_JNI_TEST" to change the gpio status,
For example: pin 249 is GPIO4_IO06 so i choose gpio bank 4 and gpio line 6, but not working.

cookers for imx6

When will the cookers and sources be available? I can download a precompiled oreo for the picosom imx6 devices but can not build it myself, can you help me with the missing information

SELinux Policy Android 9

Hello,

There is a way to set SELinux policy to 0 (permissive) as default when making the image?
In the current state it defaults to 1 (enforcing) and I need to set it to 0 (permissive) manually every time the device reboots using adb.

su
setenforce 0

Best regards

Cooker tries to fetch code from freescale repositories which are now closed

While fetching the sources for "Latest Oreo sources for IMX6/IMX7 series are in tn-o8.0.0_1.0.0-ga"

The issue leads to those errors :


../android/.repo/repo/repo sync -j 16
Fetching projects:   1% (12/601) platform/external/skiaimx-firmware:
fatal: unable to connect to git.freescale.com:
git.freescale.com[0: 185.254.10.111]: errno=Connection refusedFetching projects:  99% (600/601) platform/external/androidplotimx-firmware:
fatal: unable to connect to git.freescale.com:
git.freescale.com[0: 185.254.10.111]: errno=Connection refusederror: Cannot fetch imx-firmware from git://git.freescale.com/proprietary/imx-firmware
Fetching projects: 100% (601/601), done.
Checking out projects: 100% (601/601), done.error: Unable to fully sync the tree.
error: Downloading network changes failed.
error: Checking out local projects failed.
Try re-running with "-j1 --fail-fast" to exit at the first error.

Can you fix the links please ?

Android 9, edm1 imx6 quad (wandboard), WebView slow video playing

Hello,

We are testing the video playback on your android 9 on a wandboard imx6 quad version. Unfortunately the displayed frame rate of the video is very low.

To perform my tests I have a local apache2 server serving a static html 5 page with the following code.

<html>
	<body>
		<video width="100%" controls>
			<source src="1080_3_30_reference.mp4" type="video/mp4">
		</video>
	</body>
</html>

You can find the reference test video here https://gopro.com/v/PovvyyJVQ6qkO It is a 1080p 3MB/s h264 video encoded at 30 frames per second.

Using cactus player and video player the video is not janky.

Can you take a look on what is happening on the webview please ?
Thank's for your help.

PICO-PI-IMX7 - Wifi Not working

Hello again, I have synced this repository:

repo init -u https://github.com/technexion-android/manifest -b tn-p9.0.0_2.2.0-ga

and I put the wifi driver:

qca9377-3_firmware_20180927.zip

in:

/ device / fsl / imx7d / pico_imx7 / wifi-firmware / QCA9377

compiled with:

source cookers / env.bash.imx7d.pico-imx7.pi.lcd-5-inch

the compilation all OK, but when trying to activate the WIFI it does not work.

What am I doing wrong?

Thank you!

TEP 0700 imx7 RS232 not working properly

Hello,

I'm trying to use the RS232 port on the TEP (model TEP0700IMX7DR10E04L130) but I'm having lot's of issues.

Using Android 9 2.2.0 from your repository and settings selinux to permissive (setenforce 0) will give me some reading issue.
I'm using the port /dev/ttymxc2 with my application based on your uart test but I can only write to the port and cannot read properly. Most of the time when reading it won't return nothing, sometimes it gives me the expected data.

Using the same application with the same configuration but on Android 7.1.1 from your repository gives me a fully working RS232 port.

Is there something to configure on Android 9 to make the RS232 port properly working?

Best regards

How to differenciate wandboard imx6q and wandboard imx6qp in early u-boot stage to differenciate dtb file to load

Hello,

I think the title is quite self explanatory ^_^
Indeed, I need to discriminate the wandboard quad from the quad plus revision to inform u-boot on which device tree binary to pickup.
In the past we used a hack where for the c1 revision we use to check a specific GPIO pin and we use to check if the c1 was using a pmic.
Is there an easy-to-use difference between the revision d1a1 and the d1a2, like a GPIO to request ?

Thanks for your answer,
Thomas

Building for wandboard_qca, image won't boot

Hi,

Yesterday i followed https://github.com/technexion-android/cookers/tree/tn-o8.0.0_1.0.0-ga to compile an android 8 image for the wandboard with pixi9377 chip.

I dit those manipulations :

repo init -u https://github.com/technexion-android/manifest -b tn-o8.0.0_1.0.0-ga
repo sync -j8
cd cookers
docker build -t build_droid8 .
sudo docker run --privileged=true --name mx8_build  -v /home/tlavocat/technexion:/home/mnt -t -i build_droid8 bash
cd /home/mnt
source cookers/env.bash.imx6.edm1cf-pmic.wandboard.hdmi

# unzip wifi firmware in device/fsl/wandboard/wifi-firmware/

merge_restricted_extras
cook -j8
cd ~technexion/out/target/product/wandboard/
flashcard /dev/sdb

Upon boot, I can see on the screen the wandboard logo displaying for less than 1 second and then only a blackscreen.

What can I do to make it work ?
Thanks for your answers,
Thomas

Android 9, activate wifi direct.

Hello,

The chip pixi9377 is wifi direct capable.
I'm looking for a way to activate the functionality on the demo image.
I've added the property gEnableP2pListenOffload=1 to device/fsl/imx6dq/edm1_imx6/wifi-firmware/QCA9377/wlan/qcom_cfg.ini without success.

Any idea on how to activate it ?

Application as system app

Hello,

I would like to add my application as a system app, how can I do it?

Also, it's possible to create an image with root access?

PICO-PI-IMX7 - Device is Locked

Hello, I write because I am quite desperate with your products.

I have a PICO-PI-IMX7 board and donwload and compile your repo:

source cookers/env.bash.imx7d.pico-imx7.pi.lcd-5-inch

I try to flash the image with:

uuu_imx_android_flash.bat -f imx7d

but I always get the same error:

Error: fail open file: >u-boot-imx7d-sabresd-uuu.imx.link

How can I generate that file?

Best regards.

Flash android image (test.img) in a TEP0700 device with 16gb of memory

hi, I'm a junior developer so not very experienced, I received a TEP0700 device, the motherboard has been replaced, now the device has 16gb of memory compared to the original 4gb.
what parameters should i change to create a Test.img for this device?
i tried to change the "card_size" parameter in file "fsl-sdcard-partition-virtual-image.sh" and several others in file "env.bash.imx7d.hmi.tep1-imx7.lcd-5-inch", can you help me ?, thanks.

Wandboard qca, random error while loading wifi firmware

Hi,

As mentioned in the issue #19 we've noticed a random bug that affect the wifi on the qca revision of the wandboard.

Sometime the firmware won't load and sometime ti will. Apparition of the bug seems chaotic. Below are two logs captured with minicom on the android 8 given by technexion -> https://github.com/technexion-android/cookers/tree/tn-o8.0.0_1.0.0-ga#technexion-android-8-sdk-for-imx6imx7-platforms

minicom-d1-qca-bug1.log
minicom-d1-qca-bug2.log

Despite the fact that the image do not end its boot. We can already spot the described wifi issue.

On this board we are running an android 7 which shows the same symptoms. With other version of the firmware and qcacld driver. I've tried to track the error, but I don't have any clue so far.

Thank's for your help.
Regards,
Thomas

drivers specification

hello, I need some help, in which file is it specified which drivers are used during the build of the test.iso?
i should use realtek instead of broadcomm for the ethernet part, thanks

Kernel print logs - Issue

Merry Christmas!

I am trying to integrate an acceleration sensor and I have problems. The point is that I try to put records to debug but they don't appear! printk does not work for kernel debugging. Do I have to do something special for the logs to appear?

Thanks a lot.

QCA Firmware versions for wandboard

Hello,

To build the android 9, I asked sales to send the firmware files. I received them, and they work fine. But I would like to know for which version of the qcacld driver they are for ?

And, have you other versions of this firmware available ?

The reason why I'm asking that is because, I'm running android 7. And for the qcacld driver parts, I'm using boundary devices drivers : https://github.com/boundarydevices/qcacld-2.0. It works for the most part, but, because I'm also using their firmware (https://github.com/boundarydevices/qca-firmware) , some of the files are not compatible with the wifi chip.

So I would like to have a version of the firmware that is compatible with the driver qcacld in this version : https://github.com/boundarydevices/qcacld-2.0/tree/boundary-LNX.LEH.4.2.2.2

Have you such firmware available ?
Thanks for your help

TEP 0700 imx7 Android 9 image not working

Hello,

I've just received a new TEP 0700 imx7 and I'm trying to run my custom image made with this source code and with those patch applied and SELinux set to permissive but it won't run, it stops on a black screen and doesn't boot. The image I've made works perfectly with my older TEP but not with the new one.

I've tried making a new image without the patches and custom SELinux behaviour but the new TEP still doesn't work.

Just to be sure I've flashed this demo image and the new TEP works. I've noticed that this image is newer than the old demo image. The old demo image only works with the older TEP and not with the newer one!!!

Could be that the source code on the ftp server has not been updated?

New TEP info (Doesn't work):

  • Part No: S600406010040120000540
  • Serial No: 22202213100022400025
  • Model Name: TEP0700IMX7DR10E04L112

Old TEP info (Does work):

  • Part No: S600406010040120000511
  • Serial No: 17202213100021500020
  • Model Name: TEP0700IMX7DR10E04L112

Best regards

imx7d pico pi, Invalid vbmeta image

Clean checkout and cook does not seem to produce working images

I have been having a lot of trouble building a working image for pico pi imx7d.
The cook -j12 command does not seem to produce either valid vbmeta images or perhaps not signing partitions correctly.

What I have tried:

On an Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) running in virtual box.

1. I checked the repository with repo:

$ python3 repo init -u https://github.com/technexion-android/manifest -b tn-p9.0.0_2.2.0-ga
$ python3 repo sync -j12

2. I build the docker environment:

$ cd cookers
$ docker build -t build_droid9 .
$ sudo docker run --privileged=true --name mx9_build  -v /srv/technexion-android:/home/mnt -t -i build_droid9 bash

3. I set up the environment in docker and built with the cook command:

$ source cookers/env.bash.imx7d.pico-imx7.pi.lcd-5-inch
$ merge_restricted_extras
$ cook -j12

4. In the docker container I generated a virtual image for flashing:

$  gen_virtual_images

5. I copied and flashed the image from a laptop running windows

I copied the image with scp and I flashed using your provided mfgTool, SPL, and u-boot image.
Taken from imx-mfg-uuu-tool_20220207.zip 07-Feb-2022 07:41 9641302

> .\imx-mfg-uuu-tool\uuu\windows64\uuu.exe -b emmc_imx7_img .\imx-mfg-uuu-tool\imx7\pico-imx7\imx7-SPL ..\test.img

6. I then powered on the device after putting the board back into regular boot mode (from serial boot)

Here are the putty logs from the uart debug port:

   
U-Boot SPL 2018.03-g4abbd9a (Apr 06 2022 - 15:04:59 +0000)
Trying to boot from MMC1


U-Boot 2018.03-g4abbd9a (Apr 06 2022 - 15:04:59 +0000)

CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Board: PICO-IMX7D
Compatible baseboard: dwarf, hobbit, nymph, pi
I2C:   ready
DRAM:  512 MiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
No panel detected: default to MCIMX28LCD
Display: MCIMX28LCD (800x480)
Video: 800x480x24
In:    serial
Out:   serial
Err:   serial
flash target is MMC:0
Net:   FEC0
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  1 ��� 0 
RNG instantiation done (3600)
Error: blob decap job failed 0x2000071a
Error during blob decap operation: 0x2000071a
In boota get fastboot lock status error. Set lock status
RNG already instantiated 0x40000003
avb_vbmeta_image.c:59: ERROR: Magic is incorrect.
avb_slot_verify.c:703: ERROR: vbmeta: Error verifying vbmeta image: invalid vbmeta header
 verify FAIL, state: LOCK

10.1" Display Touch screen Problem

Hi.

I found some bug on the touch screen and now I fixed it with edit imx8mm-pico-wizard-g101uan02.dts file and now works perfectly.

This fix correct?

&i2c3 {
/polytouch: edt-ft5826@38/ // *********** Old **/
polytouch: edt-ft5x06@38 { // fixed
compatible = "edt,edt-ft5x06";
reg = <0x38>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_touch_irq>;
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&pca9555_23 3 GPIO_ACTIVE_LOW>;
touchscreen-size-x = <1920>;
touchscreen-size-y = <1200>;
ten_inch_tp; //test // just try
status = "okay"; //test // just try
};
};

Thanks.

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.