Re: Linux kernels 3.2 and 3.1.7 are broken! February 06, 2012 07:06AM |
Registered: 14 years ago Posts: 26 |
Re: Linux kernels 3.2 and 3.1.7 are broken! February 06, 2012 12:57PM |
Registered: 13 years ago Posts: 502 |
Robert Mugabe
Re: Linux kernels 3.2 and 3.1.7 are broken! February 06, 2012 05:16PM |
depends on: ( CONFIG_EMBEDDED ) && (! CONFIG_XIP_KERNEL && CONFIG_MMU ) && (! CONFIG_ARCH_REALVIEW || ! CONFIG_SPARSEMEM )
Re: Linux kernels 3.2 and 3.1.7 are broken! February 06, 2012 05:51PM |
Registered: 13 years ago Posts: 502 |
Re: Linux kernels 3.2 and 3.1.7 are broken! February 06, 2012 10:27PM |
Registered: 13 years ago Posts: 502 |
Loading file "/boot/uImage" from usb device 0:1 (usbda1) 1 bytes read Found bootable drive on usb 0:1 Loading file "/boot/uImage" from usb device 0:1 (usbda1) 2311424 bytes read Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 1197305 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.2.2 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2311360 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-3.2.2-kirkwood Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1197241 Bytes = 1.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.2.2-kirkwood (root@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 PREEMPT M on Feb 6 22:06:06 CST 2012 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 CPU: VIVT data cache, VIVT instruction cache Machine: Seagate FreeAgent DockStar Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot), 4M(uImage),32M(rootfs),-(data) PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 125028k/125028k available, 6044k reserved, 0K highmem ... Waiting 10sec before mounting root device... Root-NFS: no NFS server address VFS: Unable to mount root fs via NFS, trying floppy. Freeing init memory: 120K Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. [<c000d744>] (unwind_backtrace+0x0/0xf0) from [<c02ffcc8>] (panic+0x70/0x19c) [<c02ffcc8>] (panic+0x70/0x19c) from [<c02ffa10>] (init_post+0xa0/0xc4) [<c02ffa10>] (init_post+0xa0/0xc4) from [<c03f2808>] (kernel_init+0xec/0x114)and it died, but at least it began the booting process...
Robert Mugabe
Re: Linux kernels 3.2 and 3.1.7 are broken! February 07, 2012 05:24AM |
#CONFIG_ARM_PATCH_PHYS_VIRT is not set CONFIG_PHYS_OFFSET=0x0 CONFIG_EMBEDDED=y
Re: Linux kernels 3.2 and 3.1.7 are broken! February 09, 2012 08:29AM |
Registered: 14 years ago Posts: 9 |
Re: Linux kernels 3.2 and 3.1.7 are broken! February 10, 2012 05:10PM |
Registered: 13 years ago Posts: 128 |
> #CONFIG_ARM_PATCH_PHYS_VIRT is not set > CONFIG_PHYS_OFFSET=0x0 > CONFIG_EMBEDDED=y >>
Re: Linux kernels 3.2 and 3.1.7 are broken! February 11, 2012 06:09AM |
Registered: 13 years ago Posts: 128 |
arch/arm/mach-kirkwood/pogoplugv4-setup.c: In function 'pogoplugv4_pci_init': arch/arm/mach-kirkwood/pogoplugv4-setup.c:179:2: error: implicit declaration of function 'machine_is_pogoplugv4' arch/arm/mach-kirkwood/pogoplugv4-setup.c: At top level: arch/arm/mach-kirkwood/pogoplugv4-setup.c:186:1: error: 'MACH_TYPE_POGOPLUGV4' undeclared here (not in a function) arch/arm/mach-kirkwood/pogoplugv4-setup.c:188:2: error: unknown field 'boot_params' specified in initializerThe errors can be removed if you delete the boot_params variable from the correspnding source files, but I still feel that this is not the correct way to fix the problem, especially if you don't really understand, what the problem is. So I guess I'll stick to 3.1 from the wheezy repo. Must check if that one compiles fine.
Re: Linux kernels 3.2 and 3.1.7 are broken! February 11, 2012 12:54PM |
Registered: 13 years ago Posts: 128 |
General setup -> Embedded System -> Enable Patch physical to virtual translations at runtime -> DisableThen in arch/arm/Kconfig find the passage that looks like this (around line 222)
config PHYS_OFFSET hex "Physical address of main memory" if MMU depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H default DRAM_BASE if !MMU helpand change it to
config PHYS_OFFSET hex "Physical address of main memory" if MMU default 0x0 helpSo far everything looks pretty good.
Re: Linux kernels 3.2 and 3.1.7 are broken! May 20, 2012 05:09PM |
Registered: 12 years ago Posts: 1 |
flash_erase /dev/mtd0 0 4 nandwrite /dev/mtd0 /tmp/uboot.mtd0.kwb-2011.12-L2Cdisabled-davysconfig nanddump -o -l 0x80000 -f /tmp/mtd0.uboot /dev/mtd0 && md5sum /tmp/mtd0.uboot md5sum /tmp/uboot.mtd0.kwb-2011.12-L2Cdisabled-davysconfigBut my output still differs:
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0
CONFIG_USB_EHCI_MV!
[ 5.506691] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 5.513868] mv643xx_eth smi: probed [ 5.519684] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:1a:d1:1e [ 5.528764] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.535676] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.542042] Initializing USB Mass Storage driver... [ 5.547128] usbcore: registered new interface driver usb-storage [ 5.553206] USB Mass Storage support registered.
[ 8.546746] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 8.553823] mv643xx_eth smi: probed [ 8.559529] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:1a:d1:1e [ 8.568708] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.575373] orion-ehci orion-ehci.0: Marvell Orion EHCI [ 8.580637] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 8.612472] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 8.632462] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 8.638475] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 8.645315] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 8.652583] usb usb1: Product: Marvell Orion EHCI [ 8.657311] usb usb1: Manufacturer: Linux 3.1.1-gentoo-dockstar ehci_hcd [ 8.664057] usb usb1: SerialNumber: orion-ehci.0 [ 8.669273] hub 1-0:1.0: USB hub found [ 8.673101] hub 1-0:1.0: 1 port detected [ 8.677663] Initializing USB Mass Storage driver... [ 8.682800] usbcore: registered new interface driver usb-storage [ 8.688832] USB Mass Storage support registered.
Re: Linux kernels 3.2 and 3.1.7 are broken! May 21, 2012 07:54PM |
Registered: 13 years ago Posts: 502 |