Difference between revisions of "IGEPv2 Ubuntu Distro"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) (→After first boot) |
Manel Caro (talk | contribs) (→Verify the boot partition) |
||
Line 444: | Line 444: | ||
$ mount | $ mount | ||
− | + | /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) | |
− | |||
− | |||
− | (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) | ||
if the microsd card first partition is not mounted (not show the upper message) mount it manually as | if the microsd card first partition is not mounted (not show the upper message) mount it manually as | ||
− | $ mount /dev/mmcblk0p1 /boot | + | $ mount /dev/mmcblk0p1 /boot |
=== Install the kernel package === | === Install the kernel package === |
Revision as of 12:10, 9 June 2014
WORK IN PROGRESS
How to get the Ubuntu 12.04.4 LTS
The Ubuntu project is excited to be working with the ARM ecosystem to port Ubuntu for ARM-based devices. This work fits with our goals of making Ubuntu available as an open platform to as many people as possible.
Overview of How-To
This How-To is meant to be a starting point for people to learn install an Ubuntu image for OMAP3-based IGEP platforms as quickly and easily as possible.
This How-To covers IGEPv2, IGEP COM Module and IGEP COM Proton boards. if you are looking Ubuntu for IGEPv5 go to this other Howto.
Contents
Host Enviroment
We suggest use Ubuntu 12.04.4 LTS (32 bits) in your host, you can download it from our server using this link or directly from Ubuntu (Canonical) website. You can install it in a Virtual Machine enviroment using any Virtualization software or directly in your PC.
Material
- IGEPv2, IGEP COM Module or IGEP COM Proton.
- 1 MicroSD Card with 512 MiB minimum space.
- Serial Cable and conversor for attach the serial debug console.
- Ethernet cable (optional)
- Hub (optional)
- Keyboard and mouse (optional)
- HDMI/DVI Monitor (optional)
Download the Ubuntu 12.04.4 LTS Distribution and tools
The Ubuntu 12.04.4 LTS distribution can be downloaded from here or if you want to use the hard float version you should use this other link.
The first boot must be done using the first boot package, inside you've the bootloader, igep.ini and temporary kernel.
You can download this script for create the right partitions in the microsd card (Only is valid for microsd card, it cannot be used for prepare the raw Nand flash)
Prepare the Enviroment
Check if you've the packages bc and dosfstools
Install both packages as:
apt-get install bc dosfstools
Prepare the MicroSD card
Insert the microsd card in your host, after that you should see any similar to this output:
mcaro@mcaro-vm-u12:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 100G 0 disk ├─sda1 8:1 0 98G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 2G 0 part sdb 8:16 1 3.8G 0 disk ├─sdb1 8:17 1 70.6M 0 part /media/boot └─sdb2 8:18 1 3.7G 0 part /media/rootfs sr0 11:0 1 1024M 0 rom
here you can see the device sdb (it's the 4 GiB microsd card) be careful due in your host can be other device like sdc if you doubt check the dmesg output it should show you the device as:
[258974.855508] sd 33:0:0:0: [sdb] 7882752 512-byte logical blocks: (4.03 GB/3.75 GiB) [258974.862052] sd 33:0:0:0: [sdb] No Caching mode page found [258974.862057] sd 33:0:0:0: [sdb] Assuming drive cache: write through [258974.869338] sd 33:0:0:0: [sdb] No Caching mode page found [258974.869341] sd 33:0:0:0: [sdb] Assuming drive cache: write through [258974.871258] sdb: sdb1 sdb2 [258975.642423] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
Now you should execute the script prepare-disk.sh
mcaro@mcaro-vm-u12:~$ ./prepare-disk.sh fd0 2:0 1 4K 0 disk sda 8:0 0 100G 0 disk sdb 8:16 1 3.8G 0 disk Select the disk: [sdx or mmcblkx]
Here you should write the device name in our case sdb
sdb sdb Erase disk: /dev/sdb Are your sure? Y/n y
Verify the disk selected is correct if this is the situation then set Y
1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB) copied, 0.749578 s, 1.4 MB/s Disk /dev/sdb doesn't contain a valid partition table DISK SIZE - 4035969024 bytes CYLINDERS - 490 Checking that no-one is using this disk right now ... OK Disk /dev/sdb: 490 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/sdb: unrecognized partition table type Old situation: No partitions found New situation: Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sdb1 * 0+ 8 9- 72261 c W95 FAT32 (LBA) /dev/sdb2 9 489 481 3863632+ 83 Linux /dev/sdb3 0 - 0 0 0 Empty /dev/sdb4 0 - 0 0 0 Empty Successfully wrote the new partition table Re-reading the partition table ... If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) /dev/sdb1 /dev/sdb2 mkfs.vfat 3.0.12 (29 Oct 2011) mke2fs 1.42 (29-Nov-2011) Filesystem label=rootfs OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 241920 inodes, 965908 blocks 48295 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=989855744 30 block groups 32768 blocks per group, 32768 fragments per group 8064 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done
After finish the microsd card will be ready for install the Ubuntu the microsd card will show you two partitions, the first one formated with FAT32 and the second one formated with EXT4.
TIP: you can prepare the microsd card manually using this other howto.
TIP: If the microsd card is not mounted eject the microsd card and insert it in the microsd reader again and the system will mount it automatically or mount the card manually.
Copy the Content into the MicroSD Card
Uncompress the boot package into the boot partition (normally mounted on /media/boot)
$ cd /media/boot $ tar xvfj ubuntu-12.04.4-isee-igeo00x0-boot.tar.bz2
After incompress the content you should see inside the /media/boot these content:
$ zImage MLO igep.ini
The default configuration is set for boot IGEPv2 board if you wish boot the IGEP COM Module or IGEP COM Proton then you must edit the file igep.ini and set the variable:
MachineID=<board id>
Where board id:
IGEP Module => 2717
IGEPv2 => 2344
IGEP COM PROTON => 3203
Save the file
Now enter into the rootfs partiton (normally mounted on /media/rootfs) and uncompress the ubuntu 12.04.4 package on it as:
$ tar xvfj ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.tar.bz2
After that sync and eject the microsd card.
First Time Boot
Insert the microsd card in the IGEPv2 board (or IGEP COM Module / IGEP COM Proton)
Plug the power cord and you should see a similar boot like this:
IGEP-X-Loader 2.6.1-1 (Jun 6 2014 - 11:03:48) XLoader: Processor DM3730 - ES1.2 XLoader: Memory Manufacturer: Micron (2c) XLoader: Configuration file igep.ini Loaded from MMC XLoader: kernel zImage loaded from MMC at 0x80008000 size = 3149692 Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.37 (root@mcaro-vm-u12) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 Thu Jun 5 19:12:04 CEST 2014 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: IGEP0020 board [ 0.000000] IGEP: Unknown buddy for IGEP0020 machine [ 0.000000] IGEP: buddy: Hardware rev. B [ 0.000000] Reserving 16777216 bytes SDRAM for VRAM [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk ) [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 105730 [ 0.000000] Kernel command line: smsc911x.mac=0x2,0x98,0x12,0x2,0xf0,0x28 buddy=base0010 buddy.revision=B console=ttyO2,115200n8 mem=50M@0x80000000 mem=383M@0x88000000 boot_delay=0 nocompcache=1 omapfb.mode=dvi:hd720-16@60 omapfb.vrfb=y vram=16M smsc911x.mac0=0xb2,0xb0,0x14,0xb5,0xcd,0xde smsc911x.mac1=0xb2,0xb0,0x14,0xb5,0xcd,0xdf root=/dev/mmcblk0p2 rw rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 50MB 366MB 1MB = 417MB total [ 0.000000] Memory: 416544k/416544k available, 26848k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xe0000000 - 0xf8000000 ( 384 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdff00000 ( 511 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc003e000 ( 216 kB) [ 0.000000] .text : 0xc003e000 - 0xc05d2260 (5713 kB) [ 0.000000] .data : 0xc05d4000 - 0xc0620400 ( 305 kB) [ 0.000000] NR_IRQS:409 [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/800 MHz [ 0.000000] Reprogramming SDRC clock to 400000000 Hz [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] GPMC revision 5.0 [ 0.000000] Trying to install interrupt handler for IRQ402 [ 0.000000] Trying to install interrupt handler for IRQ403 [ 0.000000] Trying to install interrupt handler for IRQ404 [ 0.000000] Trying to install interrupt handler for IRQ405 [ 0.000000] Trying to install interrupt handler for IRQ406 [ 0.000000] Trying to install interrupt handler for IRQ407 [ 0.000000] Trying to install interrupt handler for IRQ408 [ 0.000000] Trying to install type control for IRQ409 [ 0.000000] Trying to set irq flags for IRQ409 [ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Calibrating delay loop... 799.29 BogoMIPS (lpj=3121152) [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] Security Framework initialized [ 0.000000] Mount-cache hash table entries: 512 [ 0.000000] CPU: Testing write buffer coherency: ok [ 0.000000] regulator: core version 0.5 [ 0.000000] regulator: dummy: [ 0.000000] NET: Registered protocol family 16 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] OMAP GPIO hardware version 2.5 [ 0.000000] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.000000] IGEP: Hardware Rev. C [ 0.000000] IGEP: initializing NAND memory device [ 0.000000] GPMC CS0: cs_on : 0 ticks, 0 ns (was 0 ticks) 0 ns [ 0.000000] GPMC CS0: cs_rd_off : 8 ticks, 40 ns (was 7 ticks) 40 ns [ 0.000000] GPMC CS0: cs_wr_off : 8 ticks, 40 ns (was 7 ticks) 40 ns [ 0.000000] GPMC CS0: adv_on : 2 ticks, 10 ns (was 1 ticks) 10 ns [ 0.000000] GPMC CS0: adv_rd_off: 5 ticks, 25 ns (was 7 ticks) 25 ns [ 0.000000] GPMC CS0: adv_wr_off: 8 ticks, 40 ns (was 7 ticks) 40 ns [ 0.000000] GPMC CS0: oe_on : 2 ticks, 10 ns (was 0 ticks) 10 ns [ 0.000000] GPMC CS0: oe_off : 10 ticks, 50 ns (was 5 ticks) 50 ns [ 0.000000] GPMC CS0: we_on : 2 ticks, 10 ns (was 0 ticks) 10 ns [ 0.000000] GPMC CS0: we_off : 6 ticks, 30 ns (was 4 ticks) 30 ns [ 0.000000] GPMC CS0: rd_cycle : 9 ticks, 45 ns (was 7 ticks) 45 ns [ 0.000000] GPMC CS0: wr_cycle : 9 ticks, 45 ns (was 7 ticks) 45 ns [ 0.000000] GPMC CS0: access : 7 ticks, 35 ns (was 4 ticks) 35 ns [ 0.000000] GPMC CS0: page_burst_access: 0 ticks, 0 ns (was 0 ticks) 0 ns [ 0.000000] GPMC CS0: wr_data_mux_bus: 0 ticks, 0 ns (was 0 ticks) 0 ns [ 0.000000] GPMC CS0: wr_access : 7 ticks, 35 ns (was 5 ticks) 35 ns [ 0.000000] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.000000] OMAP DMA hardware revision 5.0 [ 0.015533] bio: create slab <bio-0> at 0 [ 0.016418] regulator: VDD 3V3: 3300 mV normal [ 0.017547] SCSI subsystem initialized [ 0.019683] usbcore: registered new interface driver usbfs [ 0.019927] usbcore: registered new interface driver hub [ 0.020080] usbcore: registered new device driver usb [ 0.020904] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz [ 0.026947] twl4030: PIH (irq 7) chaining IRQs 368..375 [ 0.026977] twl4030: power (irq 373) chaining IRQs 376..383 [ 0.027374] twl4030: gpio (irq 368) chaining IRQs 384..401 [ 0.030395] regulator: VUSB1V5: 1500 mV normal standby [ 0.030914] regulator: VUSB1V8: 1800 mV normal standby [ 0.031433] regulator: VUSB3V1: 3100 mV normal standby [ 0.032745] twl4030_usb twl4030_usb: Initialized TWL4030 USB module [ 0.035095] regulator: VIO: 1800 <--> 1850 mV at 1800 mV normal standby [ 0.035644] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.036163] regulator: VDAC: 1800 mV normal standby [ 0.036926] regulator: VPLL2: 1800 mV normal standby [ 0.037139] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz [ 0.038574] Advanced Linux Sound Architecture Driver Version 1.0.23. [ 0.039550] cfg80211: Calling CRDA to update world regulatory domain [ 0.040283] Switching to clocksource 32k_counter [ 0.055725] musb-hdrc: version 6.0, otg (peripheral+host), debug=0 [ 0.055847] musb-hdrc musb-hdrc.0: dma type: dma-inventra [ 0.056121] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [ 0.056518] NET: Registered protocol family 2 [ 0.056671] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.057006] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.057281] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 0.057434] TCP: Hash tables configured (established 16384 bind 16384) [ 0.057434] TCP reno registered [ 0.057464] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.057464] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.057617] NET: Registered protocol family 1 [ 0.057891] RPC: Registered udp transport module. [ 0.057891] RPC: Registered tcp transport module. [ 0.057891] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.059387] omap-iommu omap-iommu.0: isp registered [ 0.060760] VFS: Disk quotas dquot_6.5.2 [ 0.060821] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.061614] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.061981] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.062713] msgmni has been set to 813 [ 0.063629] io scheduler noop registered (default) [ 0.063629] io scheduler deadline registered [ 0.063720] io scheduler cfq registered [ 0.126556] OMAP DSS rev 2.0 [ 0.149932] OMAP RFBI rev 1.0 [ 0.150024] OMAP DISPC rev 3.0 [ 0.150054] OMAP VENC rev 2 [ 0.150207] omapdss supply vdds_sdi not found, using dummy regulator [ 0.150268] OMAP DSI rev 1.0 [ 0.479064] [drm] Initialized drm 1.1.0 20060810 [ 0.479156] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0 [ 0.479461] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1 [ 0.479736] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2 [ 1.278900] console [ttyO2] enabled [ 1.282836] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3 [ 1.298645] brd: module loaded [ 1.305847] loop: module loaded [ 1.313385] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.320159] omap2-nand driver initializing [ 1.324554] ONFI flash detected [ 1.327941] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron ) [ 1.334899] Creating 3 MTD partitions on "omap2-nand.0": [ 1.340484] 0x000000000000-0x000000080000 : "X-Loader" [ 1.347198] 0x000000080000-0x000000c80000 : "Boot" [ 1.355316] 0x000000c80000-0x000020000000 : "File System" [ 1.444915] OneNAND driver initializing [ 1.450134] smsc911x: Driver version 2008-10-21. [ 1.456176] smsc911x-mdio: probed [ 1.459716] eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=0:01, irq=-1) [ 1.468017] net eth0: MAC Address: 02:98:12:02:f0:28 [ 1.473510] usbcore: registered new interface driver asix [ 1.479309] usbcore: registered new interface driver cdc_ether [ 1.485534] usbcore: registered new interface driver net1080 [ 1.491577] usbcore: registered new interface driver cdc_subset [ 1.497894] usbcore: registered new interface driver zaurus [ 1.503875] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.516967] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [ 2.522979] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 [ 2.530914] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [ 2.548278] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [ 2.554382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.561492] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.569091] usb usb1: Product: OMAP-EHCI Host Controller [ 2.574645] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd [ 2.580322] usb usb1: SerialNumber: ehci-omap.0 [ 2.585754] hub 1-0:1.0: USB hub found [ 2.589721] hub 1-0:1.0: 3 ports detected [ 2.618713] Initializing USB Mass Storage driver... [ 2.624023] usbcore: registered new interface driver usb-storage [ 2.630310] USB Mass Storage support registered. [ 2.635314] usbcore: registered new interface driver libusual [ 2.641479] usbcore: registered new interface driver usbtest [ 2.647460] g_ether gadget: using random self ethernet address [ 2.653594] g_ether gadget: using random host ethernet address [ 2.660156] usb0: MAC 1e:21:86:54:df:94 [ 2.664184] usb0: HOST MAC ee:e7:b8:33:5f:64 [ 2.668701] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 2.675659] g_ether gadget: g_ether ready [ 2.679840] musb-hdrc musb-hdrc.0: MUSB HDRC host driver [ 2.685455] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2 [ 2.693267] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.700408] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.707977] usb usb2: Product: MUSB HDRC host driver [ 2.713165] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd [ 2.718811] usb usb2: SerialNumber: musb-hdrc.0 [ 2.724243] hub 2-0:1.0: USB hub found [ 2.728210] hub 2-0:1.0: 1 port detected [ 2.733245] mice: PS/2 mouse device common for all mice [ 2.739440] input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0 [ 2.752593] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1 [ 2.764526] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 2.771179] twl_rtc twl_rtc: Power up reset detected. [ 2.776702] twl_rtc twl_rtc: Enabling TWL-RTC. [ 2.781738] i2c /dev entries driver [ 2.786224] Linux media interface: v0.10 [ 2.790496] Linux video capture interface: v2.00 [ 2.795593] usbcore: registered new interface driver uvcvideo [ 2.801635] USB Video Class driver (v1.0.0) [ 2.806396] cpuidle: using governor ladder [ 2.810668] cpuidle: using governor menu [ 2.815917] mmci-omap-hs.0 supply vmmc_aux not found, using dummy regulator [ 2.824218] mmci-omap-hs.1 supply vmmc_aux not found, using dummy regulator [ 2.834289] omap_sham_mod_init: loading omap-sham driver [ 2.839874] omap_sham_mod_init: Unsupported cpu [ 2.844604] omap_aes_mod_init: loading omap-aes driver [ 2.850006] omap_aes_mod_init: Unsupported cpu [ 2.855194] usbcore: registered new interface driver usbhid [ 2.861053] usbhid: USB HID core driver [ 2.867004] IGEP SoC init [ 2.964752] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok [ 2.974548] ALSA device list: [ 2.977630] #0: igep [ 2.980316] TCP cubic registered [ 2.983703] Initializing XFRM netlink socket [ 2.988220] NET: Registered protocol family 17 [ 2.992889] NET: Registered protocol family 15 [ 2.997589] L2TP core driver, V2.0 [ 3.001159] lib80211: common routines for IEEE802.11 drivers [ 3.007110] Registering the dns_resolver key type [ 3.012054] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 3.020385] ThumbEE CPU extension supported. [ 3.030426] Power Management for TI OMAP3. [ 3.036315] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 3.044464] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 3.052734] SmartReflex Class3 initialized [ 3.059509] clock: disabling unused clocks to save power [ 3.086303] Console: switching to colour frame buffer device 160x45 [ 3.103881] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 3.112396] omap_vout omap_vout: Buffer Size = 3686400 [ 3.118682] omap_vout omap_vout: : registered and initialized video device 0 [ 3.126068] omap_vout omap_vout: Buffer Size = 3686400 [ 3.132324] omap_vout omap_vout: : registered and initialized video device 1 [ 3.140197] Waiting for root device /dev/mmcblk0p2... [ 3.212158] mmc0: host does not support reading read-only switch. assuming write-enable. [ 3.236083] mmc0: new high speed SDHC card at address b368 [ 3.242156] mmcblk0: mmc0:b368 USD 3.75 GiB [ 3.248413] mmcblk0: p1 p2 [ 3.342407] mmc1: new SDIO card at address 0001 [ 3.361755] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 3.372009] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 3.435180] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.443664] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.449981] Freeing init memory: 216K modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory * Loading cpufreq kernel modules... [ OK ] * CPU0... [ OK ] * CPUFreq Utilities: Setting ondemand CPUFreq governor... Ubuntu 12.04.4 LTS igep00x0 ttyO2 igep00x0 login:
After first boot
When the system boot (for a first time) you will see this error related to the kernel modules:
modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory
This is normal due we didn't install the kernel yet ...
login using the serial console:
username: root password: letmein
Verify the boot partition
Check the boot partition (verify that you've the boot partition mounted in the boot directory)
$ mount /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
if the microsd card first partition is not mounted (not show the upper message) mount it manually as
$ mount /dev/mmcblk0p1 /boot
Install the kernel package
Go to /root/packages directory
$ cd /root/packages
$ dpkg -i linux-image-2.6.37_0009.isee_armel.deb
Selecting previously unselected package linux-image-2.6.37.
(Reading database ... 14495 files and directories currently installed.)
Unpacking linux-image-2.6.37 (from linux-image-2.6.37_0009.isee_armel.deb) ...
Done.
Setting up linux-image-2.6.37 (0009.isee) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 2.6.37 /boot/vmlinuz-2.6.37
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.37 /boot/vmlinuz-2.6.37
update-initramfs: Generating /boot/initrd.img-2.6.37
Now install the wifi/bt firmware (you can install both Marvel and TI firmware or choice the appropiate firmware) :
$ dpkg -i igep-fw-wifi-marvell-8686_0.1_all.deb
$ dpkg -i dpkg -i igep-fw-wifi-ti-wl1271_0.1_all.deb
Due the first partition uses FAT32 is not possible create symbolic links to the kernel image installed, after install the package go to /boot directory
$ cd /boot
$ ls -al
-rwxr-xr-x 1 root root 60264 Jun 9 2014 MLO
-rwxr-xr-x 1 root root 1369661 Jun 5 2014 System.map-2.6.37
-rwxr-xr-x 1 root root 70924 Jun 5 2014 config-2.6.37
-rwxr-xr-x 1 root root 3018 Jun 9 2014 igep.ini
-rwxr-xr-x 1 root root 1453444 Jan 1 00:23 initrd.img-2.6.37
-rwxr-xr-x 1 root root 3149692 Jun 5 2014 vmlinuz-2.6.37
-rwxr-xr-x 1 root root 3149692 Jun 9 2014 zImage
Overwrite the zImage file using the vmlinuz-2.6.37 file as:
$ cp vmlinuz-2.6.37 zImage
$ sync
At last reboot the board for take the changes effect ...
What is included ...
This package is based on Ubuntu 12.04.4 Core with some extra packages.
You can check the complete log reading the Changelog included into the root directory.
The basic packages for IGEPv2 / IGEP COM Module / IGEP COM Proton be included inside the rootfs.
Using the serial console enter into the /root directory and you will find there the packages directory if you want install the packages execute this command:
dpkg -i <package name>
The packages included are:
- Wifi & BT firmware packages (Marvell or TI Wilink)
- Kernel package (include kernel + modules)
This distribution is based on Ubuntu Core distribution addding some packages, you can check the complete change log reading the changelong included inside /root directory
The root password is: letmein
The distribution include a normal user also:
Username: igep
Password: igep