Comments (6)
Is there another reason for this to happen? I got the same problem with commit 77d16.
I activated gpio 0 and 117 as suggested by you.
from linux-udoo.
Please check your dtb version too.
I have tested last kernel:
echo 0 > /sys/class/gpio/export; echo 117 > /sys/class/gpio/export
[root@h4 ]# /usr/src/arduino-1.5.4/arduino
/home/src/arduino-1.5.4/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/thumb/libc.a(lib_a-sbrkr.o): In function _sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): warning: undefined reference to
_sbrk'
Sketch uses 12,012 bytes (2%) of program storage space. Maximum is 524,288 bytes.
Inner erase and reset routine: successiful!!
Erase flash
Write 14192 bytes to flash
[ ] 0% (0/56 pages)
[===== ] 17% (10/56 pages)
[========== ] 35% (20/56 pages)
[================ ] 53% (30/56 pages)
[===================== ] 71% (40/56 pages)
[========================== ] 89% (50/56 pages)
[==============================] 100% (56/56 pages)
Verify 14192 bytes of flash
[ ] 0% (0/56 pages)
[===== ] 17% (10/56 pages)
[========== ] 35% (20/56 pages)
[================ ] 53% (30/56 pages)
[===================== ] 71% (40/56 pages)
[========================== ] 89% (50/56 pages)
[==============================] 100% (56/56 pages)
Verify successful
Set boot flash true
CPU reset.
from linux-udoo.
Did you make it from user root or did you check dev privileges?
from linux-udoo.
Hi.
I am running your latest kernel 4.0.0.
I changed the dev privilages but ran the IDE from root anyway:
$ sudo su
Load: 0.01, 0.04, 0.05 - Memory: 728Mb
root@udoo:/# echo 0 > /sys/class/gpio/export
root@udoo:/# echo 117 > /sys/class/gpio/export
root@udoo:/# /opt/arduino0158/arduino
Xlib: extension "RANDR" missing on display ":1".
Sketch uses 10,484 bytes (1%) of program storage space. Maximum is 524,288 bytes.
No device found on ttymxc3
DTB files:
/boot/dtb$ ls -la
total 104
drwxr-xr-x 2 root root 4096 Jun 16 11:16 .
drwxr-xr-x 4 root root 4096 Jun 16 11:16 ..
-rw-r--r-- 1 root root 31962 Jun 14 19:49 imx6dl-udoo.dtb
-rw-r--r-- 1 root root 34604 Jun 14 19:49 imx6q-udoo.dtb
-rw-r--r-- 1 root root 26212 Jun 14 19:49 imx6sl-evk.dtb
I used Igor's compile scripts and built a dtb deb package which is installed.
boot.cmd:
setenv bootargs root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=ttymxc1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 ahci_imx.hotplug=1 quiet loglevel=1
ext2load mmc 0 0x18000000 /boot/dtb/${fdt_file}
ext2load mmc 0 0x12000000 /boot/zImage
bootz 0x12000000 - 0x18000000
I adapted the makefile for this in <kernel_src>/arch/arm/boot/dts/Makefile so that the section for the imx6q becomes
dtb-$(CONFIG_SOC_IMX6Q) += \
imx6dl-udoo.dtb \
imx6q-udoo.dtb
Am I missing something?
from linux-udoo.
Could you compile with config : http://kowalczyk.ws/imx/kernel/4.0/config and make imx6q-udoo.dtb via command "make imx6q-udoo.dtb" from root directory of kernel source code (without any modifications)
from linux-udoo.
Hi. Sorry for the looong delay. I have been trying to fix this problem but could not find the cause. I used your most recent kernel and the imx6q-udoo.dtb is loaded correctly by uboot.
However, I think the problem is somewhere else and not in the kernel. I can use the serial monitor in the Arduino IDE (using udoo's 1.5.8 armhf version with bossac file jasmx) and it does not complain when I send something. So I guess the problem is related to the Arudino IDE or the bossac file.
from linux-udoo.
Related Issues (20)
- UDOO crash when connecting HDMI cable during operation (DVI) HOT 19
- mxc_v4l2_capture compiler error with 4.0 branch HOT 7
- imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready! HOT 1
- Dependency on CONFIG_ARM_IMX6Q_CPUFREQ missing HOT 1
- LVDS problem
- udoo's wlan unstable on 4.0 kernel HOT 9
- GPIO Output HOT 3
- error How to install HOT 1
- Support for 1wire HOT 1
- NULL pointer dereference in fec_enet_open HOT 23
- Could not load galcore kernel module HOT 4
- Buggy GCC SRA optimization should be disabled HOT 4
- LVDS 15inch (only backlight) HOT 62
- fec 2188000.ethernet eth0: MDIO read timeout HOT 1
- No wireless device HOT 6
- Udoo Cooling Fan Controller. HOT 1
- make menuconfig fails HOT 1
- max17135-regulator.c does not compile HOT 3
- analog audio HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-udoo.