<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div> Hi Michael,<br><br>I have verified all the RAM initializations in board/smdk2440/lowlevel_init.S and it seems to be fine. <br>The other changes that I have done are<br><br>1. In the board/smdk2440/config.mk file I changed TEXT_BASE = 0x33F80000 to <br>TEXT_BASE = 0x00000000 because I am booting from the NOR flash. The NOR flash address range is 0x00000000 - 0x08000000. The RAM address range is 0x30000000 - 0x38000000.<br><br>If I compile it with TEXT_BASE = 0x33F80000 it does not run at all!<br><br>2. When I changed this I found that it has a clash with the stack building in cpu/arm920t/start.S. Therefore I changed it to<br>.........<br>/* Set up the
stack */<br>stack_setup:<br>/* ldr r0, _TEXT_BASE */ /* upper 128 KiB: relocated uboot */<br> mov r0, #0x33 /* make stack at 33F8*/<br> mov r0, r0, lsl #24<br> mov r1, #0xF8<br> mov r1, r1, lsl #16<br> orr r0, r0, r1<br>.......<br><br>Would these be a problem for the memory initializations?<br><br>Thanks in advance<br>Tiju<br><br><br><br>> Hi all<br>><br>> I am trying to port u-boot to a s3c2440 samsung processor..<br>><br>> I applied the smdk2440 boards patch (almost similar architecture) and <br>> trying to modify it for our board's requirement. But during the <br>> serial_init it goes to the _serial_putc and then
after certain loops <br>> it goes to the hang function and hangs there.<br>><br>> What could be the problem? Or am I doing some wrong initializations?<br>><br>><br>Are you sure that the memory inizializzation is correct?<br><br>Regards Michael<br></div></div><br>
<!--2--><hr size=1></hr> Unlimited freedom, unlimited storage. <a href="http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Get it now</a></body></html>