21 Nov, 2014

1 commit

  • This function can fail if the device tree runs out of space. Rather than
    silently booting with an incomplete device tree, allow the failure to be
    detected.

    Unfortunately this involves changing a lot of places in the code. I have
    not changed behvaiour to return an error where one is not currently
    returned, to avoid unexpected breakage.

    Eventually it would be nice to allow boards to register functions to be
    called to update the device tree. This would avoid all the many functions
    to do this. However it's not clear yet if this should be done using driver
    model or with a linker list. This work is left for later.

    Signed-off-by: Simon Glass
    Acked-by: Anatolij Gustschin

    Simon Glass
     

14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

18 Apr, 2014

1 commit


01 Nov, 2013

1 commit


13 Aug, 2013

1 commit

  • This patch changes some features of the a3m071/a4m2k board support:

    - Add bootcounter support
    - Update MTD env default to correct values
    - Add mtdparts to bootargs for mtd partitioning via kernel cmdline
    - Added some default env variables for easy updating (kernel, dtb)
    - Change README to the updated flash locations

    Signed-off-by: Stefan Roese

    Stefan Roese
     

24 Jul, 2013

1 commit


03 May, 2013

1 commit

  • The changes to a3m071/a4m2k in summary are:
    - Enable CAN1 on I2C in GPS Port Configuration
    - Enable SPI on PSC2
    - Activate network console
    - New flash partitioning
    - Fix some typos
    - Pass host name to Linux
    - Change rootfs to squashfs,jffs2
    - Enable UBI/UBIFS support
    - Enable FIT support

    Signed-off-by: Stefan Roese

    Stefan Roese
     

09 Mar, 2013

2 commits

  • This patch adds a custom U-Boot command "wdogtoggle" which enables the
    external hardware watchdog toggling via an GPIO pin on the a4m2k
    board. After issuing this commands, the watchdog will be serviced
    by U-Boot so that the user can use all U-Boot commands from the
    prompt.

    Signed-off-by: Stefan Roese

    Stefan Roese
     
  • This patch adds the a4m2k MPC5200B board port. Its a derivate of
    the a3m071 board with only minor changes.

    Additionally this patch includes some clean-up changes:
    - Remove I2C support from a3m071 as its unused
    - Fix/enhance default env variables
    - Fix some comments
    - Add newly introduced CONFIG_SPL_TARGET to automatically build
    "u-boot-img.bin"
    - Fix dtb patching in READ desciption for SPL Linux booting:
    "fdt chosen" needs to get called to patch/create the chosen node.
    - Add missing call to spl_board_init():
    Define CONFIG_SPL_BOARD_INIT so that spl_board_init() will get
    called in the SPL version.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

06 Dec, 2012

1 commit