Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-20 Thread Wolfgang Denk
Dear Paul Gortmaker, In message CAP=VYLqd4kn7iQwwjDN3PMh3osBY4SsP+XXkzx2FBW=-xfy...@mail.gmail.com you wrote: ... or you can just snap in a JTAG debugger, connect GDB and throw some break/watch points here and there ;-) And how exactly is a JTAG going to help him resolve compile time

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-20 Thread Wolfgang Denk
Dear Michael Kebe, In message CAKKM46u=4UrB9+9Sn3HDMvdOdtHvO9p6HWdzTY2WpNExXrD_=a...@mail.gmail.com you wrote: Is the U-Boot code the address CONFIG_SYS_UBOOT_BASE should be set to? If so, then both addresses are the same, is that ok? Thanks for the discussion about how to port a new

[U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Michael Kebe
Hi, I am trying to port support for a board from Oxford Semiconductor to the current head of the git repository. Medion released GPL Sources of their P89626 NAS [1]. In these sources there are using an old version 1.1.2 of U-Boot with some modification a board from Oxford Semiconductor. The

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Wolfgang Denk
Dear Michael Kebe, In message cakkm46savtnor5qxgcnbjkz76aesy-lurh--in4capj_sbb...@mail.gmail.com you wrote: When I am trying to build, I get this error from the linker (I also tried the toolchain which is included in the download from Medion): ...

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Michael Kebe
On Mon, Dec 19, 2011 at 18:58, Wolfgang Denk w...@denx.de wrote: Try a known to be working (with current code) tool chain? Dear Wolfgang, I can built other boards with the same toolchain. I think I know what I did wrong: #define CONFIG_SYS_UBOOT_BASE -1 #define CONFIG_SYS_TEXT_BASE -1 To

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Wolfgang Denk
Dear Michael Kebe, In message cakkm46tnid46gwnl_d+xux-ga+wt-zg1pgt2-_0wjdklnil...@mail.gmail.com you wrote: CONFIG_SYS_TEXT_BASE is still missing. There is no documentation on this. Any hints? Check the old sources for a board specific config.mk file ... Best regards, Wolfgang Denk --

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Michael Kebe
On Mon, Dec 19, 2011 at 21:01, Wolfgang Denk w...@denx.de wrote: Check the old sources for a board specific config.mk file ... There is this in the old include/configs/ox820.h: #define STATIC_CS0_BASE_PA 0x4100 #define CFG_NAND_BASE STATIC_CS0_BASE_PA Do you think that's the correct

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Wolfgang Denk
Dear Michael Kebe, In message cakkm46sctp7xqggo3f4hpd_sfgo1eoeirpyytbb4394xvfz...@mail.gmail.com you wrote: On Mon, Dec 19, 2011 at 21:01, Wolfgang Denk w...@denx.de wrote: Check the old sources for a board specific config.mk file ... There is this in the old include/configs/ox820.h:

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Michael Kebe
On Mon, Dec 19, 2011 at 23:13, Wolfgang Denk w...@denx.de wrote: No.  As I mentioned, look for a config.mk file in the board directory, i. e. probably board/ox820/config.mk or similar. This should contain the definition of TEXT_BASE. Thanks, for the hint! There is TEXT_BASE = 0x60d0. Here

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Paul Gortmaker
On Mon, Dec 19, 2011 at 5:26 PM, Michael Kebe michael.k...@gmail.com wrote: Here is the output from a bootup of the old U-Boot: [...] U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) [...] However even if I try to build with these addresses, the linking crashes with even more assertion fails:

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Marek Vasut
On Mon, Dec 19, 2011 at 5:26 PM, Michael Kebe michael.k...@gmail.com wrote: Here is the output from a bootup of the old U-Boot: [...] U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) [...] However even if I try to build with these addresses, the linking crashes with even more assertion

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Paul Gortmaker
On Mon, Dec 19, 2011 at 10:14 PM, Marek Vasut marek.va...@gmail.com wrote: On Mon, Dec 19, 2011 at 5:26 PM, Michael Kebe michael.k...@gmail.com wrote: Here is the output from a bootup of the old U-Boot: [...] It isn't an answer to your specific problem, but it is a process that will get you

Re: [U-Boot] New Oxford Semiconductor board with assertion fail in linker

2011-12-19 Thread Wolfgang Denk
Dear Paul Gortmaker, In message CAP=vylr60cfq0dbg_x0djget_3d9lacetucapu0yk3dgaxn...@mail.gmail.com you wrote: U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) ... Everyone always feels that they need to do a big uprev in one giant step. That is not an insult in any way -- I've also done the same