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...
|
|
|
|
|
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 192.168.178.21 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...
|
|
|
|
|
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)
|
|
|
|
|
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_GROUP_TYPE_NUN 0x1 #define SHEEVA_PLUG_BOARD_MPP_CONFIG_NUM 0x1 #define SHEEVA_PLUG_BOARD_DEVICE_CONFIG_NUM 0x1 @@ -699,6 +699,11 @@ /* {{MV_BOARD_DEV_CLASS devClass, MV_U8 twsiDevAddr, MV_U8 twsiDevAddrType}} */ {{BOARD_TWSI_OTHER, 0x0, ADDR7_BIT}}; +MV_BOARD_GPP_INFO sheevaPlugInfoBoardGppInfo[] = + /* {{MV_BOARD_GPP_CLASS devClass, MV_U8 gppPinNum}} */ + {{BOARD_GPP_SDIO_DETECT, 47} + }; + MV_BOARD_MPP_TYPE_INFO sheevaPlugInfoBoardMppTypeInfo[] = {{MV_BOARD_OTHER, MV_BOARD_OTHER} }; @@ -733,7 +738,7 @@ SHEEVA_PLUG_BOARD_MAC_INFO_NUM, /* numBoardMacInfo */ sheevaPlugInfoBoardMacInfo, SHEEVA_PLUG_BOARD_GPP_INFO_NUM, /* numBoardGppInfo */ - 0, + sheevaPlugInfoBoardGppInfo, SHEEVA_PLUG_BOARD_DEBUG_LED_NUM, /* activeLedsNumber */ sheevaPlugInfoBoardDebugLedIf, 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: arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c SHEEVA_PLUG_BOARD_GPP_INFO_NUM, /* numBoardGppInfo */ - 0, + sheevaPlugInfoBoardGppInfo, SHEEVA_PLUG_BOARD_DEBUG_LED_NUM, /* activeLedsNumber */
|
|
|
|
|