PROBLEM: Attempt to Enable CAN Network with MCP251x SPI Interface Results in Kernel Panics at Boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I recently purchased a A10-OLinuXino-LIME from https://www.olimex.com/. ; This board uses the Allwinner A10 Cortex-8 chipset.  Using the kernel from https://github.com/linux-sunxi and commit e37d760b363888f3a65cd6455c99a75cac70a7b8, I was able to successfully build and run kernel 3.4.90+ on the above mentioned board.

I attempted to enable the CAN Network with the MCP251x SPI interface enabled, config file is attached, and now the kernel "panics" at boot.  The short hand looks like the following: (Full boot log is attached)

///////////////////////////////////////////////////////////////////////////////////////////////
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.272001] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<1>Unable to handle kernel paging request at virtual address 71c007b4
[    1.284403] Unable to handle kernel paging request at virtual address 71c007b4
<1>pgd = c0004000
[    1.293294] pgd = c0004000
<1>[71c007b4] *pgd=00000000[    1.298345] [71c007b4] *pgd=00000000

<0>Internal error: Oops: 5 [#1] PREEMPT ARM
[    1.306038] Internal error: Oops: 5 [#1] PREEMPT ARM
<d>Modules linked in:[    1.312825] Modules linked in:

CPU: 0    Not tainted  (3.4.90+ #8)
[    1.319284] CPU: 0    Not tainted  (3.4.90+ #8)
PC is at sunxi_gpio_request_array.part.4+0xdc/0x4c4
[    1.328419] PC is at sunxi_gpio_request_array.part.4+0xdc/0x4c4
LR is at sunxi_gpio_request_array.part.4+0x4c0/0x4c4
[    1.339023] LR is at sunxi_gpio_request_array.part.4+0x4c0/0x4c4
pc : [<c0029cac>]    lr : [<c002a090>]    psr: 20000013
sp : df827ef0  ip : 31c107c8  fp : 31c107d0
[    1.353880] pc : [<c0029cac>]    lr : [<c002a090>]    psr: 20000013
[    1.353885] sp : df827ef0  ip : 31c107c8  fp : 31c107d0
r10: f1c207c8  r9 : c07ee7f4  r8 : c0604ed0
[    1.369261] r10: f1c207c8  r9 : c07ee7f4  r8 : c0604ed0
r7 : c0926844  r6 : 00000001  r5 : 00000058  r4 : c0877248
[    1.379689] r7 : c0926844  r6 : 00000001  r5 : 00000058  r4 : c0877248
r3 : f1c207dc  r2 : 31c107d8  r1 : 00000000  r0 : 71c007d8
[    1.391416] r3 : f1c207dc  r2 : 31c107d8  r1 : 00000000  r0 : 71c007d8
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.403925] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 40004019  DAC: 00000015
[    1.415654] Control: 10c5387d  Table: 40004019  DAC: 00000015
///////////////////////////////////////////////////////////////////////////////////////////////

I have also attached a procedure for reproducing the problem.  Thank you in advance for any help you can provide.

Best Regards,

Jesse James
Software Design Engineer

Duke Manufacturing
2305 North Broadway
St. Louis, MO 63102
314-231-1130 Ext. 1335
www.dukemfg.com 

U-Boot SPL 2014.04-10675-g44b53fd (May 23 2014 - 13:02:55)
Board: A10-OLinuXino-Lime
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-10675-g44b53fd (May 23 2014 - 13:02:55) Allwinner Technology

CPU:   Allwinner A10 (SUN4I)
Board: A10-OLinuXino-Lime
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0
reading uEnv.txt
104 bytes read in 17 ms (5.9 KiB/s)
Loaded environment from uEnv.txt
reading boot.scr
337 bytes read in 16 ms (20.5 KiB/s)
Jumping to boot.scr
## Executing script at 44000000
reading script.bin
54504 bytes read in 33 ms (1.6 MiB/s)
reading uImage
4466392 bytes read in 217 ms (19.6 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.4.90+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4466328 Bytes = 4.3 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<5>Linux version 3.4.90+ (jesse@debian-jesse) (gcc version 4.7.2 (Debian 4.7.2-5) ) #8 PREEMPT Tue May 26 10:45:43 CDT 2015
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun4i
<6>Memory Reserved:
<6>     SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
<6>     VE   : 0x44000000 - 0x48ffffff  (  80 MB)
<6>     LCD  : 0x49000000 - 0x49ffffff  (  16 MB)
Memory policy: ECC disabled, Data cache writeback
<6>sunxi: Allwinner A10 revision C (AW1623/sun4i) detected.
<7>On node 0 totalpages: 131072
<7>free_area_init_node: node 0, pgdat c08693a8, node_mem_map d0000000
<7>  DMA zone: 512 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 65024 pages, LIFO batch:15
<7>  Normal zone: 512 pages used for memmap
<7>  Normal zone: 65024 pages, LIFO batch:15
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
<7>pcpu-alloc: <c>[0] <c>0 <c>
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
<5>Kernel command line: console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1280x720p50 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 root=/dev/mmcblk0p2 rootwait panic=10
<6>PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 512MB = 512MB total
<5>Memory: 410940k/410940k available, 113348k reserved, 0K highmem
<5>Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc07d51ac   (7989 kB)
      .init : 0xc07d6000 - 0xc0802000   ( 176 kB)
      .data : 0xc0802000 - 0xc0874a28   ( 459 kB)
       .bss : 0xc0874a4c - 0xc0a30678   (1776 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:128
<6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>CPU: Testing write buffer coherency: ok
<6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>Setting up static identity map for 0x40564938 - 0x40564990
<6>devtmpfs: initialized
<6>dummy:
<6>NET: Registered protocol family 16
<6>DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>hw-breakpoint: debug architecture 0x4 unsupported.
<6>Init eGon pin module V2.0
SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
<6>Initialize DMAC OK
<6>bio: create slab <bio-0> at 0
<5>SCSI subsystem initialized
<7>libata version 3.00 loaded.
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Linux video capture interface: v2.00
<6>Advanced Linux Sound Architecture Driver Version 1.0.25.
<6>Bluetooth: Core ver 2.16
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>Bluetooth: L2CAP socket layer initialized
<6>Bluetooth: SCO socket layer initialized
<6>Switching to clocksource aw_64bits_counter
<5>FS-Cache: Loaded
<6>cfg80211: Calling CRDA to update world regulatory domain
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
WRN:L268(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: usbc0 port_type(-16777217) is unkown
WRN:L426(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: check_usb_board_info failed
WRN:L480(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: get_usb_cfg failed
[sw_hcd0]: usb host driver initialize........
[sw_udc]: udc_init: version 20080411
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 16384 bind 16384)
<6>TCP: reno registered
<6>UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.289:1): initialized
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<5>NFS: Registering the id_resolver key type
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>msgmni has been set to 802
<3>alg: comp: Compression test 1 failed for lzo-generic: output len = 57
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
<6>[uart]: used uart info.: 0x11
<6>[uart]: serial probe 0 irq 1 mapbase 0x01c28000
<6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.4.90+ (jesse@debian-jesse) (gcc version 4.7.2 (Debian 4.7.2-5) ) #8 PREEMPT Tue May 26 10:45:43 CDT 2015
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun4i
[    0.000000] Memory Reserved:
[    0.000000]  SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
[    0.000000]  VE   : 0x44000000 - 0x48ffffff  (  80 MB)
[    0.000000]  LCD  : 0x49000000 - 0x49ffffff  (  16 MB)
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] sunxi: Allwinner A10 revision C (AW1623/sun4i) detected.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1280x720p50 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 root=/dev/mmcblk0p2 rootwait panic=10
[    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: 512MB = 512MB total
[    0.000000] Memory: 410940k/410940k available, 113348k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d51ac   (7989 kB)
[    0.000000]       .init : 0xc07d6000 - 0xc0802000   ( 176 kB)
[    0.000000]       .data : 0xc0802000 - 0xc0874a28   ( 459 kB)
[    0.000000]        .bss : 0xc0874a4c - 0xc0a30678   (1776 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005999] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.050263] pid_max: default: 32768 minimum: 301
[    0.053851] Mount-cache hash table entries: 512
[    0.057676] Initializing cgroup subsys cpuacct
[    0.061077] Initializing cgroup subsys devices
[    0.064474] Initializing cgroup subsys freezer
[    0.067716] Initializing cgroup subsys blkio
[    0.071260] CPU: Testing write buffer coherency: ok
[    0.078797] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.084339] Setting up static identity map for 0x40564938 - 0x40564990
[    0.087164] devtmpfs: initialized
[    0.089392] dummy:
[    0.092906] NET: Registered protocol family 16
[    0.099205] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104526] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.107963] Init eGon pin module V2.0
[    0.113371] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
[    0.115435] Initialize DMAC OK
[    0.122717] bio: create slab <bio-0> at 0
[    0.125881] SCSI subsystem initialized
[    0.133431] usbcore: registered new interface driver usbfs
[    0.137737] usbcore: registered new interface driver hub
[    0.141846] usbcore: registered new device driver usb
[    0.145495] Linux video capture interface: v2.00
[    0.151001] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.153832] Bluetooth: Core ver 2.16
[    0.157278] NET: Registered protocol family 31
[    0.162581] Bluetooth: HCI device and connection manager initialized
[    0.166412] Bluetooth: HCI socket layer initialized
[    0.170426] Bluetooth: L2CAP socket layer initialized
[    0.174267] Bluetooth: SCO socket layer initialized
[    0.178909] Switching to clocksource aw_64bits_counter
[    0.180868] FS-Cache: Loaded
[    0.186257] cfg80211: Calling CRDA to update world regulatory domain
[    0.188396] CacheFiles: Loaded
[    0.195174] [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[    0.202507] WRN:L268(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: usbc0 port_type(-16777217) is unkown
[    0.210986] WRN:L426(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: check_usb_board_info failed
[    0.218658] WRN:L480(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: get_usb_cfg failed
[    0.221820] [sw_hcd0]: usb host driver initialize........
[    0.225890] [sw_udc]: udc_init: version 20080411
[    0.231965] NET: Registered protocol family 2
[    0.238075] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.244546] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.250262] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.255873] TCP: Hash tables configured (established 16384 bind 16384)
[    0.258057] TCP: reno registered
[    0.262843] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.268084] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.271547] NET: Registered protocol family 1
[    0.276688] RPC: Registered named UNIX socket transport module.
[    0.280347] RPC: Registered udp transport module.
[    0.284050] RPC: Registered tcp transport module.
[    0.289440] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.294510] audit: initializing netlink socket (disabled)
[    0.298201] type=2000 audit(0.289:1): initialized
[    0.307574] VFS: Disk quotas dquot_6.5.2
[    0.312942] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.318511] NFS: Registering the id_resolver key type
[    0.322737] NTFS driver 2.1.30 [Flags: R/W].
[    0.325994] fuse init (API version 7.18)
[    0.329251] msgmni has been set to 802
[    0.338822] alg: comp: Compression test 1 failed for lzo-generic: output len = 57
[    0.342065] alg: No test for stdrng (krng)
[    0.348647] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.351531] io scheduler noop registered
[    0.354829] io scheduler deadline registered
[    0.358512] io scheduler cfq registered (default)
[    0.363121] sunxi disp driver loaded (/dev/disp api 1.0)
[    0.368626] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.372644] [uart]: used uart info.: 0x11
[    0.377226] [uart]: serial probe 0 irq 1 mapbase 0x01c28000
[    0.403214] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
<6>console [ttyS0] enabled
[    0.994100] console [ttyS0] enabled
<6>[uart]: serial probe 4 irq 17 mapbase 0x01c29000
[    1.002366] [uart]: serial probe 4 irq 17 mapbase 0x01c29000
<6>sunxi-uart.4: ttyS1 at MMIO 0x1c29000 (irq = 17) is a U6_16550A
[    1.034026] sunxi-uart.4: ttyS1 at MMIO 0x1c29000 (irq = 17) is a U6_16550A
<7>G2D: drv_g2d_init
<6>G2D: Module initialized.major:251
[    1.046660] G2D: Module initialized.major:251
<6>brd: module loaded
[    1.053582] brd: module loaded
<6>loop: module loaded
[    1.060728] loop: module loaded
[spi]: sw spi init !!
[    1.066136] [spi]: sw spi init !!
[spi]: Found 1 spi devices in config files
[    1.073310] [spi]: Found 1 spi devices in config files
[spi]: boards num modalias         max_spd_hz       bus_num  cs   mode
[    1.084693] [spi]: boards num modalias         max_spd_hz       bus_num  cs   mode
[spi]: spi_board0 irq gpio not used
[    1.095494] [spi]: spi_board0 irq gpio not used
[spi]: 0          spidev           10000000         2        0    0x3
[    1.106459] [spi]: 0          spidev           10000000         2        0    0x3
[spi]: bus num = 2, spi used = 1
[    1.117351] [spi]: bus num = 2, spi used = 1
[spi]: source = sdram_pll_p, src_clk = 480000000, mclk 96000000
[    1.127533] [spi]: source = sdram_pll_p, src_clk = 480000000, mclk 96000000
<6>sun4i-spi sun4i-spi.2: master is unqueued, this is deprecated
[    1.140357] sun4i-spi sun4i-spi.2: master is unqueued, this is deprecated
[spi]: allwinners SoC SPI Driver loaded for Bus SPI-2 with 2 Slaves attached
[    1.154114] [spi]: allwinners SoC SPI Driver loaded for Bus SPI-2 with 2 Slaves attached
[spi]: [spi-2]: driver probe succeed, base f1c17000, irq 12, dma_id 2!
[    1.168471] [spi]: [spi-2]: driver probe succeed, base f1c17000, irq 12, dma_id 2!
<6>CAN device driver interface
[    1.178865] CAN device driver interface
<6>sunxi_emac Using mii phy on PortA
[    1.186046] sunxi_emac Using mii phy on PortA
<6>sunxi_emac Using MAC from SID: 02:54:02:81:20:dd[    1.204978] sunxi_emac Using MAC from SID: 02:54:02:81:20:dd<6>PPP generic driver version 2.4.2

[    1.215487] PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
[    1.223759] PPP BSD Compression module registered
<6>PPP Deflate Compression module registered
[    1.232454] PPP Deflate Compression module registered
<6>PPP MPPE Compression module registered
[    1.242058] PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
[    1.250325] NET: Registered protocol family 24
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.260282] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.272001] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<1>Unable to handle kernel paging request at virtual address 71c007b4
[    1.284403] Unable to handle kernel paging request at virtual address 71c007b4
<1>pgd = c0004000
[    1.293294] pgd = c0004000
<1>[71c007b4] *pgd=00000000[    1.298345] [71c007b4] *pgd=00000000

<0>Internal error: Oops: 5 [#1] PREEMPT ARM
[    1.306038] Internal error: Oops: 5 [#1] PREEMPT ARM
<d>Modules linked in:[    1.312825] Modules linked in:

CPU: 0    Not tainted  (3.4.90+ #8)
[    1.319284] CPU: 0    Not tainted  (3.4.90+ #8)
PC is at sunxi_gpio_request_array.part.4+0xdc/0x4c4
[    1.328419] PC is at sunxi_gpio_request_array.part.4+0xdc/0x4c4
LR is at sunxi_gpio_request_array.part.4+0x4c0/0x4c4
[    1.339023] LR is at sunxi_gpio_request_array.part.4+0x4c0/0x4c4
pc : [<c0029cac>]    lr : [<c002a090>]    psr: 20000013
sp : df827ef0  ip : 31c107c8  fp : 31c107d0
[    1.353880] pc : [<c0029cac>]    lr : [<c002a090>]    psr: 20000013
[    1.353885] sp : df827ef0  ip : 31c107c8  fp : 31c107d0
r10: f1c207c8  r9 : c07ee7f4  r8 : c0604ed0
[    1.369261] r10: f1c207c8  r9 : c07ee7f4  r8 : c0604ed0
r7 : c0926844  r6 : 00000001  r5 : 00000058  r4 : c0877248
[    1.379689] r7 : c0926844  r6 : 00000001  r5 : 00000058  r4 : c0877248
r3 : f1c207dc  r2 : 31c107d8  r1 : 00000000  r0 : 71c007d8
[    1.391416] r3 : f1c207dc  r2 : 31c107d8  r1 : 00000000  r0 : 71c007d8
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.403925] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 40004019  DAC: 00000015
[    1.415654] Control: 10c5387d  Table: 40004019  DAC: 00000015

PC: 0xc0029c2c:
[    1.423047]
[    1.423049] PC: 0xc0029c2c:
9c2c [    1.427763] 9c2c  e3500000 e3500000 e58d0024 e58d0024 0a000108 0a000108 e3550000 e3550000 1a000110 1a000110 e59d2024 e59d2024 e3560000 e3560000 e5824000 e5824000

9c4c [    1.442957] 9c4c  0a000102 0a000102 e5973020 e5973020 e5972024 e5972024 e3530000 e3530000 13a01000 13a01000 01a00007 01a00007 01a01003 01a01003 0a0000d6 0a0000d6

9c6c [    1.458150] 9c6c  e3074248 e3074248 e34c4087 e34c4087 e0833183 e0833183 e1a001a2 e1a001a2 e594c000 e594c000 e1a02222 e1a02222 e1560001 e1560001 e08c3103 e08c3103

9c8c [    1.473342] 9c8c  e0832102 e0832102 e0830100 e0830100 e242b008 e242b008 e240a024 e240a024 e242c010 e242c010 e58da014 e58da014 e58db038 e58db038 e243a014 e243a014

9cac [    1.488534] 9cac  e510b024 e510b024 e5124008 e5124008 e5122010 e5122010 e5133014 e5133014 e58dc034 e58dc034 e58d4010 e58d4010 e58da030 e58da030 e58d200c e58d200c

9ccc [    1.503726] 9ccc  e58d302c e58d302c 9a0000e1 9a0000e1 e59d2024 e59d2024 e3e03102 e3e03102 e3a0c000 e3a0c000 e1a05001 e1a05001 e2822010 e2822010 e58dc008 e58dc008

9cec [    1.518920] 9cec  e58d203c e58d203c e1a02006 e1a02006 e58dc018 e58dc018 e1a06003 e1a06003 e58dc01c e58dc01c e58dc020 e58dc020 e1a0c003 e1a0c003 e58d3028 e58d3028

9d0c [    1.534112] 9d0c  ea000003 ea000003 e2855001 e2855001 e1520005 e1520005 e1a01005 e1a01005 9a000092 9a000092 e1a0a181 e1a0a181 e061400a e061400a e0874184 e0874184


LR: 0xc002a010:
[    1.550519]
[    1.550522] LR: 0xc002a010:
a010 [    1.555236] a010  e2433024 e2433024 e083310c e083310c e083c100 e083c100 e58dc014 e58dc014 e793b100 e793b100 eaffff8b eaffff8b e5944034 e5944034 e3540000 e3540000

a030 [    1.570429] a030  baffffc6 baffffc6 e59d302c e59d302c e2044001 e2044001 e58d0028 e58d0028 e1a06008 e1a06008 e1c3c91a e1c3c91a e58da008 e58da008 e18c4914 e18c4914

a050 [    1.585621] a050  e1a03001 e1a03001 e58d402c e58d402c eaffff2c eaffff2c e3a00000 e3a00000 eaffffd6 eaffffd6 e3a00010 e3a00010 e3a01020 e3a01020 eb025ee3 eb025ee3

a070 [    1.600813] a070  e3500000 e3500000 e58d0024 e58d0024 0afffff7 0afffff7 e1a04006 e1a04006 e3a05010 e3a05010 e59d0024 e59d0024 e1a01005 e1a01005 eb095ba3 eb095ba3

a090 [    1.616006] a090  eafffeea eafffeea e3500000 e3500000 13510000 13510000 0a000000 0a000000 eafffeca eafffeca e3a00000 e3a00000 e12fff1e e12fff1e e92d4070 e92d4070

a0b0 [    1.631197] a0b0  e2506000 e2506000 0a000015 0a000015 e59f3058 e59f3058 e5934000 e5934000 e5945000 e5945000 e3550000 e3550000 0a00000e 0a00000e e2844010 e2844010

a0d0 [    1.646390] a0d0  ea000002 ea000002 e2555001 e2555001 e2844028 e2844028 0a000009 0a000009 e1a01004 e1a01004 e1a00006 e1a00006 e3a02020 e3a02020 eb097f26 eb097f26

a0f0 [    1.661583] a0f0  e3500000 e3500000 1afffff6 1afffff6 e3540000 e3540000 0a000001 0a000001 e5940020 e5940020 e8bd8070 e8bd8070 e3e00000 e3e00000 e8bd8070 e8bd8070


SP: 0xdf827e70:
[    1.677990]
[    1.677993] SP: 0xdf827e70:
7e70 [    1.682707] 7e70  0000000a 0000000a 00000000 00000000 00000000 00000000 00000000 00000000 df81a850 df81a850 df811000 df811000 00000000 00000000 df31c800 df31c800

7e90 [    1.697899] 7e90  c0029cac c0029cac 20000013 20000013 ffffffff ffffffff df827edc df827edc c0604ed0 c0604ed0 c000e758 c000e758 71c007d8 71c007d8 00000000 00000000

7eb0 [    1.713091] 7eb0  31c107d8 31c107d8 f1c207dc f1c207dc c0877248 c0877248 00000058 00000058 00000001 00000001 c0926844 c0926844 c0604ed0 c0604ed0 c07ee7f4 c07ee7f4

7ed0 [    1.728284] 7ed0  f1c207c8 f1c207c8 31c107d0 31c107d0 31c107c8 31c107c8 df827ef0 df827ef0 c002a090 c002a090 c0029cac c0029cac 20000013 20000013 ffffffff ffffffff

7ef0 [    1.743476] 7ef0  c05f8660 c05f8660 c028c8c4 c028c8c4 00000002 00000002 0000000a 0000000a ffffffff ffffffff 71c007b4 71c007b4 c0926800 c0926800 3f6d97ff 3f6d97ff

7f10 [    1.758668] 7f10  ff0a0210 ff0a0210 dfa0c580 dfa0c580 00000000 00000000 0000305b 0000305b c07472cc c07472cc c3000000 c3000000 31c107d0 31c107d0 c0926888 c0926888

7f30 [    1.773860] 7f30  00000004 00000004 c09267fc c09267fc c0926844 c0926844 00000000 00000000 c0604ed0 c0604ed0 c0604ed0 c0604ed0 c07ee7f4 c07ee7f4 df826000 df826000

7f50 [    1.789052] 7f50  00000000 00000000 c055f534 c055f534 c09267fc c09267fc 00000006 00000006 c07faa5c c07faa5c c0874a80 c0874a80 000000d6 000000d6 c07ee82c c07ee82c


R3: 0xf1c2075c:
[    1.805458]
[    1.805461] R3: 0xf1c2075c:
075c [    1.810174] 075c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

077c [    1.825367] 077c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

079c [    1.840559] 079c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07bc [    1.855752] 07bc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07dc [    1.870945] 07dc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07fc [    1.886137] 07fc  00000000 00000000 22222222 22222222 22222222 22222222 00000022 00000022 00000000 00000000 00000000 00000000 55555555 55555555 00000005 00000005

081c [    1.901331] 081c  00000000 00000000 00000000 00000000 00000022 00000022 00000000 00000000 22000000 22000000 00000000 00000000 003ec000 003ec000 55555555 55555555

083c [    1.916524] 083c  00005555 00005555 00000000 00000000 00005000 00005000 00000000 00000000 00000000 00000000 03333000 03333000 00000000 00000000 008600d0 008600d0


R4: 0xc08771c8:
[    1.932931]
[    1.932934] R4: 0xc08771c8:
71c8 [    1.937647] 71c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

71e8 [    1.952840] 71e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

7208 [    1.968032] 7208  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

7228 [    1.983223] 7228  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000017 00000017 00000000 00000000

7248 [    1.998415] 7248  f1c20800 f1c20800 4a000000 4a000000 60000000 60000000 44000000 44000000 00000000 00000000 49000000 49000000 00000657 00000657 40000013 40000013

7268 [    2.013607] 7268  c3000000 c3000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00040000 00040000

7288 [    2.028799] 7288  00000000 00000000 00000000 00000000 00000000 00000000 f1c02100 f1c02100 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

72a8 [    2.043990] 72a8  00000000 00000000 c08772b0 c08772b0 00000000 00000000 00000000 00000000 7fffffff 7fffffff 00000000 00000000 00000000 00000000 00000000 00000000


R7: 0xc09267c4:
[    2.060396]
[    2.060399] R7: 0xc09267c4:
67c4 [    2.065113] 67c4  c09267c0 c09267c0 0bd00000 0bd00000 00002000 00002000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

67e4 [    2.080305] 67e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000001 652d7773 652d7773

6804 [    2.095497] 6804  31696368 31696368 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 f1c14000 f1c14000

6824 [    2.110688] 6824  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

6844 [    2.125879] 6844  5f627375 5f627375 5f767264 5f767264 73756276 73756276 6970675f 6970675f 0000006f 0000006f 00000000 00000000 00000000 00000000 00000000 00000000

6864 [    2.141072] 6864  ffffffff ffffffff fffbfffd fffbfffd fbffdfff fbffdfff ffbfffff ffbfffff fffffeff fffffeff ffeffdff ffeffdff 00000000 00000000 fff7ffff fff7ffff

6884 [    2.156264] 6884  00000000 00000000 ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

68a4 [    2.171456] 68a4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


R8: 0xc0604e50:
[    2.187860]
[    2.187863] R8: 0xc0604e50:
4e50 [    2.192576] 4e50  00000065 00000065 6963686f 6963686f 6463685f 6463685f 7369642e 7369642e 73757274 73757274 69665f74 69665f74 61776d72 61776d72 00006572 00006572

4e70 [    2.207770] 4e70  00000000 00000000 00000000 00000000 c037e96c c037e96c c0381300 c0381300 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

4e90 [    2.222963] 4e90  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

4eb0 [    2.238154] 4eb0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 f1c13000 f1c13000

4ed0 [    2.253346] 4ed0  f1c14000 f1c14000 f1c1c000 f1c1c000 c07474b0 c07474b0 c07474b8 c07474b8 c07474c0 c07474c0 c0729708 c0729708 c06f262c c06f262c c06f297c c06f297c

4ef0 [    2.268538] 4ef0  c0729708 c0729708 c06f2594 c06f2594 c06f25a0 c06f25a0 c0729708 c0729708 c06f2620 c06f2620 c06f2970 c06f2970 c06f2568 c06f2568 c06f2568 c06f2568

4f10 [    2.283731] 4f10  c06f2568 c06f2568 c06f2570 c06f2570 c06f257c c06f257c c06f2588 c06f2588 652d7773 652d7773 00696368 00696368 6f2d7773 6f2d7773 00696368 00696368

4f30 [    2.298923] 4f30  5f6d6361 5f6d6361 72617473 72617473 62775f74 62775f74 00000000 00000000 5f6d6361 5f6d6361 6d627573 6d627573 725f7469 725f7469 5f646165 5f646165


R9: 0xc07ee774:
[    2.315330]
[    2.315332] R9: 0xc07ee774:
e774 [    2.320046] e774  e3a03040 e3a03040 e28000f0 e28000f0 e58d3000 e58d3000 e59f1060 e59f1060 e59f2054 e59f2054 ebeabd8b ebeabd8b e10f3000 e10f3000 f10c0080 f10c0080

e794 [    2.335239] e794  e59f4050 e59f4050 e5942000 e5942000 e3822002 e3822002 e5842000 e5842000 e121f003 e121f003 e59f0040 e59f0040 ebec694f ebec694f e3500000 e3500000

e7b4 [    2.350432] e7b4  aa000006 aa000006 e10f3000 e10f3000 f10c0080 f10c0080 e5942000 e5942000 e3c22002 e3c22002 e5842000 e5842000 e121f003 e121f003 eaffffff eaffffff

e7d4 [    2.365625] e7d4  e28dd008 e28dd008 e8bd8010 e8bd8010 c0746eb0 c0746eb0 c0604d10 c0604d10 c086e548 c086e548 c0746ee8 c0746ee8 c0926380 c0926380 c0845784 c0845784

e7f4 [    2.380817] e7f4  e92d4010 e92d4010 ebe0f007 ebe0f007 e3003659 e3003659 e59f40d0 e59f40d0 e3a01001 e3a01001 e1500003 e1500003 e1a00004 e1a00004 059f30c4 059f30c4

e814 [    2.396010] e814  03a02028 03a02028 0583201c 0583201c 05832020 05832020 e3a02000 e3a02000 e59f30b4 e59f30b4 ebf5c2f9 ebf5c2f9 e3a01001 e3a01001 e59f30ac e59f30ac

e834 [    2.411203] e834  e1a02001 e1a02001 e28400a4 e28400a4 ebf5c2f4 ebf5c2f4 ebe0eff5 ebe0eff5 e3003657 e3003657 e1500003 e1500003 0a000004 0a000004 e283301c e283301c

e854 [    2.426397] e854  e1500003 e1500003 13a03000 13a03000 158431cc 158431cc 1a00000a 1a00000a e3a01002 e3a01002 e3a02000 e3a02000 e59f306c e59f306c e59f0070 e59f0070


R10: 0xf1c20748:
[    2.442890]
[    2.442893] R10: 0xf1c20748:
0748 [    2.447692] 0748  00000000 00000000 00000000 00000000 f73fefff f73fefff ffffbfff ffffbfff 00000fff 00000fff 00000000 00000000 00000000 00000000 00000000 00000000

0768 [    2.462885] 0768  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

0788 [    2.478079] 0788  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07a8 [    2.493272] 07a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07c8 [    2.508465] 07c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

07e8 [    2.523658] 07e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 22222222 22222222 22222222 22222222

0808 [    2.538852] 0808  00000022 00000022 00000000 00000000 00000000 00000000 55555555 55555555 00000005 00000005 00000000 00000000 00000000 00000000 00000022 00000022

0828 [    2.554045] 0828  00000000 00000000 22000000 22000000 00000000 00000000 003ec000 003ec000 55555555 55555555 00005555 00005555 00000000 00000000 00005000 00005000

<0>Process swapper (pid: 1, stack limit = 0xdf8262e8)
[    2.573576] Process swapper (pid: 1, stack limit = 0xdf8262e8)
<0>Stack: (0xdf827ef0 to 0xdf828000)
[    2.582703] Stack: (0xdf827ef0 to 0xdf828000)
<0>7ee0:                                     c05f8660 c028c8c4 00000002 0000000a
[    2.594173] 7ee0:                                     c05f8660 c028c8c4 00000002 0000000a
<0>7f00: ffffffff 71c007b4 c0926800 3f6d97ff ff0a0210 dfa0c580 00000000 0000305b
[    2.609458] 7f00: ffffffff 71c007b4 c0926800 3f6d97ff ff0a0210 dfa0c580 00000000 0000305b
<0>7f20: c07472cc c3000000 31c107d0 c0926888 00000004 c09267fc c0926844 00000000
[    2.624743] 7f20: c07472cc c3000000 31c107d0 c0926888 00000004 c09267fc c0926844 00000000
<0>7f40: c0604ed0 c0604ed0 c07ee7f4 df826000 00000000 c055f534 c09267fc 00000006
[    2.640027] 7f40: c0604ed0 c0604ed0 c07ee7f4 df826000 00000000 c055f534 c09267fc 00000006
<0>7f60: c07faa5c c0874a80 000000d6 c07ee82c c0800d1c c0008640 c05f8660 c004a310
[    2.655313] 7f60: c07faa5c c0874a80 000000d6 c07ee82c c0800d1c c0008640 c05f8660 c004a310
<0>7f80: df827fac 00000000 c07a9e7c c06ee79c 00000006 00000006 00000000 c0800d1c
[    2.670597] 7f80: df827fac 00000000 c07a9e7c c06ee79c 00000006 00000006 00000000 c0800d1c
<0>7fa0: 00000006 c07faa5c c0874a80 000000d6 c07faa68 c07d6220 00000000 c07d6900
[    2.685882] 7fa0: 00000006 c07faa5c c0874a80 000000d6 c07faa68 c07d6220 00000000 c07d6900
<0>7fc0: 00000006 00000006 c07d6220 00000013 00000000 00000000 00000000 c07d67c4
[    2.701166] 7fc0: 00000006 00000006 c07d6220 00000013 00000000 00000000 00000000 c07d67c4
<0>7fe0: c000fcb0 00000013 00000000 00000000 00000000 c000fcb0 ffffdfff ffffffff
[    2.716451] 7fe0: c000fcb0 00000013 00000000 00000000 00000000 c000fcb0 ffffdfff ffffffff
[<c0029cac>] (sunxi_gpio_request_array.part.4+0xdc/0x4c4) from [<c055f534>] (init_sw_hci+0x120/0x3d8)
[    2.733578] [<c0029cac>] (sunxi_gpio_request_array.part.4+0xdc/0x4c4) from [<c055f534>] (init_sw_hci+0x120/0x3d8)
[<c055f534>] (init_sw_hci+0x120/0x3d8) from [<c07ee82c>] (sw_hci_sunxi_init+0x38/0x10c)
[    2.751561] [<c055f534>] (init_sw_hci+0x120/0x3d8) from [<c07ee82c>] (sw_hci_sunxi_init+0x38/0x10c)
[<c07ee82c>] (sw_hci_sunxi_init+0x38/0x10c) from [<c0008640>] (do_one_initcall+0x10c/0x170)
[    2.768671] [<c07ee82c>] (sw_hci_sunxi_init+0x38/0x10c) from [<c0008640>] (do_one_initcall+0x10c/0x170)
[<c0008640>] (do_one_initcall+0x10c/0x170) from [<c07d6900>] (kernel_init+0x13c/0x200)
[    2.785699] [<c0008640>] (do_one_initcall+0x10c/0x170) from [<c07d6900>] (kernel_init+0x13c/0x200)
[<c07d6900>] (kernel_init+0x13c/0x200) from [<c000fcb0>] (kernel_thread_exit+0x0/0x8)
[    2.802207] [<c07d6900>] (kernel_init+0x13c/0x200) from [<c000fcb0>] (kernel_thread_exit+0x0/0x8)
<0>Code: e242c010 e58da014 e58db038 e243a014 (e510b024)
[    2.816106] Code: e242c010 e58da014 e58db038 e243a014 (e510b024)
<4>---[ end trace f0c576dd56637d03 ]---
[    2.825813] ---[ end trace f0c576dd56637d03 ]---
<0>Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

[    2.837230] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.837236]
<0>Rebooting in 10 seconds..[    2.848799] Rebooting in 10 seconds..

Attachment: ATT30716.config
Description: ATT30716.config

install debian wheezy

1. Setup of the toolchain
-------------------------

$ sudo apt-get install build-essential

$ sudo apt-get install linux-headers-486

$ sudo add deb http://www.emdebian.org/debian unstable main to source.list

$ sudo apt-get update

$ sudo apt-get install gcc-4.7-arm-linux-gnueabihf ncurses-dev uboot-mkimage build-essential git

$ sudo apt-get install emdebian-archive-keyring

$ sudo apt-get install gcc-4.7-arm-linux-gnueabihf

$ sudo ln -sf /usr/bin/arm-linux-gnueabihf-gcc-4.7 /usr/local/bin/arm-linux-gnueabihf-gcc


2. Write Default Image to SD Card
---------------------------------

download file-> https://drive.google.com/file/d/0B-bAEPML8fwlamRKQzl1N0M4THc/edit?usp=sharing

extract a10_Lime_debian_3.4.90_release_3.img

$ dd bs=4M oflag=sync if=debian_2g.img of=/dev/sdX

where X is the uSD card.


3. Building kernel sources for A10-OLinuXino-Lime
----------------------------------------------

$ cd ~/A10_kernel_3.4/

$ git clone https://github.com/linux-sunxi/linux-sunxi

$ get checkout e37d760b363888f3a65cd6455c99a75cac70a7b8

$ cd linux-sunxi/

download file-> https://drive.google.com/file/d/0B-bAEPML8fwlbzZSQUxoY0Nxa2c/edit?usp=sharing

$ cp a10lime_defconfig linux-sunxi/arch/arm/configs/.
and make:

$ cd linux-sunxi

$ make ARCH=arm a10lime_defconfig

$ make ARCH=arm menuconfig
[*]Networking support --->
[*]CAN bus subsytem support --->
[*]Raw CAN Protocol --->
[*]Broadcast Manager CAN Protocol --->
   CAN Device Drivers --->
<*>Virtual Local CAN Interface
<*>Platform CAN drivers with Netlink support
[*]CAN bit-timing calcuation
<*>Microchip MCP251x SPI CAN controllers

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage

$ cp arch/arm/boot/uImage /dev/sdX

where X is the uSD card.

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux