Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Installed in on an SD card on the Maxi, works fine, but cannot find the /sys/class/gpio entries... Any idea if there is a need of a patch for the 3.8 kernel version? I see here on Olimex webpage that GPIOs are well supported with other older kernel versions: http://olimex.wordpress.com/2012/09/11/imx233-olinuxino-gpios-faster-and-faster/ Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. I have one: http://www.zoobab.com/imx233-olinuxino-micro Will give you some feedback in a minute... -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On May 19, 2013 8:58 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Installed in on an SD card on the Maxi, works fine, but cannot find the /sys/class/gpio entries... Any idea if there is a need of a patch for the 3.8 kernel version? I see here on Olimex webpage that GPIOs are well supported with other older kernel versions: http://olimex.wordpress.com/2012/09/11/imx233-olinuxino-gpios-faster-and-faster/ Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. I have one: http://www.zoobab.com/imx233-olinuxino-micro Will give you some feedback in a minute... The image does not boot on the micro, the boot loader throws some error code. Any idea if the sbimage has to be different? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On 06/05/13 09:21, Zoltan HERPAI wrote: Index: tools/elftosb/Makefile === --- tools/elftosb/Makefile (revision 0) +++ tools/elftosb/Makefile (revision 0) @@ -0,0 +1,36 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=elftosb +PKG_VERSION:=10.12.01 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/e/elftosb/elftosb-10.12.01/ +PKG_MD5SUM:=e8005d606c1e0bb3507c82f6eceb3056 + Hi, could you please split the tools/ part into a seperate patch John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
Hi John, Sure, I've attached the splitted patchset. Thanks, -w- On Mon, 6 May 2013, John Crispin wrote: On 06/05/13 09:21, Zoltan HERPAI wrote: Index: tools/elftosb/Makefile === --- tools/elftosb/Makefile (revision 0) +++ tools/elftosb/Makefile (revision 0) @@ -0,0 +1,36 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=elftosb +PKG_VERSION:=10.12.01 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/e/elftosb/elftosb-10.12.01/ +PKG_MD5SUM:=e8005d606c1e0bb3507c82f6eceb3056 + Hi, could you please split the tools/ part into a seperate patch John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel Index: target/linux/imx23/image/Makefile === --- target/linux/imx23/image/Makefile (revision 0) +++ target/linux/imx23/image/Makefile (revision 0) @@ -0,0 +1,42 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/image.mk + +JFFS2_BLOCKSIZE=128k 16k +JFFS2OPTS += -n + +#define Image/BuildKernel +# mkdir -p $(BIN_DIR) +# cp $(KDIR)/vmlinuz $(BIN_DIR)/$(IMG_PREFIX)-zImage +#endef + +#define Image/Prepare +# cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz +#endef + + +define Image/Build/jffs2-64k + dd if=$(KDIR)/root.jffs2-64k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-64k.img bs=65536 conv=sync +endef + +define Image/Build/jffs2-128k + dd if=$(KDIR)/root.jffs2-128k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-128k.img bs=131072 conv=sync +endef + +define Image/Build/squashfs + $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) + dd if=$(KDIR)/root.squashfs of=$(BIN_DIR)/openwrt-$(BOARD)-squashfs.img bs=131072 conv=sync +endef + +define Image/Build + $(call Image/Build/$(1)) + dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync +endef + + +$(eval $(call BuildImage)) Index: target/linux/imx23/profiles/003-Micro.mk === --- target/linux/imx23/profiles/003-Micro.mk (revision 0) +++ target/linux/imx23/profiles/003-Micro.mk (revision 0) @@ -0,0 +1,19 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# FiXME: need to add usb soc + +define Profile/MICRO + NAME:=OLinuXino-MICRO board +# PACKAGES:=kmod-rtl8187 +endef + +define Profile/MICRO/Description + Base packages for -MICRO boards. +endef +$(eval $(call Profile,MICRO)) + Index: target/linux/imx23/profiles/002-Mini.mk === --- target/linux/imx23/profiles/002-Mini.mk (revision 0) +++ target/linux/imx23/profiles/002-Mini.mk (revision 0) @@ -0,0 +1,19 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# FiXME: need to add usb soc and snd + +define Profile/MINI + NAME:=OLinuXino-MINI board + PACKAGES:=kmod-rtl8187 +endef + +define Profile/MINI/Description + Base packages for -MINI boards. +endef +$(eval $(call Profile,MINI)) + Index: target/linux/imx23/profiles/000-Maxi.mk === --- target/linux/imx23/profiles/000-Maxi.mk (revision 0) +++ target/linux/imx23/profiles/000-Maxi.mk (revision 0) @@ -0,0 +1,19 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# FiXME: need to add usb soc and snd + +define Profile/MAXI + NAME:=OLinuXino-MAXI board + PACKAGES:=kmod-usb-net-smsc95xx +endef + +define Profile/MAXI/Description + Base packages for -MAXI boards. +endef +$(eval $(call Profile,MAXI)) + Index: target/linux/imx23/profiles/001-Mini-Wifi.mk === --- target/linux/imx23/profiles/001-Mini-Wifi.mk (revision 0) +++ target/linux/imx23/profiles/001-Mini-Wifi.mk (revision 0) @@ -0,0 +1,19 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# FiXME: need to add usb soc and snd + +define Profile/MINI-WIFI + NAME:=OLinuXino-MINI-WIFI board + PACKAGES:=kmod-rtl8187 +endef + +define Profile/MINI-WIFI/Description + Base packages for -MINI-WIFI boards. +endef +$(eval $(call Profile,MINI-WIFI)) + Index:
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi, Please find the initial patch to support the Olinuxino i.MX233 line of boards. This is an ARM9-based board that comes in multiple flavours depending on devices available and board size. Current support is for 3.8.11 and ext4 rootfs, wiki page has been updated. With the trunk of this morning, compilation fails for ead: make[3]: Entering directory `/home/zoobab/openwrt/package/network/services/ead' CFLAGS=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include CXXFLAGS=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include LDFLAGS=-L/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/lib -L/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/lib -L/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib make -j1 -C /home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/. AR=arm-openwrt-linux-uclibcgnueabi-ar AS=arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead -I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC=arm-openwrt-linux-uclibcgnueabi-gcc GCC=arm-openwrt-linux-uclibcgnueabi-gcc CXX=arm-openwrt-linux-uclibcgnueabi-g++ RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CROSS=arm-openwrt-linux-uclibcgnueabi- ARCH=arm CONFIGURE_ARGS=--target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls LIBS_EADCLIENT=/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp/libtinysrp.a
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi, Please find the initial patch to support the Olinuxino i.MX233 line of boards. This is an ARM9-based board that comes in multiple flavours depending on devices available and board size. Current support is for 3.8.11 and ext4 rootfs, wiki page has been updated. With the trunk of this morning, compilation fails for ead: I redid a clean, it does not happen anymore. -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 4:17 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi, Please find the initial patch to support the Olinuxino i.MX233 line of boards. This is an ARM9-based board that comes in multiple flavours depending on devices available and board size. Current support is for 3.8.11 and ext4 rootfs, wiki page has been updated. With the trunk of this morning, compilation fails for ead: I redid a clean, it does not happen anymore. Copied the binaries here, for those who want to test. http://filez.zoobab.com/openwrt/imx23/ Got the mini and maxi at home, will test it when I have time. -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. Regards, -w- On Mon, 6 May 2013, Benjamin Henrion wrote: On Mon, May 6, 2013 at 4:17 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi, Please find the initial patch to support the Olinuxino i.MX233 line of boards. This is an ARM9-based board that comes in multiple flavours depending on devices available and board size. Current support is for 3.8.11 and ext4 rootfs, wiki page has been updated. With the trunk of this morning, compilation fails for ead: I redid a clean, it does not happen anymore. Copied the binaries here, for those who want to test. http://filez.zoobab.com/openwrt/imx23/ Got the mini and maxi at home, will test it when I have time. -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. There is also a dedicated mailing list where you could ask: olinux...@yahoogroups.com BTW, I have the MAXI and the MICRO. -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On Mon, May 6, 2013 at 4:58 PM, Benjamin Henrion b...@udev.org wrote: On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI wigy...@uid0.hu wrote: Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. There is also a dedicated mailing list where you could ask: olinux...@yahoogroups.com BTW, I have the MAXI and the MICRO. And Tsevan gave some MAXI and MICRO to Nico during FOSDEM. -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support
On 06/05/13 16:59, Benjamin Henrion wrote: On Mon, May 6, 2013 at 4:58 PM, Benjamin Henrionb...@udev.org wrote: On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAIwigy...@uid0.hu wrote: Hi Benjamin, Thanks. Support includes usb and rtc so far, sound and the expansion ports are yet to come. Does someone on the list has a -micro? I have read on the forums that there is an issue around its memory. There is also a dedicated mailing list where you could ask: olinux...@yahoogroups.com BTW, I have the MAXI and the MICRO. And Tsevan gave some MAXI and MICRO to Nico during FOSDEM. Benjamin, can you please not double send all your mails ? John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel