Hurray!!!
Jeez I definitly owe you a pint !!!

The docco page need a cleanup, dunno who can do that, I may try but I
guess there must be some procedure to follow to do so.

The booted OS
root@genericarmv8:/# uname -a
Linux genericarmv8 3.11.0-rc6+ #3 SMP Fri Aug 23 16:55:42 CEST 2013
aarch64 GNU/Linux

The current untouched vexpress lamp FS
root@genericarmv8:/# ls /boot/config*
/boot/config-3.10.1.0-1-linaro-vexpress64


I got to populate the fs with my own dev .ko and check in insmod works ok :)

Cheers
Phi

On Fri, Aug 23, 2013 at 5:12 PM, Phi Debian <phi.deb...@gmail.com> wrote:
> Opps missed that one
> rebuild
>
>
> On Fri, Aug 23, 2013 at 5:05 PM, Christopher Covington
> <c...@codeaurora.org> wrote:
>> Hi Phi,
>>
>> On 08/23/2013 10:55 AM, Phi Debian wrote:
>>> Using
>>> .config - Linux/arm64 3.11.0-rc6 Kernel Configuration
>>>
>>> I got
>>>   Device Drivers  --->
>>>   | |    [ ] Virtualization drivers (NEW)  ----                           | 
>>> |
>>>   | |        Virtio drivers  --->                                         | 
>>> |
>>>
>>>
>>> I enter Virtio drivers as you suggest and I got only 1 line tha tis
>>>   | |    < > Platform bus driver for memory mapped virtio devices (NEW)   | 
>>> |
>>>
>>> I select all this and save
>>>
>>> I check the .config
>>> CONFIG_VIRTIO=y
>>> CONFIG_HAS_IOMEM=y
>>> CONFIG_VIRTIO_MMIO=y
>>> CONFIG_VIRTIO_BLK=m   <<== change this to y
>>> CONFIG_BLK_DEV=y
>>>
>>> make  kernel and bootloader
>>>
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> Initializing cgroup subsys cpu
>>> Linux version 3.11.0-rc6+ (phi@hpfrcu82) (gcc version 4.8.2 20130624
>>> (prerelease) (crosstool-NG linaro-1.13.1-4.8-2013.07-1 - Linaro GCC
>>> 2013.07) ) #2 SMP Fri Aug 23 16:34:00 CEST 2013
>>> CPU: AArch64 Processor [410fd000] revision 0
>>> Machine: Foundation-v8A
>>> PERCPU: Embedded 10 pages/cpu @ffffffc87ffaa000 s11392 r8192 d21376 u40960
>>> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1034240
>>> Kernel command line: root=/dev/vda2 consolelog=9 rw console=ttyAMA0
>>> PID hash table entries: 4096 (order: 3, 32768 bytes)
>>> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
>>> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
>>> software IO TLB [mem 0x8f8000000-0x8fc000000] (64MB) mapped at
>>> [ffffffc878000000-ffffffc87bffffff]
>>> Memory: 4059816K/4194304K available (3015K kernel code, 200K rwdata,
>>> 1080K rodata, 167K init, 150K bss, 134488K reserved)
>>> Virtual kernel memory layout:
>>>     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
>>>     vmemmap : 0xffffffbc01c00000 - 0xffffffbc1f800000   (   476 MB)
>>>     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
>>>     memory  : 0xffffffc000000000 - 0xffffffc880000000   ( 34816 MB)
>>>       .init : 0xffffffc000481000 - 0xffffffc0004aac80   (   168 kB)
>>>       .text : 0xffffffc000080000 - 0xffffffc000480c30   (  4100 kB)
>>>       .data : 0xffffffc0004ac000 - 0xffffffc0004de0a0   (   201 kB)
>>> SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
>>> Hierarchical RCU implementation.
>>>         RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
>>> NR_IRQS:64 nr_irqs:64 0
>>> GIC CPU mask not found - kernel will fail to boot.
>>> GIC CPU mask not found - kernel will fail to boot.
>>> Architected local timer running at 100.00MHz (phys).
>>> Console: colour dummy device 80x25
>>> Calibrating delay loop (skipped), value calculated using timer
>>> frequency.. 200.00 BogoMIPS (lpj=1000000)
>>> pid_max: default: 32768 minimum: 301
>>> Mount-cache hash table entries: 256
>>> hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 9 counters available
>>> CPU1: failed to boot: -38
>>> CPU2: failed to boot: -38
>>> CPU3: failed to boot: -38
>>> Brought up 1 CPUs
>>> SMP: Total of 1 processors activated (200.00 BogoMIPS).
>>> devtmpfs: initialized
>>> atomic64 test passed
>>> NET: Registered protocol family 16
>>> vdso: 2 pages (1 code, 1 data) at base ffffffc0004e0000
>>> hw-breakpoint: found 16 breakpoint and 16 watchpoint registers.
>>> Serial: AMBA PL011 UART driver
>>> 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev2
>>> console [ttyAMA0] enabled
>>> 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev2
>>> 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 39) is a PL011 rev2
>>> 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 40) is a PL011 rev2
>>> bio: create slab <bio-0> at 0
>>> SCSI subsystem initialized
>>> Switched to clocksource arch_sys_counter
>>> NET: Registered protocol family 2
>>> TCP established hash table entries: 32768 (order: 7, 524288 bytes)
>>> TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
>>> TCP: Hash tables configured (established 32768 bind 32768)
>>> TCP: reno registered
>>> UDP hash table entries: 2048 (order: 4, 65536 bytes)
>>> UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
>>> NET: Registered protocol family 1
>>> RPC: Registered named UNIX socket transport module.
>>> RPC: Registered udp transport module.
>>> RPC: Registered tcp transport module.
>>> RPC: Registered tcp NFSv4.1 backchannel transport module.
>>> fuse init (API version 7.22)
>>> msgmni has been set to 7929
>>> io scheduler noop registered
>>> io scheduler cfq registered (default)
>>> Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
>>>  vda: vda1 vda2
>>> smc91x: IOADDR ffffff800001c000 doesn't match configuration (300).
>>> smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <n...@fluxnic.net>
>>> eth0: SMC91C11xFD (rev 1) at ffffff800001c000 IRQ 47 [nowait]
>>> eth0: Ethernet addr: 00:02:f7:ef:7e:f2
>>> mousedev: PS/2 mouse device common for all mice
>>> TCP: cubic registered
>>> NET: Registered protocol family 17
>>> EXT3-fs (vda2): error: couldn't mount because of unsupported optional
>>> features (240)
>>> EXT2-fs (vda2): error: couldn't mount because of unsupported optional
>>> features (240)
>>
>> Make sure EXT4 support is compiled in as well.
>>
>> Regards,
>> Christopher
>>
>> --
>> Employee of Qualcomm Innovation Center, Inc.
>> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
>> hosted by the Linux Foundation.

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to