Skip to content

Commit de368b5

Browse files
committed
woot, fastboot working, needs abootimg
1 parent a886a53 commit de368b5

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

configuration

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ KERNEL_REPO=https://github.com/ylixir/grouper-kernel.git
5858
KERNEL_OUT_DIR=kernel_target
5959
KERNEL_TARGET='vmlinuz-3.1.10-8-nexus7'
6060
RAMDISK_TARGET='initrd.img-3.1.10-8-nexus7'
61-
KERNEL_CMD_LINE='tegra_wdt.heartbeat=30 tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=512M androidboot.serialno=015d165c32300010 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=30535679 androidboot.bootloader=4.23 androidboot.baseband=unknown root=/dev/mmcblk0p9 rootfstype=ext4 rw console=tty0 fbcon=rotate:1 access=m2 splash rootflags=defaults,noatime,nodiratime quiet rootsubdir=/media/0/multirom/roms/arch_20130626/root'
61+
#KERNEL_CMD_LINE='tegra_wdt.heartbeat=30 tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=512M androidboot.serialno=015d165c32300010 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=30535679 androidboot.bootloader=4.23 androidboot.baseband=unknown root=/dev/mmcblk0p9 rootfstype=ext4 rw console=tty0 fbcon=rotate:1 access=m2 splash rootflags=defaults,noatime,nodiratime quiet rootsubdir=/media/0/multirom/roms/arch_20130626/root'
62+
KERNEL_CMD_LINE='tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=512M androidboot.serialno=015d165c32300010 video=tegrafb debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=30535679 root=/dev/mmcblk0p9 rootfstype=ext4 rw console=tty0 access=m2 rootflags=defaults,noatime,nodiratime rootsubdir=/media/0/multirom/roms/arch_20130626/root'
6263
#how many processes do you want the build to use?
6364
BUILD_PROCESSES=9

functions

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,12 @@ kernel_build ()
163163
}
164164
kernel_boot ()
165165
{
166-
echo $KERNEL_CMD_LINE;
167-
fastboot boot $BASE_DIR/$KERNEL_OUT_DIR/$KERNEL_TARGET $BASE_DIR/$KERNEL_OUT_DIR/$RAMDISK_TARGET -c "$KERNEL_CMD_LINE";
166+
echo 'Creating test.img';
167+
echo "cmdline=$KERNEL_CMD_LINE">$BASE_DIR/$KERNEL_OUT_DIR/cmd.txt
168+
abootimg --create $BASE_DIR/$KERNEL_OUT_DIR/test.img -f $BASE_DIR/$KERNEL_OUT_DIR/cmd.txt -k $BASE_DIR/$KERNEL_OUT_DIR/$KERNEL_TARGET -r $BASE_DIR/$KERNEL_OUT_DIR/$RAMDISK_TARGET;
169+
# fastboot boot $BASE_DIR/$KERNEL_OUT_DIR/$KERNEL_TARGET $BASE_DIR/$KERNEL_OUT_DIR/$RAMDISK_TARGET -c "$KERNEL_CMD_LINE";
170+
echo 'Booting test.img';
171+
fastboot boot $BASE_DIR/$KERNEL_OUT_DIR/test.img;
168172
}
169173
# this patch was attempting to fix a problem that was actually a path
170174
# problem, so it's currently not used, but left in case it's needed later

0 commit comments

Comments
 (0)