
Hello Rogan,
rogan@dawes.za.net wrote:
From: Rogan Dawes rogan@dawes.za.net
Based on that of the edminiv2, with a few additions
[...]
diff --git a/board/D-Link/dns323_b1/config.mk b/board/D-Link/dns323_b1/config.mk new file mode 100644 index 0000000..ce6760d --- /dev/null +++ b/board/D-Link/dns323_b1/config.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2010 Albert ARIBAUD albert.aribaud@free.fr +# +# (C) Copyright 2009 +# Marvell Semiconductor <www.marvell.com> +# Written-by: Prafulla Wadaskar prafulla@marvell.com +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301 USA +#
+# TEXT_BASE must equal the intended FLASH location of u-boot. +CONFIG_SYS_TEXT_BASE = 0xfffd0000
You also wrote:
Unfortunately, this does not boot at all. I get:
Marvell>> bootm ## Booting image at 00100000 ... Image Name: UBoot dns323 Image Type: ARM U-Boot Kernel Image (uncompressed) Data Size: 170100 Bytes = 166.1 kB Load Address: 03000000 Entry Point: 03000000 Verifying Checksum ... OK OK
Starting kernel ...
With relocation, you must set TEXT_BASE to the value you start the image, so please try to set TEXT_BASE = load_addr.
Also, if you do a ram image, don;t forget that with relocation the u-boot image gets relocated to the end of ram, so don;t choose a TEXT_BASE near the end of ram.
If that not helps, you maybe need a debugger ...
bye, Heiko