| 073e1b50 | 14-Aug-2007 |
Andy Fleming <afleming@freescale.com> |
Fix initrd/dtb interaction
The original code would wrongly relocate the blob to be right before the initrd if it existed. The blob *must* be within CFG_BOOTMAPSZ, if it is defined. So we make two
Fix initrd/dtb interaction
The original code would wrongly relocate the blob to be right before the initrd if it existed. The blob *must* be within CFG_BOOTMAPSZ, if it is defined. So we make two changes:
1) flag the blob for relocation whenever its address is above BOOTMAPSZ
2) If the blob is being relocated, relocate it before kbd, not initrd
Signed-off-by: Andy Fleming <afleming@freescale.com>
show more ...
|
| 91148bf7 | 17-Jul-2007 |
Kim Phillips <kim.phillips@freescale.com> |
fdt: do board setup based on fdt address specified on bootm line
The last fdt patch to bootm did board setup based on the address specified by a prior fdt address command invocation. The bootm code
fdt: do board setup based on fdt address specified on bootm line
The last fdt patch to bootm did board setup based on the address specified by a prior fdt address command invocation. The bootm code, as its call to fdt_chosen does, should use the fdt specified by the user on the bootm command. Note this restores full functionality for the 8360's existing default boot environment values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr' before booting a kernel).
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
show more ...
|
| e125a2ff | 11-Jul-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Call ft_board_setup() from the bootm command.
In the patch titled "Create new fdt boardsetup command..." I removed the call to ft_board_setup() from the routine fdt_chosen(), but I forgot to add a d
Call ft_board_setup() from the bootm command.
In the patch titled "Create new fdt boardsetup command..." I removed the call to ft_board_setup() from the routine fdt_chosen(), but I forgot to add a direct call back into cmd_bootm.c
This fixes the oversight by adding the direct call to the bootm command.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| fd61e55d | 26-Jun-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Create new fdt boardsetup command, fix bug parsing [] form of set values.
Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setu
Create new fdt boardsetup command, fix bug parsing [] form of set values.
Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setup() out by creating a new fdt boardsetup command.
Fix a bug when parsing fdt set command values which have the square bracket form [00 11 22 33] - the length was updated incorrectly in when parsing that form.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| 35ec398f | 26-May-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Fix fdt_chosen() to call ft_board_setup(), clean up long lines.
The fdt_chosen() function was adding/seting some properties ad-hoc improperly and duplicated (poorly) what was done in ft_board_setu
Fix fdt_chosen() to call ft_board_setup(), clean up long lines.
The fdt_chosen() function was adding/seting some properties ad-hoc improperly and duplicated (poorly) what was done in ft_board_setup()
Clean up long lines (setting properties, printing errors).
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| 06e19a07 | 22-May-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
For fdt_find_node_by_path(), handle the root path properly.
Also removes the special case root path detection in cmd_fdt.c since it is no longer necessary.
Signed-off-by: Gerald Van Baren <vanbaren
For fdt_find_node_by_path(), handle the root path properly.
Also removes the special case root path detection in cmd_fdt.c since it is no longer necessary.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| 1a861169 | 07-Jun-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Replace fdt_node_offset() with fdt_find_node_by_path().
The new name matches more closely the kernel's name, which is also a much better description.
Signed-off-by: Wolfgang Grandegger <wg@grandegg
Replace fdt_node_offset() with fdt_find_node_by_path().
The new name matches more closely the kernel's name, which is also a much better description.
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| addd8ce8 | 17-May-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Fix cmd_fdt line lengths, refactor code.
Break lines that were greater than 80 characters in length. Move the fdt print and property parsing code to separate static functions to reduce coding clut
Fix cmd_fdt line lengths, refactor code.
Break lines that were greater than 80 characters in length. Move the fdt print and property parsing code to separate static functions to reduce coding clutter in the fdt_cmd handling body.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| 38eb508e | 12-May-2007 |
Gerald Van Baren <vanbaren@cideas.com> |
Reorganize and fix problems (returns) in the bootm command.
Do *NOT* return after the "point of no return" has been passed. If something goes wrong, the board must be reset after that point. Move
Reorganize and fix problems (returns) in the bootm command.
Do *NOT* return after the "point of no return" has been passed. If something goes wrong, the board must be reset after that point. Move the "Transferring control to Linux" debug message back to where it belongs: just before transferring control to linux.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|