17 Commits
Author SHA1 Message Date
James Sullins 14a5493be1 add mkimage to build system 2011-09-24 22:22:19 -05:00
Shashank Mittal cd98d4709d openssl/lk: Enable signed boot img check
This uses openssl to check the boot image prior
to jumping to kernel to see if it is a signed
kernel image.

Change-Id: I92927fd9317a0f701dab395cc6d39929c64340c1
2011-08-22 14:00:27 -06:00
Travis Geiselbrecht 78d0e6caf6 [make] make the spotless target not depend on anything 2011-07-28 12:12:44 -07:00
Subbaraman Narayanamurthy 8bcd5fdbfc [msm8655]: Add feature flag to build Trustzone with LK
Add ENABLE_TRUSTZONE compile time flag to allow Trustzone
initializations with LK. The linker scripts move LK up in
memory, making room for TZ sysini to be placed at reset
vector and take control of Scorpion from power up itself.

This is a partial solution to enable TZ as part of LK.The
TZ/code/image itself is currently not part of LK tree and
is managed separately.As a result, this feature will be
turned off by default.

Change-Id: I1b4e4b380c415428fe22f34563a97440082befee
2011-01-25 12:10:55 -08:00
Christopher Johnson 36cd703c46 Disable stack protection code emission
When building natively within a QEMU environment, stack protection
code is emitted by default. However, because the bootloader's libc
implementation doesn't support this, it needs to be disabled.

Change-Id: I2f612ecdd773b8c4455813b3e5acba5ca713ebe6
2010-11-09 14:46:30 -07:00
Chandan Uddaraju 40b227df7c [target]: Add code to use splash image as a character array
Represent the splash image in the form of a character array.
Use this array instead of reading the splash image from nand device.
Reduce the debug messages that are displayed on the screen.

The time taken by the bootloader is reduced by ~325ms with this change on
a MDDI display device.

Below are the steps/commands to convert the splash image into a character array:
1. $convert -depth 8 <splash image in PNG format> rgb:splash.raw
2. $host/linux-x86/bin/rgb2565 < ./splash.raw > final.img
3. $hexdump -C -v final.img | tr -s " " | cut -d ' ' -f2-17 | awk 'BEGIN {print "{"}
                {OFS=""; ORS=""; print "\t"; for(i=1; i <= NF; i++) print "0x"$i", "; print "\n";}
                END {print "}\n"}' > array.txt

Change-Id: If3d1752939cba7e843c1b8a350c40bb0d92b27c4
2010-08-08 20:14:13 -07:00
Subbaraman Narayanamurthy eb92bccce2 [app/aboot]: Add recovery and update support in froyo.
- Read radio.img from Cache partition and write it to FOTA partition.
- Changed partition size for Cache and added misc partition for recovery.
- Changed product name for fastboot update.

Change-Id: I831b2bb757865a0a4108cab66950691d5db9b8b2
2010-07-28 11:48:58 -07:00
David Ng 025c1d9880 lk: Add generic trigger support for eMMC boot
For targets that support eMMC bootup, defining
TARGET_USERIMAGES_USE_EXT2 will cause an eMMC apps
bootloader to be generated along with the NAND flash
apps bootloader.
2009-12-09 23:46:00 -08:00
Chandan Uddaraju 885e4db2cd [target]: Add code to get LINUX_MACHTYPE by calling a function for all targets
Add code to read the hardware platform and return the corresponding
LINUX_MACHTYPE for msm7630_surf target.
2009-12-04 21:24:39 -08:00
Chandan Uddaraju a9b07bbae1 [lk/makefile]: Add code to generate appsboot.mbn file for 7627_surf, 7630_surf and 8250_surf targets
Add code to generate appsboot.mbn for 3 targets. Add make file to support
integration of lk to eclair tree.
2009-11-21 12:22:02 -08:00
Brian Swetland f1e5afdb3c [lk] allow "make projectname" 2009-01-24 22:09:30 -08:00
Travis Geiselbrecht 577036f27f get rid of project as a container of code, flatten it one level 2009-01-24 21:45:36 -08:00
Travis Geiselbrecht 6837223d02 [app] add the app module init system 2009-01-24 21:21:08 -08:00
Travis Geiselbrecht 5bcbd9d68e move the stray .mk files from the root dir into a make/ subdir 2009-01-24 20:15:32 -08:00
Travis Geiselbrecht eb9460542e [IO] rework dprintf to take a debug level, defined in DEBUGLEVEL
printf at the moment just calls dprintf, but soon will become
a seperate I/O queue.
2008-09-13 15:21:57 -07:00
Travis Geiselbrecht f54ab82112 flatten the make system a little bit by providing only modules as a
compilation unit.

to add a module as a dependency of another, just add to the MODULE make
variable, instead of APPS/LIBS/DEVS
2008-09-05 04:18:30 -07:00
Travis Geiselbrecht 1d0df69964 initial commit of lk (little kernel) project 2008-09-01 02:26:09 -07:00