Skip to content

Commit

Permalink
Trying to get installer/system-image-cli to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Flohack74 committed Aug 29, 2020
1 parent f498bfd commit 78140a2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
BOARD_RAMDISK_OFFSET := 0x02000000

BOARD_KERNEL_CMDLINE := androidboot.hardware=angler console=tty0 androidboot.console=ttyHSL0 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 no_console_suspend
BOARD_KERNEL_CMDLINE += systempart=/dev/mmcblk0p43
BOARD_KERNEL_CMDLINE += datapart=/dev/mmcblk0p44
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset $(BOARD_RAMDISK_OFFSET) --tags_offset $(BOARD_KERNEL_TAGS_OFFSET)

BOARD_USES_ALSA_AUDIO := true
Expand Down
3 changes: 2 additions & 1 deletion fstab.angler
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
/dev/block/platform/soc.0/f9824900.sdhci/by-name/system /system ext4 ro,barrier=1,inode_readahead_blks=8 wait
/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor /vendor ext4 ro,barrier=1,inode_readahead_blks=8 wait
/dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,discard,errors=panic,inode_readahead_blks=8 wait,check,forcefdeorfbe=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata
/dev/block/platform/soc.0/f9824900.sdhci/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
#disabled, too small for UT updates
#/dev/block/platform/soc.0/f9824900.sdhci/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
/dev/block/platform/soc.0/f9824900.sdhci/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,notrim
/dev/block/platform/soc.0/f9824900.sdhci/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 wait
/dev/block/platform/soc.0/f9824900.sdhci/by-name/boot /boot emmc defaults defaults
Expand Down
8 changes: 8 additions & 0 deletions init.recovery.angler.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ on boot
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq 960000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 960000
write /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq 960000

on post-fs-data
mkdir /data
mount ext4 /dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata /data
mkdir /data/cache
mount none /data/cache /cache bind
mkdir /data/cache/recovery

0 comments on commit 78140a2

Please sign in to comment.