From: seedshope
Since we rename _end to __bss_end__, But we need add _end symbol for
the end of u-boot image.
Signed-off-by: Zhong Hongbo
diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds
b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 0153e0e..23c9913 100644
--- a/nand_spl/board
-boot.map -o u-boot
arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
/home/seedshope/work/bootloader/u-boot/arch/arm/cpu/arm1176/start.S:61:
undefined reference to `_end'
make: *** [/home/seedshope/work/bootloader/u-boot_obj/smdk6400/u-boo
From: seedshope
Since we rename _end to __bss_end__, But we need add _end symbol for
the end of u-boot image.
Signed-off-by: Zhong Hongbo
diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds
b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 0153e0e..23c9913 100644
--- a/nand_spl/board
On 01/23/2011 04:28 AM, Albert ARIBAUD wrote:
> Hi seedshope,
>
> Le 22/01/2011 20:23, seedshope a écrit :
>
>> Hi Amicalement
>
> That's Albert, actually. :)
>
>> I check my patch 6 on the
>> http://news.gmane.org/gmane.comp.boot-loaders.u-boot, It l
Signed-off-by: Zhong Hongbo
diff --git a/board/samsung/smdk6400/smdk6400.c
b/board/samsung/smdk6400/smdk6400.c
index 35aa40b..13c7ed5 100644
--- a/board/samsung/smdk6400/smdk6400.c
+++ b/board/samsung/smdk6400/smdk6400.c
@@ -78,10 +78,16 @@ int board_init(void)
return 0;
}
-int dram_i
Since nand boot have some limit for the first 4KB, We only
disable the LED function to reduce the code space. At the
same time, Fix the compile error for LED function undefined
in the compile time of nand_spl.
Signed-off-by: Zhong Hongbo
diff --git a/arch/arm/cpu/arm1176/start.S b/arch/arm/cpu/a
In the nand_spl feature of SMDK6400. Add some relocation symbols to
nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error.
Signed-off-by: Zhong Hongbo
diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds
b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 3ac6aa1..30b1573 100644
The first, the cpu_init.o have already been link for cmd_link_o_target
atfer compile, But, The link script re-link the point file. So the link
machine will generate multiple definition error information.
The second, Since the first 4kB of nand boot featue code move to nand_spl,
So It is not necess
Modify Makefile for cpu_init.c and Start.s use some label,this defined
u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script
board/samsung/smdk6400/u-boot-nand.lds. So add some label form u-boot.lds
to u-boot-nand.lds
Signed-off-by: Zhong Hongbo
diff --git a/board/samsung/smdk6400
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
Signed-off-by: Zhong Hongbo
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..c9acf58 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
@@ -44,6 +44,11 @@
#define CONFIG_PERIPORT_BASE 0x7
Change from V1:
patch 1:
patch 2: Delete some compile information from commit.
patch 3: Add LED modify information and Delete some compile information from
commit.
patch 4: Add new patch for SDRAM init.
Change from v2:
patch2: Modify Makefile for arch/arm/cpu/arm1176/s3c64xx/cpu_init.s in build
On 01/22/2011 01:52 AM, Sergei Shtylyov wrote:
> Hello.
>
> seedshope wrote:
>
>> Since SDRAM init function have already change, So the SDRAM
>> initial function must be change.
>
> This description sounds somewhat tautological...
>
>> Signed-off-by: seeds
On 01/22/2011 03:31 PM, Albert ARIBAUD wrote:
> Hi seedshope,
>
> Le 22/01/2011 02:56, seedshope a écrit :
>
>>>> My patch is ok, I just two tabs in my e-mail, But I sent the mail,
>>>> It is change.
>>> Do you send the patch through git format-patc
On 01/22/2011 03:11 AM, Albert ARIBAUD wrote:
> Le 21/01/2011 19:43, seedshope a écrit :
>
>> On 01/22/2011 02:29 AM, Albert ARIBAUD wrote:
>>> Le 21/01/2011 19:15, seedshope a écrit :
>>>> On 01/22/2011 02:05 AM, seedshope wrote:
>>>>> On 01/22/20
On 01/22/2011 04:42 AM, Wolfgang Denk wrote:
> Dear seedshope,
>
> In message<1295624053-8060-2-git-send-email-bocui...@gmail.com> you wrote:
>> Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
>>
>> Signed-off-by: seedshope
> I'm sorry, but please cons
On 01/22/2011 02:29 AM, Albert ARIBAUD wrote:
> Le 21/01/2011 19:15, seedshope a écrit :
>> On 01/22/2011 02:05 AM, seedshope wrote:
>>> On 01/22/2011 01:52 AM, Sergei Shtylyov wrote:
>>>> Hello.
>>>>
>>>> seedshope wrote:
>>>>
On 01/22/2011 02:05 AM, seedshope wrote:
> On 01/22/2011 01:52 AM, Sergei Shtylyov wrote:
>> Hello.
>>
>> seedshope wrote:
>>
>>> Since SDRAM init function have already change, So the SDRAM
>>> initial function must be change.
>>
>>
On 01/22/2011 01:52 AM, Sergei Shtylyov wrote:
> Hello.
>
> seedshope wrote:
>
>> Since SDRAM init function have already change, So the SDRAM
>> initial function must be change.
>
>This description sounds somewhat tautological...
If I describe as following:
On 01/22/2011 12:35 AM, seedshope wrote:
> On 01/21/2011 08:42 AM, Tom Warren wrote:
>> +
>> +enum {
>> +UART_A = 1,
>> +UART_B,
>> +UART_C,
>> +UART_D,
>> +UART_E
>> +};
>> +
>> +#endif /* _BOARD_H_ */
>>
&
el(0,&u->uart_ier_dlab_0);
> + writel(0,&u->uart_lcr); /* clear DLAB */
> + writel((UART_FCR_TRIGGER_3 | UART_FCR_FIFO_EN | \
> + UART_FCR_CLEAR_XMIT | UART_FCR_CLEAR_RCVR),&u->uart_iir_fcr);
> + writel(0,&u->u
/armv7/tegra2/uart.c
>>> new file mode 100644
>>> index 000..5e60bd8
>>> --- /dev/null
>>> +++ b/arch/arm/cpu/armv7/tegra2/uart.c
>> How about move it to drivers/serial/ ?
Approve, you can use name in the drivers/serial. such as:
serial_tegra2.c
Thanks
see
Since nand boot have some limit for the first 4KB, We only
disable the LED function to reduce the code space. At the
same time, Fix the compile error for LED function undefined
in the compile time of nand_spl.
Signed-off-by: seedshope
---
arch/arm/cpu/arm1176/start.S |2 ++
1 files changed
Since SDRAM init function have already change, So the SDRAM
initial function must be change.
Signed-off-by: seedshope
---
board/samsung/smdk6400/smdk6400.c | 10 +-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/board/samsung/smdk6400/smdk6400.c
b/board/samsung
In the nand_spl feature of SMDK6400. Add some relocation symbols to
nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error.
Signed-off-by: seedshope
---
nand_spl/board/samsung/smdk6400/u-boot.lds | 17 -
1 files changed, 16 insertions(+), 1 deletions(-)
diff
necessary to force the cpu_init.o in non-nand boot.
Signed-off-by: seedshope
---
board/samsung/smdk6400/u-boot-nand.lds |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/board/samsung/smdk6400/u-boot-nand.lds
b/board/samsung/smdk6400/u-boot-nand.lds
index 6771981..6bf4971
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
Signed-off-by: seedshope
---
include/configs/smdk6400.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..c9acf58 100644
--- a/include/configs/smdk6400
Modify Makefile for cpu_init.c and Start.s use some label,this defined
u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script
board/samsung/smdk6400/u-boot-nand.lds. So add some label form u-boot.lds
to u-boot-nand.lds
Signed-off-by: seedshope
---
board/samsung/smdk6400/u-boot
Change from V1:
patch 1:
patch 2: Delete some compile information from commit.
patch 3: Add LED modify information and Delete some compile information from
commit.
patch 4: Add new patch for SDRAM init.
Change from v2:
patch2: Modify Makefile for arch/arm/cpu/arm1176/s3c64xx/cpu_init.s in build
ENV_FLASHBOOT " ${opts} ${lcdinfo} " \
> + CONFIG_ENV_COMMON_BOOT "; run bootk\0" \
> + "tftpboot=" \
> + "set bootargs root=ubi0!rootfs rootfstype=ubifs " \
> + CONFIG_ENV_FLASHBOOT " ${opts} ${lcdinf
On 01/15/2011 02:15 AM, Albert ARIBAUD wrote:
> Le 14/01/2011 17:56, seedshope a écrit :
>> On 01/15/2011 12:39 AM, Albert ARIBAUD wrote:
>>> Hi seedshope,
>>>
>>> Le 14/01/2011 16:45, seedshope a écrit :
>>>> On 01/14/2011 02:07 AM, Albert ARIBA
On 01/19/2011 05:56 AM, Wolfgang Denk wrote:
> Dear seedshope,
>
> In message<1294757545-4771-4-git-send-email-bocui...@gmail.com> you wrote:
>> Add some relocation symbols to u-boot.lds and disable LED functions
>> in start.s to support nand_spl.
>>
>> Sig
On 01/15/2011 02:15 AM, Albert ARIBAUD wrote:
> Le 14/01/2011 17:56, seedshope a écrit :
>> On 01/15/2011 12:39 AM, Albert ARIBAUD wrote:
>>> Hi seedshope,
>>>
>>> Le 14/01/2011 16:45, seedshope a écrit :
>>>> On 01/14/2011 02:07 AM, Albert ARIBA
On 01/15/2011 12:39 AM, Albert ARIBAUD wrote:
> Hi seedshope,
>
> Le 14/01/2011 16:45, seedshope a écrit :
>> On 01/14/2011 02:07 AM, Albert ARIBAUD wrote:
>>> Le 13/01/2011 14:36, seedshope a écrit :
>>>> Modify Makefile for cpu_init.c and Start.s use some l
On 01/14/2011 11:45 PM, seedshope wrote:
> On 01/14/2011 02:07 AM, Albert ARIBAUD wrote:
>> Le 13/01/2011 14:36, seedshope a écrit :
>>> Modify Makefile for cpu_init.c and Start.s use some label,this defined
>>> u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the li
On 01/14/2011 08:53 AM, Minkyu Kang wrote:
> Dear seedshope,
>
> On 13 January 2011 22:36, seedshope wrote:
>> Since SDRAM init function have already change, So the SDRAM
>> initial function must be change.
>>
>> Signed-off-by: seedshope
>>
>> diff --
On 01/14/2011 02:07 AM, Albert ARIBAUD wrote:
> Le 13/01/2011 14:36, seedshope a écrit :
>> Modify Makefile for cpu_init.c and Start.s use some label,this defined
>> u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script
>> board/samsung/smdk6400/u-boot-nand.l
Since SDRAM init function have already change, So the SDRAM
initial function must be change.
Signed-off-by: seedshope
diff --git a/board/samsung/smdk6400/smdk6400.c
b/board/samsung/smdk6400/smdk6400.c
index 35aa40b..043d553 100644
--- a/board/samsung/smdk6400/smdk6400.c
+++ b/board/samsung
Add some relocation symbols to u-boot.lds and disable LED functions
in start.s to support nand_spl.
Signed-off-by: seedshope
diff --git a/arch/arm/cpu/arm1176/start.S b/arch/arm/cpu/arm1176/start.S
index 237dcfe..ae3706a 100644
--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176
Modify Makefile for cpu_init.c and Start.s use some label,this defined
u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script
board/samsung/smdk6400/u-boot-nand.lds. So add some label form u-boot.lds
to u-boot-nand.lds
Signed-off-by: seedshope
diff --git a/arch/arm/cpu/arm1176
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
Signed-off-by: seedshope
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..c9acf58 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
@@ -44,6 +44,11 @@
#define CONFIG_PERIPORT_BASE
Change from V1:
patch 1:
patch 2: Delete some compile information from commit.
patch 3: Add LED modify information and Delete some compile information from
commit.
patch 4: Add new patch for SDRAM init.
Change frome v2:
patch2: Modify Makefile for arch/arm/cpu/arm1176/s3c64xx/cpu_init.s in build
On 01/12/2011 07:08 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 11-01-2011 17:52, seedshope wrote:
>
>> Since SDRAM init function have already change, So the SDRAM
>> initial function must be change.
>
>> Signed-off-by: seedshope
>
>> diff --git a/boa
Add some relocation symbols to u-boot.lds and disable LED functions
in start.s to support nand_spl.
Signed-off-by: seedshope
diff --git a/arch/arm/cpu/arm1176/start.S b/arch/arm/cpu/arm1176/start.S
index 237dcfe..ae3706a 100644
--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176
Since SDRAM init function have already change, So the SDRAM
initial function must be change.
Signed-off-by: seedshope
diff --git a/board/samsung/smdk6400/smdk6400.c
b/board/samsung/smdk6400/smdk6400.c
index 35aa40b..52b44a8 100644
--- a/board/samsung/smdk6400/smdk6400.c
+++ b/board/samsung
Start.s use some label,this defined u-boot.lds of arch/arm/cpu/arm1176.
But SMDK6400 use the link script board/samsung/smdk6400/u-boot-nand.lds.
So add some label form u-boot.lds to u-boot-nand.lds
Signed-off-by: seedshope
diff --git a/board/samsung/smdk6400/u-boot-nand.lds
b/board/samsung
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
Signed-off-by: seedshope
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..c9acf58 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
@@ -44,6 +44,11 @@
#define CONFIG_PERIPORT_BASE
Subject: RR v2 PATCH: SMDK6400 Fix some build bug
Change from V1:
patch 1:
patch 2: Delete some compile information from commit.
patch 3: Add LED modify information and Delete some compile information from
commit.
patch 4: Add new patch for SDRAM init.
___
On 01/09/2011 10:12 PM, Minkyu Kang wrote:
> Hello,
>
> On 9 January 2011 21:27, seedshope wrote:
>> On 01/09/2011 03:33 PM, Minkyu Kang wrote:
>>> Hi
>>>
>>> On 9 January 2011 10:14, seedshopewrote:
>>>> On 01/08/2011 11:15 PM, Min
On 01/09/2011 03:33 PM, Minkyu Kang wrote:
> Hi
>
> On 9 January 2011 10:14, seedshope wrote:
>> On 01/08/2011 11:15 PM, Minkyu Kang wrote:
>>> Dear seedshope,
>>>
>>> On 8 January 2011 00:53, seedshopewrote:
>>>> From: seedshope
&
On 01/08/2011 11:17 PM, Albert ARIBAUD wrote:
> Le 08/01/2011 16:10, seedshope a écrit :
>> On 01/08/2011 01:55 PM, Albert ARIBAUD wrote:
>>> Le 07/01/2011 16:53, seedshope a écrit :
>>>> From: seedshope
>>>>
>>>> CONFIG_SYS_INIT_SP_ADDR po
On 01/08/2011 11:15 PM, Minkyu Kang wrote:
> Dear seedshope,
>
> On 8 January 2011 00:53, seedshope wrote:
>> From: seedshope
>>
>> Modify u-boot.lds from nand_spl/board/samsung/smdk6400.
>>
>> start.o: In function `clbss_l':
>> nand_spl/board/sa
On 01/08/2011 01:55 PM, Albert ARIBAUD wrote:
> Le 07/01/2011 16:53, seedshope a écrit :
>> From: seedshope
>>
>> CONFIG_SYS_INIT_SP_ADDR point the last PHY of IRAM
>> and substract the global size.
>>
>> Signed-off-by: seedshope
> Please fix the From:
On 01/08/2011 02:14 PM, Albert ARIBAUD wrote:
> Hi seedshope,
>
> Le 07/01/2011 16:53, seedshope a écrit :
>> From: seedshope
>>
>> Modify u-boot.lds from nand_spl/board/samsung/smdk6400.
> You're also modifying start.S. If you mention files in the patch
> sum
On 01/08/2011 02:04 PM, Albert ARIBAUD wrote:
> Le 07/01/2011 16:53, seedshope a écrit :
>> From: seedshope
>>
>> Remove u-boot-nand.lds from board/samsung/smdk6400 and
>> use the common u-boot.lds of arm1176 cpu layer. This
>> patch also fix the building errors:
&
From: seedshope
Modify u-boot.lds from nand_spl/board/samsung/smdk6400.
start.o: In function `clbss_l':
nand_spl/board/samsung/smdk6400/start.S:357: undefined reference to
`coloured_LED_init'
nand_spl/board/samsung/smdk6400/start.S:358: undefined reference to `red_LED_on'
start
From: seedshope
Remove u-boot-nand.lds from board/samsung/smdk6400 and
use the common u-boot.lds of arm1176 cpu layer. This
patch also fix the building errors:
arch/arm/cpu/arm1176/s3c64xx/libs3c64xx.o: In function `mem_ctrl_asm_init':
arch/arm/cpu/arm1176/s3c64xx/cpu_init.S:32: mul
From: seedshope
CONFIG_SYS_INIT_SP_ADDR point the last PHY of IRAM
and substract the global size.
Signed-off-by: seedshope
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..037db4f 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
On 01/05/2011 03:04 PM, Minkyu Kang wrote:
> Dear seedshope,
>
> On 4 January 2011 23:56, seedshope wrote:
>> On 01/04/2011 10:46 PM, seedshope wrote:
>>> On 01/04/2011 04:14 PM, Minkyu Kang wrote:
>>>> Use the global data instead of bss variable, re
On 01/04/2011 10:46 PM, seedshope wrote:
> On 01/04/2011 04:14 PM, Minkyu Kang wrote:
>> Use the global data instead of bss variable, replace as follow.
>> timer_load_val -> timer_rate_hz
>> timestamp -> timer_reset_value
>> lastdec -> lastinc
> I have al
On 01/04/2011 04:14 PM, Minkyu Kang wrote:
> Use the global data instead of bss variable, replace as follow.
> timer_load_val -> timer_rate_hz
> timestamp -> timer_reset_value
> lastdec -> lastinc
I have already test the patch on s3c6410 . It is work perfect.
Thanks,
seed
60 matches
Mail list logo