From: Ryan M. <ke...@gm...> - 2010-05-18 21:11:40
|
I don't know of any reason I would *need* the newer kernel - I'm more interested in staying on top of patches to the rest of the packages. Is there any reason I couldn't run the old kernel with a filesystem image built from the new repo? I've poked around the recipes but I can't figure out how to reduce the kernel size. It's currently about 1.2M, and the Connex board is set up to allocate 1M for the kernel. If someone could point me in the right direction I'd love to either increase the kernel size allocation or decrease the compiled kernel size... -Ryan On Tue, May 18, 2010 at 2:55 PM, Ash Charles <as...@gu...> wrote: > Hi Ryan, > > Are you trying to use the new kernel (2.6.31, comes from the GIT repo > that you mention) or the old one (2.6.21, what appears to be booting)? > If you need the old kernel, I recommend using the SVN repo which > explicitly supports Connex boards. If you want the new kernel, make > sure this is what you are actually booting :). > > Some work would likely be required to move Connex-specific patches > from the old repo to the new one in order to get the connex booting > correctly. > > -Ash > > p.s. If you do use the new kernel, let me know how this goes as I'm > using connex boards on a personal project and I'd be interested in > using the newer kernel. > > > On Tue, May 18, 2010 at 8:05 AM, Ryan Michael <ke...@gm...> wrote: > > I've got a connex 400xm that I'd like to use for a project I'm working > on, > > and I was hoping I could use the more recent repositories. I've tried > > building a stripped-down version of the verdex-console-image.bb file > > (without any tools, firmware, or audio packages), but the image seems > boots > > up partially then hangs. Here's the output from the console: > > GUM> bootm > > ## Booting image at a2000000 ... > > Image Name: Angstrom/2.6.21/gumstix-custom-c > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 1041252 Bytes = 1016.8 kB > > Load Address: a0008000 > > Entry Point: a0008000 > > OK > > Starting kernel ... > > Linux version 2.6.21 (otto@otto) (gcc version 4.1.2) #1 PREEMPT Mon May > 12 > > 14:33:32 PDT 2008 > > CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE), cr=0000397f > > Machine: The Gumstix Platform > > Memory policy: ECC disabled, Data cache writeback > > Memory clock: 99.53MHz (*27) > > Run Mode clock: 398.13MHz (*4) > > Turbo Mode clock: 398.13MHz (*1.0, inactive) > > CPU0: D VIVT undefined 5 cache > > CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > > CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > > Built 1 zonelists. Total pages: 16256 > > Kernel command line: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 > > reboot=cold,hard > > PID hash table entries: 256 (order: 8, 1024 bytes) > > Console: colour dummy device 80x30 > > Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > > Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > > Memory: 64MB = 64MB total > > Memory: 62652KB available (1884K code, 191K data, 144K init) > > Mount-cache hash table entries: 512 > > CPU: Testing write buffer coherency: ok > > NET: Registered protocol family 16 > > Time: pxa_timer clocksource has been installed. > > NET: Registered protocol family 2 > > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > > TCP established hash table entries: 2048 (order: 2, 16384 bytes) > > TCP bind hash table entries: 2048 (order: 1, 8192 bytes) > > TCP: Hash tables configured (established 2048 bind 2048) > > TCP reno registered > > JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc. > > io scheduler noop registered > > io scheduler cfq registered (default) > > Console: switching to colour frame buffer device 80x24 > > pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART > > pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART > > pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART > > pxa2xx-uart.3: ttyS3 at MMIO 0x41600000 (irq = 0) is a HWUART > > Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit > bankwidth) > > Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank > > Intel/Sharp Extended Query Table at 0x0031 > > Using buffer write method > > cfi_cmdset_0001: Erase suspend on write enabled > > Using static partitions on Gumstix Flash ROM > > Creating 3 MTD partitions on "Gumstix Flash ROM": > > 0x00000000-0x00040000 : "Bootloader" > > 0x00040000-0x00f00000 : "RootFS" > > 0x00f00000-0x01000000 : "Kernel" > > TCP cubic registered > > NET: Registered protocol family 1 > > NET: Registered protocol family 17 > > XScale DSP coprocessor detected. > > VFS: Mounted root (jffs2 filesystem). > > Freeing init memory: 144K > > Ive > > Please wait: booting... > > Starting udev > > /etc/rcS.d/S03udev: line 55: depmod: not found > > Root filesystem already rw, not remounting > > Caching udev devnodes > > Populating dev cache > > root: mount: mount point /proc/bus/usb does not exist > > Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device > > done. > > Setting up IP spoofing protection: rp_filter. > > hwclock: can't open '/dev/misc/rtc': No such file or directory > > Sun May 16 23:21:00 UTC 2010 > > hwclock: can't open '/dev/misc/rtc': No such file or directory > > Configuring ntpdate. > > adding crontab > > > > I'm still using the factory-supplied kernel (2.6.21) because the > > gumstix-kernel_2.6.31.bb kernel is too large and I haven't had any luck > > making it smaller (I'm new to bitbake). > > Has anyone had any luck building images for the connex series with the > new > > sources? I can go back to the SVN environment, but I'd really prefer to > > stay current with the sources... > > Thanks > > -Ryan > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |