Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is how to compile kernel 2.6.36 for toshiba folio 100:
- git clone http://git.chromium.org/git/kernel-next.git
- git checkout origin/chromeos-tegra-2.6.36
- apply the diff:
- artem@gandalf ~/bin/new-kernel/chrome/kernel-next $ git diff
- diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c
- index 2fe1059..ccdef3d 100644
- --- a/arch/arm/mach-tegra/board-harmony.c
- +++ b/arch/arm/mach-tegra/board-harmony.c
- @@ -413,3 +413,14 @@ MACHINE_START(HARMONY, "harmony")
- .map_io = tegra_map_common_io,
- .timer = &tegra_timer,
- MACHINE_END
- +
- +MACHINE_START(TEGRA_LEGACY, "tegra_legacy")
- + .boot_params = 0x00000100,
- + .phys_io = IO_APB_PHYS,
- + .io_pg_offst = ((IO_APB_VIRT) >> 18) & 0xfffc,
- + .fixup = tegra_harmony_fixup,
- + .init_irq = tegra_init_irq,
- + .init_machine = tegra_harmony_init,
- + .map_io = tegra_map_common_io,
- + .timer = &tegra_timer,
- +MACHINE_END
- diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
- index db7d798..e537352 100644
- --- a/arch/arm/tools/mach-types
- +++ b/arch/arm/tools/mach-types
- @@ -3276,3 +3276,4 @@ gfs_spm MACH_GFS_SPM GFS_SPM 3289
- cm_t3730 MACH_CM_T3730 CM_T3730 3290
- isc3 MACH_ISC3 ISC3 3291
- rascal MACH_RASCAL RASCAL 3292
- +tegra_legacy MACH_TEGRA_LEGACY TEGRA_LEGACY 3333
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement