Started by laurent, November 28, 2012, 12:05:08 pm
Quote from: olimex on November 28, 2012, 12:08:43 pmwe still lack support for audio and video to may release proper image with latest kernel
Quote from: laurent on November 28, 2012, 12:38:24 pmIs there a way to obtain a pre-release with the ease-to-use of a distribution like ArchLinux ?Who's working on it ?The community don't seems to be very important ?Freescale provide any kind of support for this kernel port ?
Quote from: Fadil Berisha on November 28, 2012, 04:53:36 pmYou can find pre compiled kernel 3.7-rc4 following this topic: https://www.olimex.com/forum/index.php?topic=327.msg1231#msg1231there are also instructions how to install on your SD cardFadil Berisha
Quote from: Fadil Berisha on November 28, 2012, 11:55:01 pmThis is only kernel - install on 1st partition. Second partition should contain your rootfs (archlinux, debian etc).Fadil Berisha
Quote from: laurent on November 29, 2012, 12:09:10 amQuote from: Fadil Berisha on November 28, 2012, 11:55:01 pmThis is only kernel - install on 1st partition. Second partition should contain your rootfs (archlinux, debian etc).Fadil BerishaOkay, thanks again I've just tested it, obviously, without success. I tested on a spare 1Gb uSD.I can't now, but I'll soon test this on the first partition of the original 2Gb uSD from Olimex (of course, I've already backuped it).
Device Boot Start End Blocks Id System/dev/mmcblk0p1 * 2048 67583 32768 53 OnTrack DM6 Aux3/dev/mmcblk0p2 67584 3164159 1548288 83 Linux/dev/mmcblk0p3 3164160 5261311 1048576 82 Linux swap / Solaris
-rw-r--r-- 1 root 48K Sep 21 19:04 config-2.6.35-8-ARCH+-rw-r--r-- 1 root 2.0M Sep 21 19:04 oli-2.6.35-8-ARCH+-ntsc.sb-rw-r--r-- 1 root 2.0M Sep 21 19:04 oli-2.6.35-8-ARCH+-pal.sb-rwxr-xr-x 1 root 2.0M Sep 21 19:04 zImage*
Quote from: bsrdjan on December 20, 2012, 11:12:28 pmHi --,could you please let me know how exactly to copy new kernel to boot partition?I use the standard rootfs image from Archlinuxarm and have three partitionsCode Select Expand Device Boot Start End Blocks Id System/dev/mmcblk0p1 * 2048 67583 32768 53 OnTrack DM6 Aux3/dev/mmcblk0p2 67584 3164159 1548288 83 Linux/dev/mmcblk0p3 3164160 5261311 1048576 82 Linux swap / Solaris
-/+ buffers/cache: 9.0M 42M
-/+ buffers/cache: 8.2M 50M
Arch Linux 2.6.35-8-ARCH+ (ttyAMA0)imx233 login: HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCPowerPrep start initialize power...Battery Voltage = 0.76VNo battery or bad battery detected!!!.Dis8EMI_CTRL 0x1C084040FRAC 0x92926192init_ddr_mt46v32m16_133Mhzpower 0x00820710Frac 0x92926192start change cpu freqhbus 0x00000003cpu 0x00010001 LLLLLLLFCLJUncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.7.0-rc4 (devel@laptop) (gcc version 4.4.5 (Debia2[ 0.000000] CPU: ARM926EJ-S  revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Freescale i.MX23 (Device Tree), model: i.MX23 Olinuxinod[ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa6[ 0.000000] Kernel command line: noinitrd console=ttyAMA0,115200 root=/dev/mt[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 64MB = 64MB total [ 0.000000] Memory: 53020k/53020k available, 12516k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc05ccf74 (5908 kB) [ 0.000000] .init : 0xc05cd000 - 0xc05f0950 ( 143 kB) [ 0.000000] .data : 0xc05f2000 - 0xc06460d8 ( 337 kB) [ 0.000000] .bss : 0xc06460fc - 0xc0b99e88 (5456 kB) [ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 1[ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] of_irq_init: children remain, but no parents [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps eves[ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingr[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.070000] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] CPU: Testing write buffer coherency: ok [ 0.080000] Setting up static identity map for 0x4043d260 - 0x4043d2b8 [ 0.090000] devtmpfs: initialized [ 0.100000] pinctrl core: initialized pinctrl subsystem [ 0.110000] regulator-dummy: no parameters [ 0.110000] NET: Registered protocol family 16 [ 0.110000] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.160000] Serial: AMBA PL011 UART driver [ 0.160000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 125) is a PL02[ 0.350000] console [ttyAMA0] enabled [ 0.420000] bio: create slab <bio-0> at 0 [ 0.430000] mxs-dma 80004000.dma-apbh: initialized [ 0.440000] mxs-dma 80024000.dma-apbx: initialized [ 0.450000] usb0_vbus: 5000 mV [ 0.450000] SCSI subsystem initialized [ 0.460000] usbcore: registered new interface driver usbfs [ 0.460000] usbcore: registered new interface driver hub [ 0.470000] usbcore: registered new device driver usb [ 0.480000] Advanced Linux Sound Architecture Driver Initialized. [ 0.500000] cfg80211: Calling CRDA to update world regulatory domain [ 0.510000] Switching to clocksource mxs_timer [ 0.780000] NET: Registered protocol family 2 [ 0.790000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.790000] TCP bind hash table entries: 2048 (order: 4, 73728 bytes) [ 0.800000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.810000] TCP: reno registered [ 0.810000] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.820000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.830000] NET: Registered protocol family 1 [ 0.840000] RPC: Registered named UNIX socket transport module. [ 0.840000] RPC: Registered udp transport module. [ 0.850000] RPC: Registered tcp transport module. [ 0.850000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.860000] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.950000] NFS: Registering the id_resolver key type [ 0.960000] Key type id_resolver registered [ 0.960000] Key type id_legacy registered [ 0.970000] msgmni has been set to 103 [ 0.980000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )[ 0.990000] io scheduler noop registered (default) [ 1.000000] uart-pl011 80070000.serial: no DMA platform data [ 1.000000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 122) is a 800l[ 1.010000] mxs-auart 8006c000.serial: Found APPUART 3.0.0 [ 1.030000] rtw driver version=v3.4.4_xxxx.20120730 [ 1.030000] Build at: Nov 10 2012 20:41:11 [ 1.040000] usbcore: registered new interface driver rtl8192cu [ 1.040000] usbcore: registered new interface driver cdc_ether [ 1.050000] usbcore: registered new interface driver smsc95xx [ 1.060000] Initializing USB Mass Storage driver... [ 1.060000] usbcore: registered new interface driver usb-storage [ 1.070000] USB Mass Storage support registered. [ 1.080000] imx_usb 80080000.usb: pinctrl get/select failed, err=-19 [ 1.090000] ci_hdrc ci_hdrc.0: doesn't support gadget [ 1.090000] ci_hdrc ci_hdrc.0: ChipIdea HDRC EHCI [ 1.100000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 [ 1.160000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 [ 1.170000] hub 1-0:1.0: USB hub found [ 1.180000] hub 1-0:1.0: 1 port detected [ 1.190000] mousedev: PS/2 mouse device common for all mice [ 1.200000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as 0[ 1.210000] i2c /dev entries driver [ 1.260000] mxs-mmc 80010000.ssp: initialized [ 1.260000] leds-gpio leds.5: pins are not configured from the driver [ 1.280000] usbcore: registered new interface driver usbhid [ 1.290000] usbhid: USB HID core driver [ 1.310000] TCP: cubic registered [ 1.310000] NET: Registered protocol family 17 [ 1.320000] lib80211: common routines for IEEE802.11 drivers [ 1.330000] Key type dns_resolver registered [ 1.340000] registered taskstats version 1 [ 1.340000] mmc0: host does not support reading read-only switch. assuming w.[ 1.350000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 1970-01-01 00)[ 1.390000] mmc0: new high speed SDHC card at address 1234 [ 1.400000] ALSA device list: [ 1.400000] No soundcards found. [ 1.410000] mmcblk0: mmc0:1234 SA08G 7.28 GiB [ 1.440000] mmcblk0: p1 p2 p3 [ 1.470000] kjournald starting. Commit interval 5 seconds [ 1.490000] EXT3-fs (mmcblk0p2): using internal journal [ 1.490000] EXT3-fs (mmcblk0p2): recovery complete [ 1.500000] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 1.510000] usb 1-1: new high-speed USB device number 2 using ci_hdrc [ 1.510000] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 1.520000] Freeing init memory: 140K [ 1.670000] hub 1-1:1.0: USB hub found [ 1.680000] hub 1-1:1.0: 3 ports detected INIT: version 2.88 booting [ 1.970000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc [ 2.100000] smsc95xx v1.0.4 [ 2.240000] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-ci_hdrc.0-1.5[ 2.350000] usb 1-1.2: new full-speed USB device number 4 using ci_hdrc [ 2.590000] usb 1-1.3: new full-speed USB device number 5 using ci_hdrc HOSTNAME= is deprecated. See rc.conf(5) and hostname(5) for details. > Arch Linux ARM > http://archlinuxarm.org/ ------------------------------ :: Mounting root read-only [BUSY] [DONE] :: Setting hostname: imx233 [BUSY] [DONE] HARDWARECLOCK= is deprecated. See rc.conf(5) and hwclock(8) for details. :: Adjusting system time and setting kernel time zone [BUSY] TIMEZONE= is d [DONE] :: Starting udev daemon [BUSY] [ 12.140000] systemd-udevd: starting ve6 [DONE] :: Triggering udev uevents [BUSY] [DONE] :: Loading user-specified modules [BUSY] [DONE] :: Waiting for udev uevents to be processed [BUSY] [DONE] :: Configuring virtual consoles [BUSY] G [DONE] :: Bringing up loopback interface [BUSY] [DONE] :: Checking filesystems [BUSY] [DONE] :: Remounting root and API filesystems [BUSY] [ 17.920000] EXT3-fs (mmcblkl [DONE] :: Mounting local filesystems [BUSY] [DONE] :: Activating swap [BUSY] [DONE] :: Configuring time zone [BUSY] [DONE] :: Initializing random seed [BUSY] [DONE] :: Removing leftover files [BUSY] [DONE] :: Saving dmesg log [BUSY] [DONE] Cannot find device "usb0" INIT: Entering runlevel: 3 mount: mount point /proc/sys/fs/binfmt_misc does not exist :: Starting Syslog-NG [BUSY] Error binding socket; addr='AF_UNIX(/run/system'Error initializing source driver; source='src', id='src#0' Error initializing message pipeline; [FAIL] :: Starting network [BUSY] Cannot find device "usb0" [DONE] :: Mounting network filesystems [BUSY] [DONE] :: Starting crond daemon [BUSY] [DONE] :: Starting Secure Shell Daemon [BUSY] [DONE]
Quote from: Fadil Berisha on December 21, 2012, 09:05:22 amQuote from: bsrdjan on December 20, 2012, 11:12:28 pmHi --,could you please let me know how exactly to copy new kernel to boot partition?I use the standard rootfs image from Archlinuxarm and have three partitionsCode Select Expand Device Boot Start End Blocks Id System/dev/mmcblk0p1 * 2048 67583 32768 53 OnTrack DM6 Aux3/dev/mmcblk0p2 67584 3164159 1548288 83 Linux/dev/mmcblk0p3 3164160 5261311 1048576 82 Linux swap / SolarisImage sd_mmc_bootstream.raw found at https://www.dropbox.com/s/rfnmzdbcu21pfgf/sd_mmc_bootstream.raw is kernel 3.7-rc4 with wifi support. Included driver is rtl8188. It work with imx23-olinuxino-mini board. I tested also with imx23-olinuxino-maxi with rtl USB dongle connected on USB port. I do not have imx23-olinuxino-micro, but for sure will work on that board too.Image contain bootlets+kernel+dts_file. This image should be installed on 1st partition of your SD card. Second partition contain any rootfs (Yocto, arch, debian etc). I am using Yocto with no X server. Booting process is possible to track with debug console. All board control is done with ssh. I am doing cross compile on my PC and transfer files via network.To get kernel 3.7-rc4 with wifi support please follow those steps:1. On your linux PC machine, download image https://www.dropbox.com/s/rfnmzdbcu21pfgf/sd_mmc_bootstream.raw.2. Insert SD card on your linux PC machine and identify how is recognized SD card on your PC machine. Run command: sudo fdisk -l I am getting /dev/sda and /dev/sdb. Device sdb is my SD card.3. Copy image on 1st partition /dev/sdb1: sudo dd if=sd_mmc_bootstream.raw of=/dev/sdb14. Insert SD card on your olinuxino board.5. Connect USB-serial cable on olinuxino board (see olinuxino manual - debug connector)6. Connect USB-serial cable on your PC. Open console on PC and start your terminal program. I am using minicom with following setting: E - Bps/Par/Bits : 115200 8N1 7. power ON olinuxino board.After boot, check with iwconfig, wifi device should be wlan0 or wlan1.Message to Olimex, bsrdjan, JaG, laurent, idragoev:Can someone of you please confirm this procedure. Needed imx23-olinuxino-mini and USB-serial cable.I am working on mini howto prepare sd_mmc_bootstream.raw file based on latest kernel 3.7. This kernel support USB, SPI, I2C and wifi. If everything goes well, next step would be TV-out support.RegardsFadil Berisha
QuoteShould kernel 3 be used on iMX233-MAXI
Quote and how to get LAN working?
QuoteI don't know if it's linked, but the LED usually turned ON when the board is powered is now OFF.
QuoteI tested the USB-Ethernet dongle from Olimex, without success (kernel don't have the driver ?)
QuoteI tested a USB WiFi dongle (chipset rt5370) which perfectly works on my Ubuntu PC and my Raspberry Pi, without success.
QuoteI switched back to 2.6 kernel. I saw that the Asix AX88772B has a kernel 2.6 driver, but unable to compile it...