So the issues of the variables changing were due to me initializing
everything in board_early_init_f(). I moved everything out of it except uart
setup. If I setup the uart in board_init() instead of board_early_init_f()
then the early cpu info stuff is missed. I guess there’s an opportunity for
imp
So I am having another issue probably more related to computer science
fundamentals.
I have a global variable boot_dev defined in my board file like so...
I define boot_device in arch/arm/include/asm/arch-mx5/sys_proto.h like this…
Now, boot_dev returns the correct value in checkboard(), but r
Update: my board_late_init() function wasn’t working because I defined
BOARD_LATE_INIT instead of CONFIG_BOARD_LATE_INIT. Doh!
Since arch/arm/lib/board.c file is being removed, and when
CONFIG_SYS_GENERIC_BOARD is defined, we are now using…
common/board_f.c (for pre-relocation init)
common/board_r
Hi gents,
On 11/10/2014 06:04 PM, Fabio Estevam wrote:
On Mon, Nov 10, 2014 at 1:47 PM, Wolfgang Denk wrote:
Dear Fabio Estevam,
In message
you wrote:
1. How come setenv is not working in the board file? I tried setenv in
different locations of board_early_init_f(), board_init(), board_l
On Mon, Nov 10, 2014 at 1:47 PM, Wolfgang Denk wrote:
> Dear Fabio Estevam,
>
> In message
> you
> wrote:
>>
>> > 1. How come setenv is not working in the board file? I tried setenv in
>> > different locations of board_early_init_f(), board_init(),
>> > board_late_init()
>> > and checkboard(),
Dear Fabio Estevam,
In message
you wrote:
>
> > 1. How come setenv is not working in the board file? I tried setenv in
> > different locations of board_early_init_f(), board_init(), board_late_init()
> > and checkboard(), but it's not working. Did something change?
>
> Haven't tried it, but if
On Mon, Nov 10, 2014 at 1:14 PM, DaveKucharczyk
wrote:
> Hi again. I just have a few things left to complete the port and hoping
> someone can help me out.
>
> 1. How come setenv is not working in the board file? I tried setenv in
> different locations of board_early_init_f(), board_init(), board_
Hi again. I just have a few things left to complete the port and hoping
someone can help me out.
1. How come setenv is not working in the board file? I tried setenv in
different locations of board_early_init_f(), board_init(), board_late_init()
and checkboard(), but it's not working. Did something
8 matches
Mail list logo