Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-13 Thread Philip A. Prindeville
Well, I'd need output of lspci, dmesg, and lsmod from booting a
plug-n-play distro like Fedora or Debian on it (from Live! CD).

And console and network access while I tried to load an image onto it
would also be handy...

Contact me offline.


On 04/11/2010 12:44 PM, Roberto Riggio wrote:
 I have a couple of 4801. Let me know if you need something tested on it.

 On 04/11/2010 07:33 PM, Philip Prindeville wrote:
 On 4/11/10 10:51 AM, Jo-Philipp Wich wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hii.

 Why a new subtarget and not a new profile for the generic subtarget?
 Because there are plans to modernize the generic x86 target which will
 render the older Soekris hardware incompatible.

 Indeed, if Soekris was willing to send me one of each (they're not, I
 already asked), I was going to add definitions for the net4801, the
 4521, and the 6501.

 -Philip


 ~ JoW


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Florian Fainelli
Hi Philip,

Le vendredi 9 avril 2010 23:26:19, Philip A. Prindeville a écrit :
 [ Since the last posting, rtz2 suggested that I remove DMI, ACPI,
 Mouse, Keyboard, and other unused drivers. ]
 
 This patch brings up the net5501 platform.
 
 Note that the x86/ target included support for all x86/ class
 processors.  That's not technically correct.  This should be constrained
 only to the generic subtarget.  Every x86-class target that isn't
 generic should be able to select only the optimizations/capabilities
 applicable to that architectural variant.
 
 It's also assumed that all x86 processors have keyboard  mouse ports,
 ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
 that to the generic subtarget.
 
 Fortunately, this was a fairly benign tweak.
 
 The net5501 board includes the following logic:
 
 Geode/LX processor
 CS5535 super-I/O chip
 PC87360 sensor chip
 Via Rhine Ethernet controllers
 Via Sata controllers
 USB, LEDS, I2C
 
 Signed-off-by: Philip Prindeville philipp_s...@redfish-solutions.com

Applied in r20794, thanks!


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Philip A. Prindeville
On 04/11/2010 06:37 AM, Florian Fainelli wrote:
 Hi Philip,
 
 Le vendredi 9 avril 2010 23:26:19, Philip A. Prindeville a écrit :
 [ Since the last posting, rtz2 suggested that I remove DMI, ACPI,
 Mouse, Keyboard, and other unused drivers. ]

 This patch brings up the net5501 platform.

 Note that the x86/ target included support for all x86/ class
 processors.  That's not technically correct.  This should be constrained
 only to the generic subtarget.  Every x86-class target that isn't
 generic should be able to select only the optimizations/capabilities
 applicable to that architectural variant.

 It's also assumed that all x86 processors have keyboard  mouse ports,
 ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
 that to the generic subtarget.

 Fortunately, this was a fairly benign tweak.

 The net5501 board includes the following logic:

 Geode/LX processor
 CS5535 super-I/O chip
 PC87360 sensor chip
 Via Rhine Ethernet controllers
 Via Sata controllers
 USB, LEDS, I2C

 Signed-off-by: Philip Prindeville philipp_s...@redfish-solutions.com
 
 Applied in r20794, thanks!

Merci bien!


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Roberto Riggio

On 04/09/2010 11:26 PM, Philip A. Prindeville wrote:

[ Since the last posting, rtz2 suggested that I remove DMI, ACPI,
Mouse, Keyboard, and other unused drivers. ]

This patch brings up the net5501 platform.
   

Why a new subtarget and not a new profile for the generic subtarget?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hii.

 Why a new subtarget and not a new profile for the generic subtarget?

Because there are plans to modernize the generic x86 target which will
render the older Soekris hardware incompatible.


~ JoW
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvB/h0ACgkQdputYINPTPMK1wCeJiu3fDnA6BdIi5sXBEmvFkJ3
IIAAn3MtXPp05LwGLauxPcS2VpORotN5
=BQU3
-END PGP SIGNATURE-
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Philip Prindeville

On 4/11/10 10:51 AM, Jo-Philipp Wich wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hii.

   

Why a new subtarget and not a new profile for the generic subtarget?
 

Because there are plans to modernize the generic x86 target which will
render the older Soekris hardware incompatible.
   


Indeed, if Soekris was willing to send me one of each (they're not, I 
already asked), I was going to add definitions for the net4801, the 
4521, and the 6501.


-Philip



~ JoW
   


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-11 Thread Roberto Riggio

I have a couple of 4801. Let me know if you need something tested on it.

On 04/11/2010 07:33 PM, Philip Prindeville wrote:

On 4/11/10 10:51 AM, Jo-Philipp Wich wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hii.


Why a new subtarget and not a new profile for the generic subtarget?

Because there are plans to modernize the generic x86 target which will
render the older Soekris hardware incompatible.


Indeed, if Soekris was willing to send me one of each (they're not, I 
already asked), I was going to add definitions for the net4801, the 
4521, and the 6501.


-Philip



~ JoW


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel




--

Roberto Riggio, PhD
CREATE-NET
Pervasive Area
Researcher
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: roberto.rig...@create-net.org
Tel: (+39) 0461 408400 - interno/extension 708
Fax: (+39) 0461 421157
http://www.create-net.org/


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited according to
the Italian Law 196/2003 of the Legislature. If you received this in
error, please contact the sender and delete the material from any
computer.

Le informazioni contenute in questo messaggio di posta elettronica e
nei file allegati sono da considerarsi strettamente riservate. Il loro
utilizzo e' consentito esclusivamente al destinatario del messaggio,
per le finalita' indicate nel messaggio stesso. Qualora riceveste questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla cancellazione del
messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalita' diverse, costituisce comportamento
contrario ai principi dettati dal D. Lgs. 196/2003.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-09 Thread Philip A. Prindeville
[ Since the last posting, rtz2 suggested that I remove DMI, ACPI,
Mouse, Keyboard, and other unused drivers. ]

This patch brings up the net5501 platform.

Note that the x86/ target included support for all x86/ class
processors.  That's not technically correct.  This should be constrained
only to the generic subtarget.  Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.

It's also assumed that all x86 processors have keyboard  mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
that to the generic subtarget.

Fortunately, this was a fairly benign tweak.

The net5501 board includes the following logic:

Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C

Signed-off-by: Philip Prindeville philipp_s...@redfish-solutions.com
---

Index: target/linux/x86/net5501/config-default
===
--- target/linux/x86/net5501/config-default (revision 0)
+++ target/linux/x86/net5501/config-default (revision 0)
@@ -0,0 +1,25 @@
+# CONFIG_ACPI is not set
+# CONFIG_DMI is not set
+CONFIG_CPU_SUP_AMD=y
+CONFIG_GEODE_MFGPT_TIMER=y
+# CONFIG_GEODE_WDT is not set
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_HWMON=y
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_ISA is not set
+# CONFIG_INPUT is not set
+# CONFIG_KEYBOARD_ATKBD is not set
+# CONFIG_M486 is not set
+CONFIG_MGEODE_LX=y
+# CONFIG_MOUSE_PS2 is not set
+# CONFIG_PCSPKR_PLATFORM is not set
+CONFIG_PROCESSOR_SELECT=y
+# CONFIG_SCx200 is not set
+# CONFIG_SERIO_I8042 is not set
+# CONFIG_SERIO_LIBPS2 is not set
+CONFIG_X86_DEBUGCTLMSR=y
+# CONFIG_X86_DS is not set
+CONFIG_X86_L1_CACHE_SHIFT=5
+CONFIG_X86_TSC=y
+CONFIG_X86_USE_3DNOW=y
+CONFIG_X86_USE_PPRO_CHECKSUM=y
Index: target/linux/x86/net5501/target.mk
===
--- target/linux/x86/net5501/target.mk  (revision 0)
+++ target/linux/x86/net5501/target.mk  (revision 0)
@@ -0,0 +1,15 @@
+BOARDNAME:=Soekris net5501
+DEFAULT_PACKAGES += kmod-ata-via-sata kmod-crypto-hw-geode \
+   kmod-cs5535-gpio kmod-nsc-gpio kmod-pc8736x-gpio \
+   kmod-geodewdt kmod-hwmon-core kmod-hwmon-pc87360 \
+   kmod-via-rhine \
+   kmod-i2c-core kmod-i2c-gpio \
+   kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
+   kmod-usb-core kmod-usb2 kmod-usb-hid kmod-usb-uhci
+CFLAGS += -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
+ -fno-align-labels
+
+define Target/Description
+   Build firmware images for Soekris net5501 board
+endef
+
Index: target/linux/x86/image/Config.in
===
--- target/linux/x86/image/Config.in(revision 20749)
+++ target/linux/x86/image/Config.in(working copy)
@@ -13,8 +13,8 @@
 bool
 depends X86_GRUB_IMAGES
 prompt Use Console Terminal (in addition to Serial)
-default n if TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx
-default y if ! (TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx)
+default n if TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501
+default y if ! (TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501)

 config X86_GRUB_SERIAL
 string
@@ -26,8 +26,8 @@
 config X86_GRUB_BAUDRATE
 int Serial port baud rate
 depends X86_GRUB_IMAGES
-default 19200 if TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx
-default 38400 if ! (TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx)
+default 19200 if TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501
+default 38400 if ! (TARGET_x86_generic_Soekris48xx || 
TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501)

 config X86_GRUB_KERNELPART
 int Kernel partition size (in MB)
Index: target/linux/x86/config-default
===
--- target/linux/x86/config-default (revision 20749)
+++ target/linux/x86/config-default (working copy)
@@ -3,28 +3,7 @@
 # CONFIG_60XX_WDT is not set
 # CONFIG_64BIT is not set
 # CONFIG_AC3200 is not set
-CONFIG_ACPI=y
-# CONFIG_ACPI_AC is not set
-# CONFIG_ACPI_ASUS is not set
-# CONFIG_ACPI_BATTERY is not set
-CONFIG_ACPI_BLACKLIST_YEAR=0
-# CONFIG_ACPI_BUTTON is not set
-# CONFIG_ACPI_CONTAINER is not set
-# CONFIG_ACPI_CUSTOM_DSDT is not set
-# CONFIG_ACPI_DEBUG is not set
-# CONFIG_ACPI_DOCK is not set
-# CONFIG_ACPI_FAN is not set
-# CONFIG_ACPI_PCI_SLOT is not set
-CONFIG_ACPI_PROCESSOR=y
-# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
-# CONFIG_ACPI_PROCFS is not set
-# CONFIG_ACPI_PROCFS_POWER is not set
-#