|
reading GPIO registers in RAM July 05, 2015 12:11PM |
Registered: 8 years ago Posts: 298 |
|
Re: reading GPIO registers in RAM July 05, 2015 04:18PM |
Admin Registered: 13 years ago Posts: 18,564 |
|
Re: reading GPIO registers in RAM July 05, 2015 06:32PM |
Admin Registered: 13 years ago Posts: 18,564 |
md 0xF1010100
mw 0xF1010100 0 M
|
Re: reading GPIO registers in RAM July 07, 2015 01:36AM |
Registered: 8 years ago Posts: 298 |
|
Re: reading GPIO registers in RAM July 07, 2015 10:07AM |
Admin Registered: 13 years ago Posts: 18,564 |
|
Re: reading GPIO registers in RAM July 08, 2015 05:56PM |
Registered: 8 years ago Posts: 298 |
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8
DRAM CS[0] base 0x00000000 size 512MB
DRAM Total size 512MB 16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Kernel address is 0xc80000.
Streaming disabled
Write allocate disabled
USB 0: host mode
[BlueDBG] reseting SoC Pex[0] 0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
[BlueDBG] reseting SoC Pex[1] 0 ...
[BlueDBG] reseting SoC Pex[1] 1 ...
[BlueDBG] reseting SoC Pex[1] 2 ...
[BlueDBG] reseting SoC Pex[1] 3 ...
[BlueDBG] reseting SoC Pex[1] 4 ...
[BlueDBG] reseting SoC Pex[1] 5 ...
[BlueDBG] reseting SoC Pex[1] 6 ...
[BlueDBG] reseting SoC Pex[1] 7 ...
[BlueDBG] reseting SoC Pex[1] 8 ...
[BlueDBG] reseting SoC Pex[1] 9 ...
[BlueDBG] reseting SoC Pex[1] 10 ...
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 2 1 0
Marvell>> a
######waited 30 seconds, no reboot
Marvell>> md 0xF1010100
f1010100: 00004000 00000000 00000000 00000000 .@..............
f1010110: 00004000 cfd35f35 00000000 00000000 .@..5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
Marvell>> mw 0xf1010100 0x4000
####Writing "mw 0xF1010100 0 0x4000" was not working
#### waited 30 seconds again. No signs of anything.
Marvell>> reset
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 800Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8
DRAM CS[0] base 0x00000000 size 512MB
DRAM Total size 512MB 16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Kernel address is 0xc80000.
Streaming disabled
Write allocate disabled
USB 0: host mode
[BlueDBG] reseting SoC Pex[0] 0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
[BlueDBG] reseting SoC Pex[1] 0 ...
[BlueDBG] reseting SoC Pex[1] 1 ...
[BlueDBG] reseting SoC Pex[1] 2 ...
[BlueDBG] reseting SoC Pex[1] 3 ...
[BlueDBG] reseting SoC Pex[1] 4 ...
[BlueDBG] reseting SoC Pex[1] 5 ...
[BlueDBG] reseting SoC Pex[1] 6 ...
[BlueDBG] reseting SoC Pex[1] 7 ...
[BlueDBG] reseting SoC Pex[1] 8 ...
[BlueDBG] reseting SoC Pex[1] 9 ...
[BlueDBG] reseting SoC Pex[1] 10 ...
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 2 1 0
Marvell>> md f1010100
f1010100: 00004000 00000000 00000000 00000000 .@..............
f1010110: 00004000 cfd35f35 00000000 00000000 .@..5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
###########let's try zeroing the GPIO
Marvell>> mw f1010100 0x00
#######waited 30 seconds, nothing happens.
Marvell>> md f1010100
f1010100: 00000000 00000000 00000000 00000000 ................
f1010110: 00000000 cfd35f35 00000000 00000000 ....5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
########yep, the change went through.
######## sending the GPIO again
Marvell>> mw f1010100 0x4000
######## waiting 30 seconds, nothing happens.
Marvell>> md f1010100
f1010100: 00004000 00000000 00000000 00000000 .@..............
f1010110: 00004000 cfd35f35 00000000 00000000 .@..5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
###########Doing it again and rebooting
Marvell>> mw f1010100 0x00
Marvell>> md f1010100
f1010100: 00000000 00000000 00000000 00000000 ................
f1010110: 00000000 cfd35f35 00000000 00000000 ....5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
Marvell>> reset
ΓΌ
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 800Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8
DRAM CS[0] base 0x00000000 size 512MB
DRAM Total size 512MB 16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Kernel address is 0xc80000.
Streaming disabled
Write allocate disabled
USB 0: host mode
[BlueDBG] reseting SoC Pex[0] 0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
[BlueDBG] reseting SoC Pex[1] 0 ...
[BlueDBG] reseting SoC Pex[1] 1 ...
[BlueDBG] reseting SoC Pex[1] 2 ...
[BlueDBG] reseting SoC Pex[1] 3 ...
[BlueDBG] reseting SoC Pex[1] 4 ...
[BlueDBG] reseting SoC Pex[1] 5 ...
[BlueDBG] reseting SoC Pex[1] 6 ...
[BlueDBG] reseting SoC Pex[1] 7 ...
[BlueDBG] reseting SoC Pex[1] 8 ...
[BlueDBG] reseting SoC Pex[1] 9 ...
[BlueDBG] reseting SoC Pex[1] 10 ...
PEX 1: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 2 1 0
Marvell>> a
######## waiting for 30 seconds, nothing happens.
Marvell>> md f1010100
f1010100: 00004000 00000000 00000000 00000000 .@..............
f1010110: 00004000 cfd35f35 00000000 00000000 .@..5_..........
f1010120: 00000000 00000000 00000000 00000000 ................
f1010130: 00000000 00000000 00000000 00000000 ................
f1010140: 00000000 00000000 00000000 00000040 ............@...
f1010150: 00000040 0002007d 00000000 00000000 @...}...........
f1010160: 00000000 00000000 00000000 00000000 ................
f1010170: 00000000 00000000 00000000 00000000 ................
f1010180: 00000000 00000000 00000000 00000000 ................
f1010190: 00000000 00000000 00000000 00000000 ................
f10101a0: 00000000 00000000 00000000 00000000 ................
f10101b0: 00000000 00000000 00000000 00000000 ................
f10101c0: 00000000 00000000 00000000 00000000 ................
f10101d0: 00000000 00000000 00000000 00000000 ................
f10101e0: 00000000 00000000 00000000 00000000 ................
f10101f0: 00000000 00000000 00000000 00000000 ................
Marvell>>
######### yep, the GPIO is set again by the u-boot.
|
Re: reading GPIO registers in RAM July 08, 2015 06:35PM |
Admin Registered: 13 years ago Posts: 18,564 |
|
Re: reading GPIO registers in RAM July 08, 2015 07:52PM |
Registered: 8 years ago Posts: 298 |
|
Re: reading GPIO registers in RAM July 10, 2015 07:05PM |
Admin Registered: 13 years ago Posts: 18,564 |
|
Re: reading GPIO registers in RAM July 22, 2015 10:27PM |
Admin Registered: 13 years ago Posts: 18,564 |
|
Re: reading GPIO registers in RAM July 23, 2015 08:10AM |
Registered: 8 years ago Posts: 298 |
|
Re: reading GPIO registers in RAM July 23, 2015 05:12PM |
Admin Registered: 13 years ago Posts: 18,564 |