Skip to contentSkip to conversation

hw/musicpal: Set loader start address

PATCH In review Stefan Weil 2 participants 2 messages Aug 9, 2010 – Aug 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/musicpal: Set loader start address

Start address 0x0 did not work with a linux kernel.

---
 hw/musicpal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/musicpal.c +1 -1
index 33180a2..dc6bc21 100644
@@ -1470,7 +1470,7 @@ static SysBusDeviceInfo musicpal_key_info = {
 };
 
 static struct arm_boot_info musicpal_binfo = {
-    .loader_start = 0x0,
+    .loader_start = MP_SRAM_BASE,
     .board_id = 0x20e,
 };
 
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Stefan Weil

Start address 0x0 did not work with a linux kernel.

Never tried this, always loaded u-boot this way. But that one is fine with the shifted offset, so:

Out of curiosity: Which kernel are you booting on this platform, the Marvel BSP kernel shipped by Freecom?

JAn

Quoted 20 lines
---
 hw/musicpal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/musicpal.c +1 -1
index 33180a2..dc6bc21 100644
@@ -1470,7 +1470,7 @@ static SysBusDeviceInfo musicpal_key_info = {
 };
 
 static struct arm_boot_info musicpal_binfo = {
-    .loader_start = 0x0,
+    .loader_start = MP_SRAM_BASE,
     .board_id = 0x20e,
 };