Hacking linux kernel to bypass platform ID

I edited arch/arm/kernel/head.S

ENTRY(stext)
+ mov r0, #0
+ mov r1, #400
+ add r1, r1, #400
+ add r1, r1, #46
+ ldr r2, =0xa0000100

I do this way because I was getting issues when using “mov r1, #846” or “mov r1, #0x34e

Advertisements

2 thoughts on “Hacking linux kernel to bypass platform ID

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s