Simon Glass
fcabc24f4f
fdt: Set kernaddr if fdt indicates a kernel is present
...
If kernel-offset is specified in the fdt, set an environment variable
so that scripts can access the attached kernel.
This can be used by a packaging program to tell U-Boot about a kernel
that has been downloaded alongside U-Boot. The value in the fdt is
the offset of the kernel from the start of the U-Boot image, so we can
find it just by adding CONFIG_SYS_TEXT_BASE.
It is then fairly easy to put something like this in the environment
variables in the board header file:
"if test ${kernaddr} != \"\"; then "\
"echo \"Using bundled kernel\"; "\
"bootm ${kernaddr};" \
"fi; "\
/* rest of boot sequence follows here */
Signed-off-by: Simon Glass <sjg@chromium.org>
2012-11-12 23:14:57 -05:00
..
2012-10-29 09:07:05 -07:00
2012-10-03 00:52:40 +02:00
2012-10-22 02:53:35 -05:00
2012-10-19 15:25:46 -07:00
2012-03-06 21:09:46 +01:00
2012-05-25 09:15:09 +02:00
2012-11-04 11:00:35 -07:00
2012-11-12 23:14:57 -05:00
2012-10-03 00:52:44 +02:00
2012-10-03 16:01:22 -07:00
2012-10-22 08:29:55 -07:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-10-15 11:53:07 -07:00
2012-09-25 14:58:48 -07:00
2011-10-22 01:22:21 +02:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-10-15 11:53:46 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:34 -07:00
2012-11-04 11:00:34 -07:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:34 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-02 15:20:43 -07:00
2012-10-05 11:07:42 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-30 22:32:50 +02:00
2012-10-03 16:01:22 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-04-30 16:54:51 +02:00
2012-03-06 21:09:46 +01:00
2012-09-25 15:05:47 -07:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-09-27 12:22:11 -05:00
2012-11-04 11:00:35 -07:00
2012-09-25 14:58:48 -07:00
2012-11-04 11:00:35 -07:00
2012-11-02 15:20:42 -07:00
2012-11-04 11:00:35 -07:00
2012-04-03 04:34:13 +00:00
2012-10-03 16:01:22 -07:00
2012-11-04 11:00:35 -07:00
2012-08-09 20:41:32 -04:00
2012-03-27 22:05:28 +02:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2011-12-06 21:30:03 +01:00
2011-11-16 21:42:17 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2011-11-16 21:04:55 +01:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-08-09 23:39:18 +02:00
2012-11-02 15:20:39 -07:00
2012-09-29 07:26:09 -07:00
2012-11-08 13:18:10 +01:00
2012-03-23 21:27:32 +01:00
2012-11-04 11:00:35 -07:00
2012-10-19 15:25:43 -07:00
2011-11-22 08:39:26 +01:00
2011-11-22 08:39:26 +01:00
2012-10-19 15:25:43 -07:00
2012-09-26 11:08:32 -07:00
2012-01-05 16:34:10 +01:00
2012-09-07 13:54:31 -07:00
2012-09-18 12:01:51 -07:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-08-06 10:38:47 +02:00
2012-09-26 11:08:32 -07:00
2012-01-05 16:34:10 +01:00
2011-12-07 08:41:22 +01:00
2012-10-15 11:53:59 -07:00
2012-09-03 11:24:27 +02:00
2012-11-04 11:00:35 -07:00
2012-11-12 23:14:57 -05:00
2012-10-29 09:07:06 -07:00
2012-09-24 23:57:23 +02:00
2011-10-22 01:13:35 +02:00
2012-11-12 23:14:57 -05:00
2012-10-29 14:21:20 -07:00
2012-09-21 08:14:05 -07:00
2012-06-21 22:34:00 +02:00
2011-12-07 08:35:14 +01:00
2011-11-22 08:39:25 +01:00
2012-10-15 11:53:59 -07:00
2012-11-04 11:00:36 -07:00
2012-10-15 11:54:00 -07:00
2012-03-03 16:56:29 +01:00
2012-11-04 11:00:35 -07:00
2012-10-22 08:25:07 +02:00
2012-11-04 11:00:35 -07:00