OpenWrt Forum Archive

Topic: PC Engines Alix and APU Question

The content of this topic has been archived between 7 Apr 2018 and 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I have gone through the Wiki on PC Engines and the doc shows Alix 2d* that it worked on Openwrt Kamikazi.   My question is does Attitude Adjustment and Barrier Breaker works on the following PC Engines Board? 

1) Alix 2d13
2) APU1c

Thanks for helping.

2d13 is working. I've tired. What about APU 1... maybe someone lese

milankocvara wrote:

2d13 is working. I've tired. What about APU 1... maybe someone lese

Thanks.   For the 2d13, did you test with AA or Barrier Breaker?

I'll take a look later. Don't remember it :-D.

milankocvara wrote:

I'll take a look later. Don't remember it :-D.

On APU1c is working latest trunk with enabled SMP support in kernel config.

On 2D13 i tired attitude_adjustment

Hi.

I tried latest trunk image for x86_64 on apu1c. Not enabled SMP.

root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 1000.079
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 2000.15
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@OpenWrt:/#

and not detect ethernet devices.

root@OpenWrt:/# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:22128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1504704 (1.4 MiB)  TX bytes:1504704 (1.4 MiB)

root@OpenWrt:/#

Hi.
I tried latest trunk too with enabled SMP and its working too, without SMP is APU as alix 2d13 :-D

root@(none):/# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.946
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.89
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.946
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.89
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate


For working ethernet is needed modul r8169

If I load r8169, ethernet everything works fine

root@(none):/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:0D:B9:33:8A:48 
          inet6 addr: fe80::20d:b9ff:fe33:8a48/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:738 (738.0 b)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:33:8A:48 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1476 (1.4 Kb)

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:33:8A:49 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth2      Link encap:Ethernet  HWaddr 00:0D:B9:33:8A:4A 
          inet addr:172.16.2.240  Bcast:172.16.2.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:b9ff:fe33:8a4a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:944 (944.0 b)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:13688 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1122470 (1.0 Mb)  TX bytes:1122470 (1.0 Mb)

Just LED's are not working correctly. :-)

AA is not working and boot is freezing on switching to clocksource tsc. Is it (i mean) because of unknown processor and in AA I didnt find support fo x86_64 architecture...

(Last edited by milankocvara on 11 Jun 2014, 12:39)

Hi, milankocvara.

Nice information!
Could you please show me how to make smp enabled?

Thanks in advance.

yapoo wrote:

Hi, milankocvara.

Nice information!
Could you please show me how to make smp enabled?

Thanks in advance.

Hello.
You have to make your own image. SMP you can enable in kernel_menuconfig

Symbol: SMP [=y]                                                                                                                                       
   Type  : boolean                                                                                                                                        
   Prompt: Symmetric multi-processing support                                                                                                             
     Location:                                                                                                                                            
   (1) -> Processor type and features                                                                                                                     
     Defined at arch/x86/Kconfig:279

Hi.

Ah, I see. I'll try it!

Thanks a lot!

Hi, milankocvara.

You're right!

root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.986
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.97
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.986
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.97
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B9
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:b9ff:fe33:10b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:362328 (353.8 KiB)  TX bytes:917957 (896.4 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B8
          inet addr:192.168.1.174  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:b9ff:fe33:10b8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2166 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1008738 (985.0 KiB)  TX bytes:228302 (222.9 KiB)

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B9
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth2      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:BA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2350 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:395788 (386.5 KiB)  TX bytes:917957 (896.4 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:81136 (79.2 KiB)  TX bytes:81136 (79.2 KiB)

root@OpenWrt:/#


Thank you very much!

Best regards,

zukky

yapoo wrote:

Hi, milankocvara.

You're right!

root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.986
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.97
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD G-T40E Processor
stepping        : 0
microcode       : 0x5000101
cpu MHz         : 999.986
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_save pausefilter
bogomips        : 1999.97
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B9
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:b9ff:fe33:10b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:362328 (353.8 KiB)  TX bytes:917957 (896.4 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B8
          inet addr:192.168.1.174  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:b9ff:fe33:10b8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2166 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1008738 (985.0 KiB)  TX bytes:228302 (222.9 KiB)

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:B9
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth2      Link encap:Ethernet  HWaddr 00:0D:B9:33:10:BA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2350 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:395788 (386.5 KiB)  TX bytes:917957 (896.4 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:81136 (79.2 KiB)  TX bytes:81136 (79.2 KiB)

root@OpenWrt:/#


Thank you very much!

Best regards,

zukky

Your Welcome

quick question are you guys installing to a flash rom, or the sdcard, ive tried to flash both a recent built x86 and x86_64
and it seems to be throwing issues with grub


  NULL
Booting from Hard Disk...
Booting from 0000:7c00
GRUB Loading stage1.5.


GRUB loading, please wait...
�������������������������������������������������������������������

i all i see on a console

auzziedingo wrote:

quick question are you guys installing to a flash rom, or the sdcard, ive tried to flash both a recent built x86 and x86_64
and it seems to be throwing issues with grub


  NULL
Booting from Hard Disk...
Booting from 0000:7c00
GRUB Loading stage1.5.


GRUB loading, please wait...
�������������������������������������������������������������������

i all i see on a console

Ive tried SDCARD. But there is propably another problem. Try set your serial console to other speed. Eg 38400 after grub loaded. Higher speed (if I remember 115200) is only in bios.

great well thats taken me a bit further....... now it seems to hang

[    2.592229] rtc_cmos 00:01: setting system clock to 2014-08-20 23:53:17 UTC (1408578797)
[    2.616769] Waiting for root device /dev/sda2...

auzziedingo wrote:

great well thats taken me a bit further....... now it seems to hang

[    2.592229] rtc_cmos 00:01: setting system clock to 2014-08-20 23:53:17 UTC (1408578797)
[    2.616769] Waiting for root device /dev/sda2...

Which device you are using for booting? Integrated SD Card or SATA slot whit disk or compact flash? And which device you have selected for boot in BIOS?

booting from the msata superspeed 16Gb SSD........ somehow i think its not seeing the drive.

[    0.000000] Linux version 3.3.8 (blogic@buildserver-1) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Mon Sep 3 15:03:09 UTC 2012
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000df14e000 (usable)
[    0.000000]  BIOS-e820: 00000000df14e000 - 00000000e0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000f8000000 - 00000000f9000000 (reserved)
[    0.000000]  BIOS-e820: 0000000100000000 - 000000011f000000 (usable)
[    0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
[    0.000000] DMI present.
[    0.000000] last_pfn = 0xdf14e max_arch_pfn = 0x100000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] Warning only 895MB will be used.
[    0.000000] Use a HIGHMEM enabled kernel.
[    0.000000] found SMP MP-table at [c00f25b0] f25b0
[    0.000000] init_memory_mapping: 0000000000000000-0000000037fa0000
[    0.000000] ACPI: RSDP 000f2590 00014 (v00 CORE  )
[    0.000000] ACPI: RSDT df162424 00044 (v01 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: FACP df164ce8 000F4 (v04 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: DSDT df1624c8 027DA (v02 PCENG  COREBOOT 00010001 INTL 20121114)
[    0.000000] ACPI: FACS df164ca8 00040
[    0.000000] ACPI: SPCR df164ddc 00050 (v01 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: HPET df164e30 00038 (v01 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: APIC df164e68 0005C (v01 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: HEST df164ec8 00198 (v01 CORE   COREBOOT 00000000 CORE 00000000)
[    0.000000] ACPI: SSDT df165060 0168E (v02    AMD     ALIB 00000001 MSFT 04000000)
[    0.000000] ACPI: SSDT df1666f0 0030C (v01 AMD    POWERNOW 00000001 AMD  00000001)
[    0.000000] ACPI: SSDT df166a00 00045 (v02 CORE   COREBOOT 0000002A CORE 0000002A)
[    0.000000] 895MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 37fa0000
[    0.000000]   low ram: 0 - 37fa0000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00037fa0
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x000df14e
[    0.000000] Using APIC driver default
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: NR_CPUS/possible_cpus limit of 1 reached.  Processor 1/0x1 ignored.
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x43538210 base: 0xfed00000
[    0.000000] Allocating PCI resources starting at e0000000 (gap: e0000000:18000000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227375
[    0.000000] Kernel command line: root=/dev/sda2 rootfstype=ext4 rootwait console=tty0 console=ttyS0,38400n8 noinitrd reboot=bios
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Memory: 904752k/917120k available (2660k kernel code, 11916k reserved, 790k data, 308k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffa2000 - 0xfffff000   ( 372 kB)
[    0.000000]     vmalloc : 0xf87a0000 - 0xfffa0000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf7fa0000   ( 895 MB)
[    0.000000]       .init : 0xc135f000 - 0xc13ac000   ( 308 kB)
[    0.000000]       .data : 0xc1299260 - 0xc135ee40   ( 790 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1299260   (2660 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:2304 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 999.915 MHz processor.
[    0.020003] Calibrating delay loop (skipped), value calculated using timer frequency.. 1999.83 BogoMIPS (lpj=9999150)
[    0.038390] pid_max: default: 32768 minimum: 301
[    0.040071] Mount-cache hash table entries: 512
[    0.050203] mce: CPU supports 6 MCE banks
[    0.060028] CPU: AMD G-T40E Processor stepping 00
[    0.080093] ACPI: Core revision 20120111
[    0.094840] Performance Events: AMD PMU driver.
[    0.110007] ... version:                0
[    0.120004] ... bit width:              48
[    0.130004] ... generic registers:      4
[    0.140004] ... value mask:             0000ffffffffffff
[    0.150004] ... max period:             00007fffffffffff
[    0.160004] ... fixed-purpose events:   0
[    0.170004] ... event mask:             000000000000000f
[    0.180104] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.190377] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.200000] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
[    0.200000] ...trying to set up timer (IRQ0) through the 8259A ...
[    0.200000] ..... (found apic 0 pin 0) ...
[    0.210000] ....... failed.
[    0.210000] ...trying to set up timer as Virtual Wire IRQ...
[    0.317271] ..... works.
[    0.330000] NET: Registered protocol family 16
[    0.330707] ACPI: bus type pci registered
[    0.340180] PCI: PCI BIOS revision 2.10 entry at 0xfd49f, last bus=4
[    0.350003] PCI: Using configuration type 1 for base access
[    0.360002] PCI: Using configuration type 1 for extended access
[    0.374848] bio: create slab <bio-0> at 0
[    0.380135] ACPI: Added _OSI(Module Device)
[    0.390005] ACPI: Added _OSI(Processor Device)
[    0.400004] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.410004] ACPI: Added _OSI(Processor Aggregator Device)
[    0.422493] ACPI: Executed 2 blocks of module-level executable AML code
[    0.451531] ACPI: Interpreter enabled
[    0.460003] ACPI: (supports S0 S5)
[    0.471695] ACPI: BIOS offers _BFS
[    0.480003] ACPI: If "acpi.bfs=1" improves resume, please notify linux-acpi@vger.kernel.org
[    0.490003] ACPI: Using IOAPIC for interrupt routing
[    0.512325] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.520247] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.530256] pci_root PNP0A08:00: host bridge window [io  0x0000-0x0cf7]
[    0.540006] pci_root PNP0A08:00: host bridge window [io  0x0d00-0xffff]
[    0.550005] pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
[    0.560005] pci_root PNP0A08:00: host bridge window [mem 0xe0000000-0xffffffff]
[    0.570100] PCI host bridge to bus 0000:00
[    0.580006] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.590004] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.600005] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.610004] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xffffffff]
[    0.623148] pci 0000:00:04.0: PCI bridge to [bus 01-01]
[    0.630334] pci 0000:00:06.0: PCI bridge to [bus 02-02]
[    0.640166] pci 0000:00:14.4: PCI bridge to [bus 03-03] (subtractive decode)
[    0.650126] pci 0000:00:15.0: PCI bridge to [bus 04-04]
[    0.661106]  pci0000:00: Unable to request _OSC control (_OSC support mask: 0x19)
[    0.691643] ACPI: PCI Interrupt Link [INTA] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.715624] ACPI: PCI Interrupt Link [INTB] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.739260] ACPI: PCI Interrupt Link [INTC] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.750725] ACPI: PCI Interrupt Link [INTD] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.777281] ACPI: PCI Interrupt Link [INTE] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.790726] ACPI: PCI Interrupt Link [INTF] (IRQs 9) *0, disabled.
[    0.810159] ACPI: PCI Interrupt Link [INTG] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.834474] ACPI: PCI Interrupt Link [INTH] (IRQs 3 4 5 7 10 11 12 15) *0, disabled.
[    0.858476] SCSI subsystem initialized
[    0.860449] PCI: Using ACPI for IRQ routing
[    0.870591] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.882808] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[    0.892034] Switching to clocksource hpet
[    0.900161] pnp: PnP ACPI init
[    0.909396] ACPI: bus type pnp registered
[    0.923315] pnp: PnP ACPI: found 5 devices
[    0.935651] ACPI: ACPI bus type pnp unregistered
[    0.993798] pci 0000:00:04.0: PCI bridge to [bus 01-01]
[    1.009467] pci 0000:00:04.0:   bridge window [io  0x1000-0x1fff]
[    1.027742] pci 0000:00:04.0:   bridge window [mem 0xf7c00000-0xf7cfffff]
[    1.048099] pci 0000:00:04.0:   bridge window [mem 0xf7b00000-0xf7bfffff 64bit pref]
[    1.071323] pci 0000:00:06.0: PCI bridge to [bus 02-02]
[    1.086992] pci 0000:00:06.0:   bridge window [io  0x2000-0x2fff]
[    1.105274] pci 0000:00:06.0:   bridge window [mem 0xf7e00000-0xf7efffff]
[    1.125632] pci 0000:00:06.0:   bridge window [mem 0xf7d00000-0xf7dfffff 64bit pref]
[    1.148855] pci 0000:00:14.4: PCI bridge to [bus 03-03]
[    1.164539] pci 0000:00:15.0: PCI bridge to [bus 04-04]
[    1.180433] NET: Registered protocol family 2
[    1.193612] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    1.215250] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    1.238587] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[    1.258885] TCP: Hash tables configured (established 131072 bind 65536)
[    1.278771] TCP reno registered
[    1.288208] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    1.305715] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    1.324649] NET: Registered protocol family 1
[    1.338817] perf: AMD IBS detected (0x000000ff)
[    1.352533] scx200: NatSemi SCx200 Driver
[    1.376867] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.394430] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.423817] msgmni has been set to 1767
[    1.435649] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.457864] io scheduler noop registered
[    1.469632] io scheduler deadline registered (default)
[    1.486334] isapnp: Scanning for PnP cards...
[    1.911866] isapnp: No Plug & Play device found
[    1.925615] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.965550] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    2.004364] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    2.024840] Non-volatile memory driver v1.3
[    2.039583] scsi0 : pata_legacy
[    2.049285] ata1: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14
[    2.221940] scsi1 : pata_legacy
[    2.231660] ata2: PATA max PIO4 cmd 0x170 ctl 0x376 irq 15
[    2.402075] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    2.424120] i8042: No controller found
[    2.435605] mousedev: PS/2 mouse device common for all mice
[    2.452731] rtc_cmos 00:01: RTC can wake from S4
[    2.466789] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    2.485149] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[    2.503705] Refined TSC clocksource calibration: 999.999 MHz.
[    2.520943] Switching to clocksource tsc
[    2.532801] cpuidle: using governor ladder
[    2.545329] TCP cubic registered
[    2.555078] NET: Registered protocol family 17
[    2.568442] 8021q: 802.1Q VLAN Support v1.8
[    2.581075] Using IPI Shortcut mode
[    2.592229] rtc_cmos 00:01: setting system clock to 2014-08-20 23:53:17 UTC (1408578797)
[    2.616769] Waiting for root device /dev/sda2...

(Last edited by auzziedingo on 21 Aug 2014, 07:20)

Never mind, Ive gotten it resolved.

@yapoo: can I ask to upload your .config ?

Thank you very much!

yapoo wrote:

Try this first of all. It's easy.
https://forum.openwrt.org/viewtopic.php … 08#p236408

good luck.

mirko_47 wrote:

@yapoo: can I ask to upload your .config ?

Thank you very much!

Thank you very much for your answer

Tell me if I'm wrong:
what you do is:
.1: launch

make menuconfig

from terminal
.2: load the .config of the x86_64-generic that it can be found here
.3: save into .config
.4: launch

make kernel_menuconfig

and set SMP under processor type menu
.5: run "make" command

right?

yesterday I've already tired this precedure, but it fails, and enabling logs from "advance settings for developer" menu i get no logs...

the config file you linked has CONFIG_ALL=y
That increases build time.
That config also builds SDK, Imagebuilder - both not needed if you just want an image
Some packages might be broken on certain build systems ... thats why it might fail too

yesterday I've already tired this precedure, but it fails, and enabling logs from "advance settings for developer" menu i get no logs...

there should be a logs/ folder containing most these

Read the wiki or edit/report unclear wiki passages.
Normally you have a ".config" file thats output of a "scripts/diffconfig.sh" run (after you ran make menuconfig) and after using this you simply run "make defconfig" after that

(Last edited by zloop on 15 Dec 2014, 15:41)

Thank you very much zloop for the answer,

I know that using the option "select all package by default" will increase the build time, but as I said I wanted to try to build an image with most of the the settings that match the default x86_64-generic configuration (this is because I'm a novice with OpenWRT, so I thought that using a config similar to the default increases the probability to build the image); but on the other hand as you said adding so many packages may cause failure of the building process.

Today I've tried again, this time using trunk and trying to make a minimal .config and againg I didn't get any compile.txt log...
I've upload all the files (logs, .config, ...) here: https://drive.google.com/open?id=0BxHW2 … authuser=0

If someone can give me an idea how to make it work, I thank him.

Please read the wiki more carefully

- Your upload does not contain any files in logs/ directory

- You logfolder looks empty. You did not have logging activated it seems.
- Menuconfig output (the generated .config file) is not very useful (but it shows you did not activate logging) use the ./scripts/diffconfig.sh output to save configurations/load them again and do a make defconfig
- If you encounter an error: redirecting the whole I/O console stream is not very useful with multiple threads (searching for "error:" seems to produce a strange result that I could not replicate here)

according to wiki

./scripts/feeds update -a
./scripts/feeds install -a
cp config_from_website .config
make menuconfig (select LOG)
./scripts/diffconfig.sh

output:

CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_Default=y
CONFIG_TARGET_BOARD="x86_64"
CONFIG_ALL=y
CONFIG_DEVEL=y
CONFIG_TOOLCHAINOPTS=y
CONFIG_BUILD_LOG=y
CONFIG_IB=y
CONFIG_IMAGEOPT=y
CONFIG_MAKE_TOOLCHAIN=y
CONFIG_SDK=y

then i simply do a

make -j 7
....

which works until the errors with some packages interrupt the process - from that point one can search subdirs or override errors (see wiki)

your log file has a line

cc1: error: no include path in which to search for stdc-predef.h

when building the toolchain - never had that error before - missing lib/headers on your side not installed ?
check them more carefully in the wiki - install all thats mentioned there in developer/header versions
might be related to the Linux/OS variant you are building on (Debian Stable (almost nothing broken) -> Debian Unstable -> Arch Linux, Fedora -> BSD variants (more things broken))

Debian SID stopped with package libgd (libvpx.so.1 dependencies missing)

maybe write a little bit about the linux you build your packages on

(Last edited by zloop on 15 Dec 2014, 20:13)

Thank very much for your answer,

I'm sorry, maybe I don't understand, but looking into the .config (menuconfig output) that I've uploaded I read:

...
CONFIG_BUILD_LOG=y
...
CONFIG_BROKEN=y
...
CONFIG_KERNEL_CRASHLOG=y
...

Is this option the ones that you mentioned?

And also into the .config output of make kernel_menuconfig in this case:

..
CONFIG_CRASHLOG=y
...

For this option if I've to be honest, I don't know where it saves the log, but now I'll try to find it.

In any case now i'll check again the libs, even if I'm quite sure that I've installed all the required libs.
Now I'm on a ubuntu 14.04LTS x64 server machine (no VM, Intel i7-3770, 16GB of RAM), but tomorrow, or better as soon as I'll have configured, I'll try with a debian machine.

Thank you very much again.

(Last edited by mirko_47 on 15 Dec 2014, 21:50)