get hardware config from original kobo mini (sd card is mmcblk1)
dd if=/dev/mmcblk1 of=kobo_mini_hw_config.img skip=524272 bs=1 count=67
write hw-config
dd if=kobo_mini_hw_config.img of=/dev/mmcblk1 seek=524272 bs=1
modify
u-boot-2009.08
/include/configs/mx50_rdp.h
(line 159)
"bootargs_base=setenv bootargs root=/dev/mmcblk0p2 rootfstype=ext4 console=ttymxc0,115200 rootwait rw noinitrd init=/init video=mxc_elcdif_fbff

ff lpj=3997696\0"\
--build u-boot--
sh build_mddr_256.sh
(select E50610 / KX2G323PC)
modify kernel (this is the tolino kernel)
kernel_imx/arch/arm/mach-mx5
(line 2826)
add following lines
// SD3 should be enabled in E50612 (internal SD)
mxc_iomux_v3_setup_multiple_pads(mx50_sd3_enable_p ads, \
ARRAY_SIZE(mx50_sd3_enable_pads));
// SD2 should be disabled in E50612 (WIFI interface)
mxc_iomux_v3_setup_multiple_pads(mx50_sd2_disable_ pads, \
ARRAY_SIZE(mx50_sd2_disable_pads));
// SD1 should be disabled in E50612 (N/A)
mxc_iomux_v3_setup_multiple_pads(mx50_sd1_disable_ pads, \
ARRAY_SIZE(mx50_sd1_disable_pads));
#make uImage
write U-boot
dd if=u-boot_mddr_256-E50610-K4X2G323PC.bin skip=2 of=/dev/mmcblk1 bs=512 seek=2
write kernel
dd if=uImage of=/dev/mmcblk1 bs=512 seek=2048
It boots android, but touchscreen is still wonky....