Gabe Black (gabeblack(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3329
-gerrit
commit 0558132747bca247c7f0c1e920e8b8d6b95d167b
Author: Gabe Black <gabeblack(a)google.com>
Date: Mon May 27 22:38:59 2013 +0200
beaglebone: Force on every other user LED to show that Coreboot is running.
Until we get serial working, this is a good way to show that Coreboot is
running. It can be removed once we have better methods.
Change-Id: I62d25e52aa88a97aba4c959538d680b67a0bbbb2
Signed-off-by: Gabe Black <gabeblack(a)chromium.org>
---
src/mainboard/ti/beaglebone/bootblock.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/mainboard/ti/beaglebone/bootblock.c b/src/mainboard/ti/beaglebone/bootblock.c
index 77e382d..fbe73ea 100644
--- a/src/mainboard/ti/beaglebone/bootblock.c
+++ b/src/mainboard/ti/beaglebone/bootblock.c
@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <arch/io.h>
#include <types.h>
#include <uart.h>
#include <console/console.h>
@@ -24,6 +25,19 @@
void bootblock_mainboard_init(void);
void bootblock_mainboard_init(void)
{
+ /* Enable the GPIO module */
+ writel((0x2 << 0) | (1 << 18), (uint32_t *)(0x44e00000 + 0xac));
+
+ /* Disable interrupts from these GPIOs */
+ setbits_le32((uint32_t *)(0x4804c000 + 0x3c), 0xf << 21);
+
+ /* Enable output */
+ clrbits_le32((uint32_t *)(0x4804c000 + 0x134), 0xf << 21);
+
+ /* Set every other light */
+ clrbits_le32((uint32_t *)(0x4804c000 + 0x13c), 0xf << 21);
+ setbits_le32((uint32_t *)(0x4804c000 + 0x13c), 0x5 << 21);
+
/* Start monotonic timer */
//rtc_start();
Gabe Black (gabeblack(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3328
-gerrit
commit de164593b5c8c5896e44fe5455ecb34a0e05bdad
Author: Gabe Black <gabeblack(a)google.com>
Date: Mon May 27 22:18:22 2013 +0200
beaglebone: Reduce the size of the "ROM" from 128K to 64K
The RAM interal to the SOC isn't quite 128K in size, and has some things in it
that would be best not to trample. The current model is to load the entire
image into this memory and then to seperately load the RAM stage into the
system memory when that gets set up.
Change-Id: I89dc658fb1d14457a657ce3ecd2fd4d6acfb893f
Signed-off-by: Gabe Black <gabeblack(a)chromium.org>
---
src/mainboard/ti/beaglebone/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/ti/beaglebone/Kconfig b/src/mainboard/ti/beaglebone/Kconfig
index 97fdf48..9260a2f 100644
--- a/src/mainboard/ti/beaglebone/Kconfig
+++ b/src/mainboard/ti/beaglebone/Kconfig
@@ -25,7 +25,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CPU_TI_AM335X
select HAVE_UART_MEMORY_MAPPED
# FIXME: This should be much smaller
- select BOARD_ROMSIZE_KB_128
+ select BOARD_ROMSIZE_KB_64
config MAINBOARD_DIR
string
Gabe Black (gabeblack(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3327
-gerrit
commit ce0a7502349f6f5c773f6f84197b006bd2317a0b
Author: Gabe Black <gabeblack(a)google.com>
Date: Mon May 27 22:16:13 2013 +0200
am335x: Clean up/fix some settings in the am335x Kconfig.
Some settings in the am335x Kconfig weren't actually used for anything, some
where place holders, and some where left over from another CPU.
Change-Id: I1a117d789a791d7e3db1118823f8216b3361433c
Signed-off-by: Gabe Black <gabeblack(a)chromium.org>
---
src/cpu/ti/am335x/Kconfig | 39 ++++-----------------------------------
1 file changed, 4 insertions(+), 35 deletions(-)
diff --git a/src/cpu/ti/am335x/Kconfig b/src/cpu/ti/am335x/Kconfig
index c4ef8f1..472fbe7 100644
--- a/src/cpu/ti/am335x/Kconfig
+++ b/src/cpu/ti/am335x/Kconfig
@@ -6,25 +6,9 @@ config BOOTBLOCK_CPU_INIT
bootblock must load microcode or copy data from ROM before
searching for the bootblock.
-# Example SRAM/iRAM map for Exynos5250 platform:
-#
-# 0x0202_3400: bootblock, assume up to 32KB in size
-# 0x0203_0000: romstage, assume up to 128KB in size.
-# 0x0207_8000: stack pointer
-
-# FIXME: find out where romboot places ml0/coreboot
config BOOTBLOCK_BASE
hex
- default 0xdeadbeef
-
-#config ROMSTAGE_BASE
-# hex
-# default 0x02030000
-#
-# FIXME: this is bullshit.
-config ROMSTAGE_SIZE
- hex
- default 0xa000
+ default 0x402f0400
# Stack may reside in either IRAM or DRAM. We will define it to live
# at the top of IRAM for now.
@@ -33,11 +17,11 @@ config ROMSTAGE_SIZE
# consecutive memory locations ending just below SP
config STACK_TOP
hex
- default 0x02078000
+ default 0x4030ce00
config STACK_BOTTOM
hex
- default 0x02077000
+ default 0x4030be00
config STACK_SIZE
hex
@@ -46,7 +30,7 @@ config STACK_SIZE
config CBFS_ROM_OFFSET
# Calculated by BL1 + max bootblock size.
hex "offset of CBFS data in ROM"
- default 0x0A000
+ default 0x2800
## TODO Change this to some better address not overlapping bootblock when
## cbfstool supports creating header in arbitrary location.
@@ -54,21 +38,6 @@ config CBFS_HEADER_ROM_OFFSET
hex "offset of master CBFS header in ROM"
default 0x40
-## TODO We may probably move this to board-specific implementation files instead
-## of KConfig values.
-#config CBFS_CACHE_ADDRESS
-# hex "memory address to put CBFS cache data"
-# default 0x02060000
-#
-#config CBFS_CACHE_SIZE
-# hex "size of CBFS cache data"
-# default 0x000017000
-
-# FIXME: other magic numbers that should probably go away
-config XIP_ROM_SIZE
- hex
- default ROMSTAGE_SIZE
-
config SYS_SDRAM_BASE
hex
default 0x40000000
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3326
-gerrit
commit 6358465ec24f937ec415e0f53400ccc533640694
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Tue May 28 20:59:50 2013 +0200
AMD Geode LX: Add AES PCI device 0:1.2 to `devicetree.cb`
The AMD Geode LX processor features a security block [1], which is
exposed as PCI device 0:1.2.
Currently some Geode LX boards in the tree mention it in their
`devicetree.cb` and others do not. So add
device pci 1.2 on end # AES
to the boards not having this line to completely describe the devices.
No functionality is changed, as coreboot was able to discover the AES
security block anyway.
00:01.2 Entertainment encryption device [1010]: Advanced Micro Devices [AMD] Geode LX AES Security Block [1022:2082]
The following command was used to find all Geode LX `devicetree.cb`
files.
$ find src/mainboard -name devicetree.cb | xargs grep -l 'amd/lx'
[1] http://en.wikipedia.org/wiki/AMD_Geode#Geode_LX
Change-Id: Id4565c83ac2c0a3f2994535650bb9f642c0feced
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/mainboard/amd/db800/devicetree.cb | 1 +
src/mainboard/amd/norwich/devicetree.cb | 1 +
src/mainboard/artecgroup/dbe61/devicetree.cb | 1 +
src/mainboard/digitallogic/msm800sev/devicetree.cb | 1 +
src/mainboard/iei/pcisa-lx-800-r10/devicetree.cb | 1 +
src/mainboard/pcengines/alix1c/devicetree.cb | 1 +
src/mainboard/pcengines/alix2d/devicetree.cb | 1 +
src/mainboard/traverse/geos/devicetree.cb | 1 +
src/mainboard/winent/pl6064/devicetree.cb | 1 +
9 files changed, 9 insertions(+)
diff --git a/src/mainboard/amd/db800/devicetree.cb b/src/mainboard/amd/db800/devicetree.cb
index 3331a12..db78d7c 100644
--- a/src/mainboard/amd/db800/devicetree.cb
+++ b/src/mainboard/amd/db800/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/amd/norwich/devicetree.cb b/src/mainboard/amd/norwich/devicetree.cb
index 93effaa..0eba4d7 100644
--- a/src/mainboard/amd/norwich/devicetree.cb
+++ b/src/mainboard/amd/norwich/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/artecgroup/dbe61/devicetree.cb b/src/mainboard/artecgroup/dbe61/devicetree.cb
index d270f3d..59e3215 100644
--- a/src/mainboard/artecgroup/dbe61/devicetree.cb
+++ b/src/mainboard/artecgroup/dbe61/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/digitallogic/msm800sev/devicetree.cb b/src/mainboard/digitallogic/msm800sev/devicetree.cb
index 839b767..63377ec 100644
--- a/src/mainboard/digitallogic/msm800sev/devicetree.cb
+++ b/src/mainboard/digitallogic/msm800sev/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end
device pci 1.1 on end
+ device pci 1.2 on end
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/iei/pcisa-lx-800-r10/devicetree.cb b/src/mainboard/iei/pcisa-lx-800-r10/devicetree.cb
index a6dba30..b30c169 100644
--- a/src/mainboard/iei/pcisa-lx-800-r10/devicetree.cb
+++ b/src/mainboard/iei/pcisa-lx-800-r10/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/pcengines/alix1c/devicetree.cb b/src/mainboard/pcengines/alix1c/devicetree.cb
index 85e967a..e33d277 100644
--- a/src/mainboard/pcengines/alix1c/devicetree.cb
+++ b/src/mainboard/pcengines/alix1c/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end
device pci 1.1 on end
+ device pci 1.2 on end
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/pcengines/alix2d/devicetree.cb b/src/mainboard/pcengines/alix2d/devicetree.cb
index d8aa3bc..2b51908 100644
--- a/src/mainboard/pcengines/alix2d/devicetree.cb
+++ b/src/mainboard/pcengines/alix2d/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end
device pci 1.1 on end
+ device pci 1.2 on end
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/traverse/geos/devicetree.cb b/src/mainboard/traverse/geos/devicetree.cb
index 4a2674e..fbf0bb6 100644
--- a/src/mainboard/traverse/geos/devicetree.cb
+++ b/src/mainboard/traverse/geos/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....
diff --git a/src/mainboard/winent/pl6064/devicetree.cb b/src/mainboard/winent/pl6064/devicetree.cb
index f900f78..4b88479 100644
--- a/src/mainboard/winent/pl6064/devicetree.cb
+++ b/src/mainboard/winent/pl6064/devicetree.cb
@@ -2,6 +2,7 @@ chip northbridge/amd/lx
device domain 0 on
device pci 1.0 on end # Northbridge
device pci 1.1 on end # Graphics
+ device pci 1.2 on end # AES
chip southbridge/amd/cs5536
# IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK
# SIRQ Mode = Active(Quiet) mode. Save power....