• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

ICS kernel sources available for download!!!

Status
Not open for further replies.
Search This thread

wkpark

Senior Member
Jan 2, 2012
255
1,357
Seoul

OK.
this is the patch for the old bootloader to work with ICS firmwares
(I guess this fix already applied by RC)

It works both old and new bootloader

Known bug
the androidboot.serialno is not set correctly.
(windows does not detect it in the ddms)
but there is the "uniqueid" exists on the older bootloader and it is the serialno.
-----
EDIT:
Notes
● The default cmdline setting is automatically loaded by the bootloader only if there is no cmdline found in the boot.img.
● when the cmdline of the boot.img is not null, bootloader does not change it's value.
 

Attachments

  • 0001-star-fixup-cmdline-arguments-for-compatibility-with-.patch
    5.5 KB · Views: 98
Last edited:

The-Hulk

Retired Forum Moderator
Feb 9, 2012
1,327
1,925
Warrington
Wow, yet again the members of the Optimus 2x forum fail to behave like adults and more like little school children throwing a tantrum, well i have just about had enough of it, i wake up this morning to find 24 reports waiting for me, of which 20 come from this thread. So to that end i have decided to close this thread, i feel that it's more trouble than its worth and dont see how this help towards development, if you disagree with my decision please feel free to keep it to yourself.

The-Hulk
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 52
    Wow, yet again the members of the Optimus 2x forum fail to behave like adults and more like little school children throwing a tantrum, well i have just about had enough of it, i wake up this morning to find 24 reports waiting for me, of which 20 come from this thread. So to that end i have decided to close this thread, i feel that it's more trouble than its worth and dont see how this help towards development, if you disagree with my decision please feel free to keep it to yourself.

    The-Hulk
    39

    http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGSU660

    It seems like that this kernel support not only SU660 but also P990/P999

    from "arch/arm/mach-tegra/lge/star/Kconfig"
    Code:
    menu "LGE Board Selection"
    
    #config MACH_STAR
    #       depends on ARCH_TEGRA
    #       select MACH_LGE
    #       select MACH_HAS_SND_SOC_TEGRA_WM8994 if SND_SOC
    #       bool "TEGRA STAR"
    #       help
    #         Support for the LGE STAR
    
    choice
            depends on MACH_STAR
            prompt "STAR Board Selection"
            default MACH_STAR_SU660
    
    config MACH_STAR_SU660
            bool "TEGRA STAR SU660"
            help
              Support for the LGE STAR SU660
    
    config MACH_STAR_P990
            bool "TEGRA STAR P990"
            help
              Support for the LGE STAR P990
    
    config MACH_STAR_P999
            bool "TEGRA STAR P999"
            help
              Support for the LGE STAR P999
    endchoice
    
    endmenu

    from arch/arm/configs/star_su660_defconfig
    Code:
    #
    # LGE Board Selection
    #
    CONFIG_MACH_STAR_SU660=y
    # CONFIG_MACH_STAR_P990 is not set
    # CONFIG_MACH_STAR_P999 is not set

    Code:
    ls arch/arm/configs/star*
    arch/arm/configs/star_p990_defconfig
    arch/arm/configs/star_p999_defconfig
    arch/arm/configs/star_su660_defconfig
    39
    This is the ramhack patch for the ICS V30C kernel

    Currently the carveout size is fixed 152MB.

    with this patch you can change the carveout size by the following cmdline parameter.

    Code:
    ... carveout=96M ...
    (you should set the whole cmdline of the boot.img include the tegrapart for your device)

    here is the dmesg of the patched kernel
    Code:
    [FONT="Lucida Console"]
    
    <6>[    0.000000] Initializing cgroup subsys cpu
    <5>[    0.000000] Linux version 2.6.39.4-gb1349a4-dirty ([email protected]) (gcc version 4.7.3 20121001 (prerelease) (Linaro GCC 4.7-2012.10) ) #6 SMP PREEMPT Fri Oct 26 22:26:21 KST 2012
    ....
    
    <6>[    0.000000] Found carveout: size=06000000
    <4>[    0.000000] Malformed early option 'androidboot.mode'
    <6>[    0.000000] Found tegra_fbmem: [email protected]
    <6>[    0.000000] override carveout size=[B]06000000[/B]
    ...
    
    <5>[    0.000000] Kernel command line: tegraid=20.1.3.0.0 mem=512M [B]carveout=96M[/B] android.commchip=0 vmalloc=128M video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,-3 androidboot.mode=normal usbcore.old_scheme_first=1 [email protected] [email protected] muic_state=0 tegraboot=sdmmc tegrapart=recovery:4a200:2800:800,linux:48b00:1000:800,mbr:400:200:800,system:600:40000:800,cache:40600:8000:800,misc:48600:400:800,userdata:4cb00:100000:800,data/ve:14cc00:1400:800
    
    ....
    <6>[    0.000000] Memory: 411MB = [B]411MB[/B] total
    <5>[    0.000000] Memory: 405792k/405792k available, 118496k reserved, 0K highmem
    <5>[    0.000000] Virtual kernel memory layout:
    <5>[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    <5>[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    <5>[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    <5>[    0.000000]     vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
    <5>[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    <5>[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    <5>[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    <5>[    0.000000]       .init : 0xc0008000 - 0xc0041000   ( 228 kB)
    <5>[    0.000000]       .text : 0xc0041000 - 0xc068df8c   (6452 kB)
    <5>[    0.000000]       .data : 0xc068e000 - 0xc06f8820   ( 427 kB)
    ...[/FONT]
    36

    OK.
    this is the patch for the old bootloader to work with ICS firmwares
    (I guess this fix already applied by RC)

    It works both old and new bootloader

    Known bug
    the androidboot.serialno is not set correctly.
    (windows does not detect it in the ddms)
    but there is the "uniqueid" exists on the older bootloader and it is the serialno.
    -----
    EDIT:
    Notes
    ● The default cmdline setting is automatically loaded by the bootloader only if there is no cmdline found in the boot.img.
    ● when the cmdline of the boot.img is not null, bootloader does not change it's value.