public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Sandbox question
@ 2011-12-01 16:35 Andreas Bießmann
  2011-12-01 18:13 ` Simon Glass
  2011-12-01 19:21 ` Mike Frysinger
  0 siblings, 2 replies; 25+ messages in thread
From: Andreas Bießmann @ 2011-12-01 16:35 UTC (permalink / raw)
  To: u-boot

Dear Simon,

I started to play around with new sandbox architecture and encountered a
serious problem.
Due to the '-nostdinc' switch the file arch/sandbox/cpu/os.c requires
additional CPPFLAGS '-I/usr/include'. On my debian box this is not
enough since the bits/*.h are placed in /usr/include/i386-linux-gnu and
therefore I get errors when compiling arch/sandbox/os.c.
Are there any clean solution to get this working?

best regards

Andreas Bie?mann

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [U-Boot] Sandbox question
@ 2012-04-23  6:41 Wolfgang Denk
  2012-04-23 15:41 ` Mike Frysinger
  0 siblings, 1 reply; 25+ messages in thread
From: Wolfgang Denk @ 2012-04-23  6:41 UTC (permalink / raw)
  To: u-boot


Hello,

I have a few sandbox related questions (examples run on v2012.04)

1) Memory map - What is it supposed to look like?

   I get "DRAM:  128 MiB", and

	=>bdi
	boot_params = 0x00000000
	DRAM bank   = 0x00000000
	-> start    = 0x00000000
	-> size     = 0x08000000
	FB base     = 0x00000000

   Yet I get:

   	=>md 0x100
	00000100:Segmentation fault

2) Sandbox does no handle EOF on stadin; this makes it impossible to
   use it in test scripts.  For example, something like this should
   work:

   	$ echo printenv | ./u-boot

   [As woraround I have to use ``echo 'printenv;reset' | ./u-boot'';
   this works, but is not really intuitive nore useful.]

3) For automatic test suites it would make a lot of sense if the
   return code of U-Boot was the return code of the last executed
   command (expecially when termination of U-Boot is the result of
   encountering EOF on stdin).


What do you think?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is is no reason for any individual to have a computer in  their
home.      -- Ken Olsen (President of Digital Equipment Corporation),
              Convention of the World Future Society, in Boston, 1977

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [U-Boot] [PATCH 0/8] Secure boot improvements and test on Beaglebone Black
@ 2013-12-06 23:36 Simon Glass
  2013-12-30  7:40 ` [U-Boot] sandbox question TigerLiu at viatech.com.cn
  0 siblings, 1 reply; 25+ messages in thread
From: Simon Glass @ 2013-12-06 23:36 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 2 October 2013 08:44, Simon Glass <sjg@chromium.org> wrote:
> This series adds a few improvements to the image signing feature to
> make it easier to use on the Beaglebone Black.
>
> - Add a DEV_TREE_BIN option to make it easier to include the correct FDT
> (with embedded public keys) into the U-Boot image
> - Enable cache for more TI boards (to speed things up)
> - Increase malloc size
> - Enable CONFIG_OF_CONTROL, FIT and secure boot on am33xx/omap
>     (RFC only, not sure we want this, although we could create a separate
>      config for it)
>
> I also have a change to adjust mkimage to automatically make space in the
> FDT when adding hashes and signatures. Included here is the ENOSPC patch,
> but the fit_image.c patch will wait until the dumpimage tool is merged,
> since I am changing the same code.
>
> With this, secure boot was tested successfully on Beaglebone Black.

Do you think any of these patches should be applied?

Regards,
Simon

>
>
> Simon Glass (8):
>   am33xx/omap: Allow cache enable for all Sitara/OMAP
>   hash: Export functions to find and show hash
>   fdt: Add DEV_TREE_BIN option to specify a device tree binary file
>   fdt: Update functions which write to an FDT to return -ENOSPC
>   arm: ti: Increase malloc size to 16MB for armv7 boards
>   RFC: am33xx/omap: Enable CONFIG_OF_CONTROL
>   RFC: am33xx/omap: Enable FIT support
>   RFC: am33xx/omap: Enable secure boot with CONFIG_FIT_SIGNATURE
>
>  Makefile                                       |   8 +-
>  arch/arm/cpu/armv7/omap-common/Makefile        |   4 +
>  arch/arm/cpu/armv7/omap-common/hwinit-common.c |  41 --
>  arch/arm/cpu/armv7/omap-common/omap-cache.c    |  56 +++
>  arch/arm/cpu/armv7/omap3/board.c               |   8 -
>  arch/arm/dts/am33xx.dtsi                       | 649 +++++++++++++++++++++++++
>  arch/arm/dts/dt-bindings/gpio/gpio.h           |  15 +
>  arch/arm/dts/dt-bindings/pinctrl/am33xx.h      |  41 ++
>  arch/arm/dts/dt-bindings/pinctrl/omap.h        |  54 ++
>  board/siemens/common/board.c                   |   9 -
>  board/ti/dts/am335x-bone-common.dtsi           | 262 ++++++++++
>  board/ti/dts/am335x-boneblack.dts              |  17 +
>  board/ti/dts/tps65217.dtsi                     |  56 +++
>  common/hash.c                                  |  13 +-
>  common/image-fit.c                             |   4 +-
>  doc/README.fdt-control                         |  16 +-
>  include/configs/am335x_evm.h                   |   9 +
>  include/configs/ti_armv7_common.h              |   2 +-
>  include/hash.h                                 |  22 +
>  include/rsa.h                                  |   3 +-
>  lib/rsa/rsa-sign.c                             |  28 +-
>  21 files changed, 1236 insertions(+), 81 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/omap-common/omap-cache.c
>  create mode 100644 arch/arm/dts/am33xx.dtsi
>  create mode 100644 arch/arm/dts/dt-bindings/gpio/gpio.h
>  create mode 100644 arch/arm/dts/dt-bindings/pinctrl/am33xx.h
>  create mode 100644 arch/arm/dts/dt-bindings/pinctrl/omap.h
>  create mode 100644 board/ti/dts/am335x-bone-common.dtsi
>  create mode 100644 board/ti/dts/am335x-boneblack.dts
>  create mode 100644 board/ti/dts/tps65217.dtsi
>
> --
> 1.8.4
>

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-01-08 10:30 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 16:35 [U-Boot] Sandbox question Andreas Bießmann
2011-12-01 18:13 ` Simon Glass
2011-12-01 19:21 ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2012-04-23  6:41 Wolfgang Denk
2012-04-23 15:41 ` Mike Frysinger
2012-04-23 17:32   ` Matthias Weisser
2012-04-23 17:39     ` Wolfgang Denk
2012-04-23 17:49       ` Matthias Weisser
2012-04-23 18:30         ` Wolfgang Denk
2012-04-24  9:25           ` Matthias Weißer
2012-04-23 17:58   ` Simon Glass
2012-04-23 18:39     ` Wolfgang Denk
2012-04-23 18:54       ` Mike Frysinger
2012-04-23 19:03       ` Mike Frysinger
2012-04-23 19:33         ` Wolfgang Denk
2012-04-23 20:57           ` Mike Frysinger
2012-04-23 21:16             ` Mike Frysinger
2012-04-23 21:17             ` Wolfgang Denk
2012-04-23 21:32               ` Mike Frysinger
2013-12-06 23:36 [U-Boot] [PATCH 0/8] Secure boot improvements and test on Beaglebone Black Simon Glass
2013-12-30  7:40 ` [U-Boot] sandbox question TigerLiu at viatech.com.cn
2013-12-31  0:42   ` TigerLiu at viatech.com.cn
2014-01-07 23:58     ` Simon Glass
2014-01-08  0:52       ` TigerLiu at viatech.com.cn
2014-01-08  3:46         ` Abraham Varricatt
2014-01-08 10:30           ` TigerLiu at viatech.com.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox