[U-Boot-Users] A problem about global_data

Hello,everyone!
I am porting u-boot-1.1.4 to the target board xhyper255(pxa255,32M nor flash and 64M sdram). I use brightening led to trace my u-boot's progress on the target.and now I find a problem: when executing "gd->bd->bi_arch_number=200;"(this sentence is in function board_init(),board/xhyper255/xhyper255.c) and other similiar sentences("gd->bd->**=**"), the progress was terminated.
But when executing other sentences such as "gd->env_addr = (ulong)&default_environment[0];gd->env_valid = 0;"(these sentences are in function env_init(),common/env_flash.c),the progress can do them well. I can not find what caused it.thank you!
best wishes!
Jcakliu
lqiang@scut.edu.cn 2006-06-14

In message 200606140240.k5E2eIwk020597@scut.edu.cn you wrote:
--===============1619836598== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64
SGVsbG8sZXZlcnlvbmUhDQoNCkkgYW0gcG9ydGluZyB1LWJvb3QtMS4xLjQgdG8gdGhlIHRhcmdl dCBib2FyZCB4aHlwZXIyNTUocHhhMjU1LDMyTSBub3IgZmxhc2ggYW5kIDY0TSBzZHJhbSkuIEkg dXNlIGJyaWdodGVuaW5nIGxlZCB0byB0cmFjZSBteSB1LWJvb3QncyBwcm9ncmVzcyBvbiB0aGUg dGFyZ2V0LmFuZCBub3cgSSBmaW5kIGEgcHJvYmxlbTogd2hlbiBleGVjdXRpbmcgImdkLT5iZC0+ YmlfYXJjaF9udW1iZXI9MjAwOyIodGhpcyBzZW50ZW5jZSBpcyBpbiBmdW5jdGlvbiBib2FyZF9p bml0KCksYm9hcmQveGh5cGVyMjU1L3hoeXBlcjI1NS5jKSBhbmQgb3RoZXIgc2ltaWxpYXIgc2Vu dGVuY2VzKCJnZC0+YmQtPioqPSoqIiksIHRoZSBwcm9ncmVzcyB3YXMgdGVybWluYXRlZC4gDQoN CkJ1dCB3aGVuIGV4ZWN1dGluZyBvdGhlciBzZW50ZW5jZXMgc3VjaCBhcyAiZ2QtPmVudl9hZGRy ICA9ICh1bG9uZykmZGVmYXVsdF9lbnZpcm9ubWVudFswXTtnZC0+ZW52X3ZhbGlkID0gMDsiKHRo ZXNlIHNlbnRlbmNlcyBhcmUgaW4gZnVuY3Rpb24gZW52X2luaXQoKSxjb21tb24vZW52X2ZsYXNo LmMpLHRoZSBwcm9ncmVzcyBjYW4gZG8gdGhlbSB3ZWxsLg0KSSBjYW4gbm90IGZpbmQgd2hhdCBj YXVzZWQgaXQudGhhbmsgeW91IQ0KDQpiZXN0IHdpc2hlcyENCg0KCQ0KICAgICAgICAgICAgICAg ICBKY2FrbGl1DQoNCqGhoaGhoaGhoaGhoaGhoaFscWlhbmdAc2N1dC5lZHUuY24NCqGhoaGhoaGh oaGhoaGhoaGhoaGhMjAwNi0wNi0xNA0K
--===============1619836598== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
--===============1619836598== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
--===============1619836598==--
Please do not send base 64 encoded messages.
Please do not send HTML messages.
Please send plain text only.
Message unreadable, ignored. Sorry.
participants (2)
-
Wolfgang Denk
-
柳强