Would be nice if you could update the wiki page too

Jack Harvard


On Mon, Feb 10, 2014 at 5:11 PM, Martin Brown <[email protected]> wrote:

> *Now, to build the 2.6.35 kernel.*
>
>    1. Get the kernel source: git clone
>    git://linux-arm.org/linux-2.6-armdroid.git -b 2.6.35-armdroid
>    2. Get the 2.6.35 config file packaged with the linux kernel above.
>    3. Copy it to the kernel source directory as .config.
>    4. Copy the patch that fixes this issue to a file. Here's the patch.
>    http://www.mail-archive.com/[email protected]/msg06169.html
>    5. From the linux source dir: $ git apply patch-file (or apply patch
>    manually if it doesn't work. You may have to create files that are missing
>    from your source dir)
>    6. Build the kernel source: make ARCH=arm
>    CROSS_COMPILE=arm-none-linux-gnueabi- -jn vmlinux
>    EXTRA_CFLAGS=-mno-unaligned-access
>
>
>
> On Sat, Feb 8, 2014 at 4:26 AM, Peng Wei <[email protected]> wrote:
>
>> Hi there,
>>
>> I tried to use funtions in the file "threadinfo.hh" to get PID and
>> ProcessName, but it got nothing but warning "Kernel not compiled with
>> task_struct info". I used the BBench files to do all the stuff. Could
>> anybody tell me how to recompile the kernel to contain "task_struct info"?
>>
>> In gem5's website, I found the guide below to build linux kernel step by
>> step:
>>
>> *Now, to build the 2.6.35 kernel.*
>>
>>    1. Get the kernel source: git clone
>>    git://linux-arm.org/linux-2.6-armdroid.git -b 2.6.35-armdroid
>>    2. Get the 2.6.35 config file packaged with the linux kernel above.
>>    3. Copy it to the kernel source directory as .config.
>>    4. Build the kernel source: make ARCH=arm
>>    CROSS_COMPILE=arm-none-linux-gnueabi- -jn vmlinux
>>    EXTRA_CFLAGS=-mno-unaligned-access
>>
>>
>> Could anybody tell me in detail how to modify those steps to get a kernel
>> which has "task_struct info" in it?
>>
>> Thanks very much.
>>
>> Best regards,
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Martin
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to