Age | Commit message (Collapse) | Author |
|
Bug: 74763691
Test: N/A
Merged-In: Icdbf98ce86506b7d18e146b415a541c4b3b511ad
Change-Id: Icdbf98ce86506b7d18e146b415a541c4b3b511ad
(cherry picked from commit 689a2233923a705a48274172b394302469c45409)
|
|
am: 8718409ff3
Change-Id: I95d17701d96c8e2275abe70096bc1fdfcbba3ba8
|
|
am: 1f99d1a3fc
Change-Id: I88a360ea9c3f9e2f0ff18499c68b67d0781c039a
|
|
am: 7593d47179
Change-Id: I24ce1b438caaed9b8f18d0593e7902d2be7c9f33
|
|
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I222823b9b258b0a1edc96c86eb54d941cb80487a
|
|
am: 1d294cefde
* commit '1d294cefde931ee0b0c0f012d04414b57c7b25cd':
Don't rebuild the boot image every time
|
|
Fugu uses this for 2ndbootloader.bin, which is included in the boot and
recovery images. Since the size check destination never existed, it was
marked dirty and was re-run on every build. Change the size check to use
an empty file so that it's only run when the built image updates.
Change-Id: I0b1cef1ef0a825b1a1f89b0e90dda8706fbf7bf6
|
|
am: 89cb8c3d0e
* commit '89cb8c3d0e97507cacaac429f3c3163a37561dcf':
Fix trivial syntax error to compile with clang.
|
|
BUG: 24137539
Change-Id: I5156b10201126b222430d8c90d6f2191915ccac8
|
|
BUG: 24137539
Change-Id: Ie1fa58c5c7cef5683d5f19fc88292eec12d6a654
|
|
merrifield [DO NOT MERGE]
* commit '94d92d94866d3dc1c1ba5c9dff651ceb419f65cd':
bootstub: only build for moorefield, merrifield [DO NOT MERGE]
|
|
* commit '479e42ba0bd6c057285d3b08065e2e01d0d2c1f9':
bootstub: only build for moorefield, merrifield [DO NOT MERGE]
|
|
Change-Id: I469f48f8b89e8b05587a6fdd944dee0327083bb7
(cherry picked from commit 2c7051d879b0a9c03d4178f642be7c3e5778b703)
|
|
* commit '423ecd8ac0a29f45690b3f4d777e8d32871bff74':
bootstub: only build for moorefield, merrifield
|
|
(cherry picked from commit 2c7051d879b0a9c03d4178f642be7c3e5778b703)
Change-Id: I7653b491f165d26ec89081033568d834e721e9c3
|
|
Change-Id: I469f48f8b89e8b05587a6fdd944dee0327083bb7
|
|
Bug: 19708986
This patch aims to remove the huge code duplications in Android.mk and
also add a new kind of bootstub target: ramdump, which is used to boot a
post-crash OS with different memory constraints.
Change-Id: I962b48290994b75a44eb2e47487e1c1a8293f4df
Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
|
|
Revert "Add Bootloader version at the end of bootstub"
Bug: 17468185
Change-Id: Ie51290e97a2611760161b5531bf602889bbe535d
Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
|
|
Use hex base to compute minor incrementation
Bug: 17381829
Change-Id: I0c0d6c5c526a950e78db8d4df9ac140eb5342dc5
Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
|
|
Bug: 17034982
Change-Id: Iec8e0a08842b0fcc5dcdf461ade13cc236d1f6e9
Signed-off-by: Sylvain Chouleur <sylvain.chouleur@intel.com>
|
|
This patch cfixes some compilation warning and clean the Android.mk a
little bit.
Bug: 16928801
Change-Id: Icc277c0871cce83e183a109cfe24daf6e5ad8fab
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
|
|
Bug: 16928801
BZ: 216961
This reverts commit 23dfe463711d038d9fe42642e36a2ffb3c20de3b.
Change-Id: Idfb57f902d28edd816e17a33323fea946745df0a
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
|
|
bootstub compilation is failing in L. As a workaround, use a
prebuilt 2ndbootloader binary till the proper fix is put
Bug: 16928801
Change-Id: If2950a0c1c6c5a0a26587bfa20c61518a10782eb
Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com>
Signed-off-by: Patrick Tjin <pattjin@google.com>
|
|
Change-Id: I2bb9d42a7753ba363eaf7113406a4e489beb8549
|
|
The code searches for the AOSP header at a specified location.
If found, it performs all the required memcpy by using the
addresses and size provided in the AOSP header instead of those
hardcoded into bootstub.h.
Otherwise, it processes as usual for an OSII image.
Change the bootstub output to $(PRODUCT_OUT)/2ndbootloader
Change-Id: I25da96f99b2a01f457d3f8b8393080f9ec562c94
Signed-off-by: Florent Auger <florent.auger@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Jocelyn Falempe <jocelyn.falempe@intel.com>
Reviewed-on: https://android.intel.com/215921
Reviewed-by: Betous, GuillaumeX <guillaumex.betous@intel.com>
|
|
BZ: 163012
Patch handles issue from klocwork build 87 using daily
20140106_2803
Issue number 87939: pointer bp checked for NULL at line
97 may be dereferenced at line 131.
Change-Id: I01d53bfe28948167f7cc68f558cfb0c5639c7100
Signed-off-by: Michel Jauffres <michelx.jauffres@intel.com>
|
|
BZ: 136642
Change-Id: Ic87ef04c0c66bdc4df26e24f3086eed9ff77818e
Signed-off-by: Evgeny Kalugin <evgeny.kalugin@intel.com>
|
|
BZ: 136642
Deeply modified port from Xen branch
Change-Id: Icde718b22f8519ab33cc0dfb78a057bacfc9dda0
Orig-Change-Id: I0b56738d9532c268582b6a7a3d3fb1974cf28324
Signed-off-by: Evgeny Kalugin <evgeny.kalugin@intel.com>
|
|
BZ: 98212
Build the bootstub from the available sources and place the result in
out/target/product/*/bootstub for use by the mkbootimg.
Optimize code generation for size to fit into the 4096 bytes and check
for actual size to avoid silently truncating the code.
Change-Id: I1b93b08a55ebcc1dc6e4ddfcbc2939c1a52b581c
Signed-off-by: Olivier Fourdan <olivier.fourdan@intel.com>
Reviewed-on: http://android.intel.com:8080/100248
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: Tinelli, Vincent <vincent.tinelli@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
|
|
BZ: 114933
Change-Id: Iae45d10c9705526e6cd559b678ba0686657ef0f9
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-on: http://android.intel.com:8080/112533
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: Tinelli, Vincent <vincent.tinelli@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
|
|
BZ: 114933
Needs to search for MMAP via SYST table
Added SFI table verification
Optimized table search:
* Search for SYST on 16-byte boundary
* Table signature match via magic number rather than strcmp
Change-Id: Ic1e32eb7622ac1839ceb22e1315df50709df485a
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Reviewed-by: Jim A. Pelner <jim.a.pelner@intel.com>
Reviewed-on: http://android.intel.com:8080/112532
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
|
|
BZ: 114933
Merrifield uses SPI via SSP rather than a dedicated SPI peripheral
Moved volatile definitions to types.h
Based off code by Courtney A. Drant
Change-Id: I3a8fbe364f2fcf860ac47f431b93868fb7b598d9
Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Signed-off-by: Courtney A. Drant <courtney.a.drant@intel.com>
Reviewed-on: http://android.intel.com:8080/112531
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Reviewed-by: Fert, Laurent <laurent.fert@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
|
|
BZ: 98228
Optimizations of bootstub code:
-clean up naming (replacing mrst references to mid where applicable)
-Code size reduction
-increase code efficiency
-change uart functionality to more accurately support on other platforms.
Instead of assuming SPI 0 for non recognized SOCs, will now skip spi/uart
initializations and simply return from print routines
-increase version to 1.3
Change-Id: Id355fa64d53422cb8fa28e4fd5155e0e1b9d0b55
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Reviewed-on: http://android.intel.com:8080/99552
Reviewed-by: Gao, Bin <bin.gao@intel.com>
Reviewed-by: Chouleur, Sylvain <sylvain.chouleur@intel.com>
Reviewed-by: Noziska, Patrick J <patrick.j.noziska@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
|
|
BZ: 100434
Move the repo path of bootstub project from device/intel/
to vendor/intel/boot/
Change-Id: I446289211bec816496a8ec38e5d0870f7a232799
Signed-off-by: Chetan Rao <chetan.rao@intel.com>
Reviewed-on: http://android.intel.com:8080/101848
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
|
|
BZ: 96847
There is no SFI MMAP table any more for Baytrail platform.
Now we can get system memory map information by int 15h which returns
an e820 table with memory map entries.
We have to switch to real mode to call int 15h then switch back to
protected mode.
This patch implements the real mode int 15 call in assembly language
but exported a C style function:
int get_e820_by_bios(void *e820_buf);
See details in e820_bios.S.
Change-Id: I33dbeaaa58da217e74e015f0d911896500043d17
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/99216
Reviewed-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
Tested-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
|
|
BZ: 96845
Add ValleyView2 SoC (i.e. Baytrail platorm) detection for bootstub.
This is needed for further VLV2 related feature enabling, e.g. BIOS style
e820 read, etc.
Change-Id: Id590de166acb01a81cc11290bf1efdd27ba82a32
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/99215
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Renganathan, Prabu <prabu.renganathan@intel.com>
Reviewed-by: Anagani, Chandra Sekhar <chandra.sekhar.anagani@intel.com>
Reviewed-by: Ernst, Eric <eric.ernst@intel.com>
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
|
|
BZ: 12336
Bootstub is currently allocated only 256 bytes for kernel boot command-line
options. The Android kernel boot command line options is getting larger and
with the current size of 256 bytes in size, it's not enough.
This patch added to increase the allocation of the kernel boot command-line
options to 1024 bytes in bootstub. Also, bump up the bootstub version to v1.2
Change-Id: Id8804359899ee1facb621de2cb8fd3c6ef4e14ad
Signed-off-by: Jeremy Compostella <jeremyx.compostella@intel.com>
Signed-off-by: Leonard Mai <leonard.mai@intel.com>
Reviewed-on: http://android.intel.com:8080/22416
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
|
|
Add cloverview support. Also bump up the version to 1.1.
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
|
|
It is not harmful to specify -m32 always.
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
|
|
SFI spec does not require any dword alignment of its tables
other than SYST base table. IA FW may produce byte aligned mmap
table that the current code cannot handle.
Also added __packed attribute for sfi structures.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
|
|
A good sign for Medfield support...
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
Also clean the spi-uart.c a little
Signed-off-by: Feng Tang <feng.tang@intel.com>
|
|
Any other good idea?
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
Signed-off-by: Alek Du <alek.du@intel.com>
|
|
old code just skipped the MMIO type entry in SFI mmap table,
as a workaround to PCI MCFG conflict issue.
Signed-off-by: Feng Tang <feng.tang@intel.com>
|
|
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
|
|
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
|