[Motorola Photon 4G] tdhite:
Test Kernel for Photon with ATAGS Support

The kernel with atags support, the dumpatags programs and the kernel CONFIG file I used to build the kernel are all here:

sunfire_kernel_2.6.32.9_with_atags

The adds to the kernel config are for the kexec support and atags support. A teeny gift (I always use myself) is an ext4.ko and jbd2.ko module so if you want to play around with ext4 on your file systems. For that matter, if folks want the same that will work on the standard kernel (I use it on all my sdcard-ext partitions other than the standard vfat first partition) I can upload it.

Anyway, I'll need help to generate an update.zip file so a tester could flash the files for testing. If you can't build update.zip files, let me know and I'll build one, but obviously I can't test it since my device is frozen in time (OTA updated). It's cake to build update.zip files, I can explain if necessary.

The next part is a necessary read if you intend to test or use the files for any purpose:

STANDARD DISCLAIMER: IF YOU USE THE FILES CONTAINED IN THE ZIP, OR THE ZIP ITSELF, YOU ARE USING THEM AT HOUR OWN RISK AND ACCEPT THE ENTIRE RISK OF ALL HARM, INCLUDING BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, AND AGREE THAT I ASSUME NO RISK WHATSOEVER. YOU FURTHER ACKNOWLEDGE AND AGREE THAT I GIVE NO WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO, WARRANTY OF TITLE, WARRANTY OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.

The files, once unzipped, are as follows:

-- The kernel image:

sunfire_kernel_2.6.32.9_with_atags/zImage

-- The dumpatags and atagblob (you won't likely need the latter) programs:

sunfire_kernel_2.6.32.9_with_atags/data/local/tmp/dumpatags

sunfire_kernel_2.6.32.9_with_atags/data/local/tmp/atagblob

-- The modules that match this kernel ( normally live at /system/lib/ )

sunfire_kernel_2.6.32.9_with_atags/system/lib/ansi_cprng.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/bcmsdio.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/dhd.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/rmnet0_drv.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/ansi_cprng.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/rmnet1_drv.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/rmnet2_drv.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/rmnet3_drv.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/scsi_wait_scan.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/vpnclient.ko

-- The ext4 gift (just insmod /system/lib/jdb2.ko; insmod /system/lib/ext4.ko) that match this kernel:

sunfire_kernel_2.6.32.9_with_atags/system/lib/jbd2.ko

sunfire_kernel_2.6.32.9_with_atags/system/lib/ext4.ko
​

PM me if you can help -- but like I've said many times, loading a kernel isn't for the faint of heart. Don't do it if you don't know how to recover, and particularly not if you don't have true recovery mode (non-OTA phone with a full recovery facility, a good SBF, and RSD lite working). If you load this, don't plan on network or wifi or any such things working -- the modules we can't build may not load with the new kernel.

Links of interest to keep around:

http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html#d0e309

git://github.com/allwinner-dev-team/atag-tools.git