Re: [PATCH 09/20] arm: add application support

Alexander Shiyan shc_work at mail.ru
Wed Mar 6 04:59:40 EST 2013


> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  arch/arm/Kconfig                       |    1 +
>  arch/arm/Makefile                      |    6 +-
>  arch/arm/apps/Kconfig                  |   11 ++++
>  arch/arm/apps/Makefile                 |    6 ++
>  arch/arm/apps/apps.lds.S               |   64 ++++++++++++++++++
>  arch/arm/apps/binfmt.c                 |  111 ++++++++++++++++++++++++++++++++
>  arch/arm/apps/head.S                   |   59 +++++++++++++++++
>  arch/arm/apps/include/arch/asm/macro.h |   46 +++++++++++++
>  arch/arm/apps/include/arch/setjmp.h    |   26 ++++++++
>  arch/arm/apps/raise.c                  |   27 ++++++++
>  arch/arm/apps/setjmp.S                 |   60 +++++++++++++++++
>  arch/arm/apps/start.c                  |   35 ++++++++++
>  12 files changed, 451 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/apps/Kconfig
>  create mode 100644 arch/arm/apps/Makefile
>  create mode 100644 arch/arm/apps/apps.lds.S
>  create mode 100644 arch/arm/apps/binfmt.c
>  create mode 100644 arch/arm/apps/head.S
>  create mode 100644 arch/arm/apps/include/arch/asm/macro.h
>  create mode 100644 arch/arm/apps/include/arch/setjmp.h
>  create mode 100644 arch/arm/apps/raise.c
>  create mode 100644 arch/arm/apps/setjmp.S
>  create mode 100644 arch/arm/apps/start.c
...

Is this feature really needed? If we Include it, is dramatically increases size of BB.
We have a scripting, maybe just inclusion a small "C" interpreter is enough?
Such as "picoc" (http://code.google.com/p/picoc/), for example.

---


More information about the barebox mailing list