grub4android / lk Goto Github PK
View Code? Open in Web Editor NEWLK embedded kernel
Home Page: https://www.codeaurora.org/cgit/quic/la/kernel/lk
License: MIT License
LK embedded kernel
Home Page: https://www.codeaurora.org/cgit/quic/la/kernel/lk
License: MIT License
Log into a file next to the grub configs instead of a raw part.
I'm trying to port to the Nexus 4.
I've copied the msm8960-aries target folder and changed the lk target to msm8960. Unfortunately no lkboot.img file is created.
Any hints?
Some devices has the sdcard at /data/media/0/
Form some project these lines are missing:
ifeq ($(EMMC_BOOT),1)
DEFINES += _EMMC_BOOT=1
endif
For 1S you have to set gpio 33 and 50 to high.
On Note 4G you need gpio 33 and 51.
I'm just wondering if this fork of LK needs to be patched against https://www.codeaurora.org/projects/security-advisories/lk-improper-partition-bounds-checking-when-flashing-sparse-images-cve
Maybe loading at the wrong address?
[10] Power on reason ff01
[20] bpp 24
[70] cable type from shared memory: 8
[110] reboot_mode restart reason = fastboot
[110] vibe
[190] USB init ept @ 0x88f5e000
[210] secured device: 1
[210] fastboot_init()
[220] splash: fastboot_op
FASTBOOT MODE
PRODUCT_NAME - mako
VARIANT - mako 16GB
HW VERSION - rev_11
BOOTLOADER VERSION - MAKOZ30f
BASEBAND VERSION - M9615A-CEFWMAZM-2.0.1701.04
CARRIER INFO - None
SERIAL NUMBER - 04c9505cxxxx
SIGNING - production
SECURE BOOT - enabled
LOCK STATE - unlocked
[290] splash: start
[1190] Fastboot mode started
[1190] udc_start()
[1290] -- reset --
[1300] -- portchange --
[1400] fastboot: processing commands
[12200] fastboot: download:00027000
downloading...
[12220] fastboot: boot
[12220] ramdisk relocation: 0x81200000 -> 0x81800000
[12220] get_display_kcal = 0, 0, 0, x
[12240] vibe
[12300] splash: boot
[12300] splash: unlocked
[12300] cmdline: uart_console=enable lcd_maker_id=primary lge.hreset=off lge.reset=mode_reset gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 androidboot.emmc=true fastboot=true androidboot.serialno=04c9505cxxxx androidboot.bootloader=MAKOZ30f androidboot.baseban[12330] booting linux @ 0x80208000, ramdisk @ 0x81800000 (0), tags/device tree @ 0x80200100
Then no more output and a blank screen.
compiling platform/qcom/display/display.c
platform/qcom/display/display.c: In function 'msm_display_2ndstagefb_reserve':
platform/qcom/display/display.c:457:2: error: implicit declaration of function 'mdp_dump_config' [-Werror=implicit-function-declaration]
mdp_dump_config(&config);
^
cc1: some warnings being treated as errors
make/compile.mk:53: recipe for target '/home/voltagex/src/grub4android/out/target/mako/lk/build-qcom-msm8960/platform/qcom/display/display.o' failed
make[3]: *** [/home/voltagex/src/grub4android/out/target/mako/lk/build-qcom-msm8960/platform/qcom/display/display.o] Error 1
make[3]: Leaving directory '/home/voltagex/src/grub4android/lk'
engine.mk:28: recipe for target 'make-make' failed
make[2]: *** [make-make] Error 2
make[2]: Leaving directory '/home/voltagex/src/grub4android/lk'
makefile:27: recipe for target 'qcom-msm8960' failed
make[1]: *** [qcom-msm8960] Error 2
make[1]: Leaving directory '/home/voltagex/src/grub4android/lk'
build/core/tasks/lk.mk:46: recipe for target 'lk' failed
make: *** [lk] Error 2
parse_original_devtree has no DTSv2 support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.