Re: [U-Boot-Users] Command table relocation

2008-05-25 Thread Luigi 'Comio' Mantellini
Hi Nanda, the command table is (essentially) a vector of pointers to functions (the commands). These pointers are calculated using the TEXTBASE pointer that usually is located into the flash. When relocate the u-boot code, we need to update the commands table with the relocated pointer for e each

[U-Boot-Users] Command table relocation

2008-05-25 Thread Chetan Nanda
Hi All, In u-boot code (in board.c file) there is a comment which goes like this: /* * We have to relocate the command table manually */ Why we need to relocate the code for command table separately? Does command table code not linked with rest of the code? And where is t