• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Kernel / Re: 2.6.30-rc8 cryptsetup support on: June 23, 2009, 09:31:20 AM
The support for the orion crypto is only for 5182 not for 6281 (the plug u are using).
the crypto support on LSP based on 2.6.22 is by using external package (OCF) and special dm-crypt patch developed by Marvell...
2  Hardware and U-Boot firmware / U-Boot stuff / Re: NFS boot problem on: May 26, 2009, 11:17:12 PM
Pls try disabling IP configuration at all and give it a try, dont use dhcp and dont use setting static IP, leave the IP that was assigned by U-Boot through the command line.
3  Hardware and U-Boot firmware / U-Boot stuff / Re: NFS boot problem on: May 23, 2009, 11:27:37 PM
first u can see on your log that it boot from NFS"eth0: link up, full duplex, speed 100 Mbps
Looking up port of RPC 100005/1 on
VFS: Mounted root (nfs filesystem).
Freeing init memory: 124K
 * Setting preliminary keymap...           

I think your problem is that when u boot from NFS u should disbale dhcp on your boot scripts...
4  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 11:58:03 AM
The thread u pointed is a little messy...
Pls describe your exact steps.
5  Linux Stuff / Kernel / Re: Kernel config question on: May 19, 2009, 04:47:28 AM
No and No
6  Hardware and U-Boot firmware / U-Boot stuff / Re: u-boot Example Settings To Easily Switch Between TFTP/NFS and NAND on: April 28, 2009, 05:13:54 AM
u probably missed something on the u-boot env.
pls send a dump of the u-boot env and the boot log..
7  Linux Stuff / Kernel / Re: Trying to install 2.6.30-rc2 on: April 27, 2009, 11:54:11 AM
last suggestion will work.
U-boot will only replace the env variable for the first setting i.e.
setenv y $(x)

if x==55
y will get 55
if x==$(z) and z==44
y will get $(z)
8  Hardware and U-Boot firmware / U-Boot stuff / Re: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) on: April 27, 2009, 10:24:26 AM
pls send the full log, start with U-Boot prompt, then do printenv and then run rcvr and send the entire output.
9  Linux Stuff / Kernel / Re: Clock drift? on: April 27, 2009, 09:58:37 AM
which kernel are u using?
do u run heavy load on the plug, or leave it "idle"?
10  Linux Stuff / Kernel / Re: Netfilter Issues Getting xt_state.ko (2.6.30rc1-rc3) on: April 27, 2009, 09:40:42 AM
grep for NETFILTER_XT_MATCH_STATE on the kernel Kconfig files (probably the one under "net/") and check on what is it depended on and follow it...
11  Linux Stuff / Kernel / Re: Force reboot via serial console? on: April 27, 2009, 09:33:48 AM
I think u can use sysrq only if u have a uart connection, which u dont...
12  Hardware and U-Boot firmware / U-Boot stuff / Re: uboot-envtools on: April 20, 2009, 09:38:06 AM
I think it won't work...
U-Boot is burned using 4bit ECC including its env variable,
While your Linux probably support only 1 bit ECC.

For the NAND found on the SheevaPlug, 1 bit ECC should be enough since it have an SLC Nand.
However the KW BootROM support only 4bit ECC or none, so it better use the 4 bit ECC...

I think there are few options, all are not simple:
1) Changing the U-Boot to treat the env variable with 1 bit ECC.
2) Rewrite the user tool so it will write to the MTD without ECC and write the 4bit ECC to the OOB manually.
3) Add 4 bit ECC to the Linux, this will be part of future LSP releases, it should be safer for MLC NAND, however it will slow down the NAND access.

13  Linux Stuff / Kernel / Re: linux-feroceon_4_2_7_KW.zip ? on: April 20, 2009, 09:16:36 AM
Oh, I think I found the prblem, pls try to roll back this patch...

diff -Naur a/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c b/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c
--- a/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c   2009-03-15 16:30:51.000000000 +0200
+++ b/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c   2009-03-19 14:22:21.000000000 +0200
@@ -682,7 +682,7 @@
 #define SHEEVA_PLUG_BOARD_PCI_IF_NUM              0x0
 #define SHEEVA_PLUG_BOARD_TWSI_DEF_NUM              0x0
 #define SHEEVA_PLUG_BOARD_MAC_INFO_NUM              0x1
-#define SHEEVA_PLUG_BOARD_GPP_INFO_NUM              0x0
+#define SHEEVA_PLUG_BOARD_GPP_INFO_NUM              0x1
 #define SHEEVA_PLUG_BOARD_MPP_CONFIG_NUM          0x1
@@ -699,6 +699,11 @@
    /* {{MV_BOARD_DEV_CLASS   devClass, MV_U8   twsiDevAddr, MV_U8 twsiDevAddrType}} */
+MV_BOARD_GPP_INFO sheevaPlugInfoBoardGppInfo[] =
+   /* {{MV_BOARD_GPP_CLASS   devClass, MV_U8   gppPinNum}} */
+   };
 MV_BOARD_MPP_TYPE_INFO sheevaPlugInfoBoardMppTypeInfo[] =
@@ -733,7 +738,7 @@
    SHEEVA_PLUG_BOARD_MAC_INFO_NUM,             /* numBoardMacInfo */
    SHEEVA_PLUG_BOARD_GPP_INFO_NUM,             /* numBoardGppInfo */
-   0,
+   sheevaPlugInfoBoardGppInfo,
    SHEEVA_PLUG_BOARD_DEBUG_LED_NUM,         /* activeLedsNumber */             
    0,                              /* ledsPolarity */      
diff -Naur a/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h b/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h
--- a/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h   2009-03-15 16:31:22.000000000 +0200
+++ b/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h   2009-03-19 14:30:36.000000000 +0200
@@ -238,7 +238,7 @@
 #define RD_SHEEVA_PLUG_MPP40_47                 0x00000000
 #define RD_SHEEVA_PLUG_MPP48_55                 0x00000000
 #define RD_SHEEVA_PLUG_OE_LOW                   (BIT29)
-#define RD_SHEEVA_PLUG_OE_HIGH                  0x0
+#define RD_SHEEVA_PLUG_OE_HIGH                  (BIT15)
 #define RD_SHEEVA_PLUG_OE_VAL_LOW               0x0
 #define RD_SHEEVA_PLUG_OE_VAL_HIGH              0x20000

if u cant because of copy paste syntax issue then unroll this manually:
    SHEEVA_PLUG_BOARD_GPP_INFO_NUM,             /* numBoardGppInfo */
-   0,
+   sheevaPlugInfoBoardGppInfo,
    SHEEVA_PLUG_BOARD_DEBUG_LED_NUM,         /* activeLedsNumber */             
14  Linux Stuff / Kernel / Re: linux-feroceon_4_2_7_KW.zip ? on: April 20, 2009, 08:37:43 AM without the LSP cant be used for the SHeevPlug,
u can get the LSP+ from:

or even try the uImage directly from:

Pages: [1]