[LG Optimus Black] wuebas:
i am thinking in port boot-img of this other phone: http://xdaforums.com/showthread.php?t=1045910.

This is the init script to load from sdcard:

/bin/sleep 5

mkdir -m 0755 /proc

mount -t proc proc /proc

mkdir -m 0755 /sys

mount -t sysfs sys /sys

#Configure Devices

MAKEDEVS

fail() {

echo "Failed"

echo "$1"d

exec /bin/sh

}

while [ ! -e /sys/block/mmcblk1 ] ; do

echo "Waiting for SD Card"

sleep 1

done

partition=mmcblk1p1

# Try unpartitioned card

if [ ! -e /sys/block/mmcblk1/$partition ] ; then

partition=mmcblk1

fi

mkdir -m 0777 /sdcard

echo "Checking SD card for errors"

dosfsck -y /dev/block/$partition

mount -t vfat -o fmask=0000,dmask=0000,rw,flush,noatime,nodiratime /dev/block/$partition /sdcard

[ $? -eq 0 ] || fail "Failed to mount the SD card. Cannot continue."

mkdir -m 0755 /rfs

if [ -e /sdcard/linux/rootfs.ext2 ] ; then

losetup /dev/block/loop2 /sdcard/linux/rootfs.ext2

[ $? -eq 0 ] || fail "Failed to find rootfs.img on SD Card. You need to unzip a rootfs zip file to the root of your SD card."

e2fsck -y /dev/block/loop2

mount -t ext2 -o noatime,nodiratime,sync,rw /dev/block/loop2 /rfs

[ $? -eq 0 ] || fail "Failed to mount /rootfs"

fi

umount -l /proc

umount -l /sys

echo "Switching to rootfs..."

exec switch_root /rfs /init

simply script. and this is MAKEDEVS script:

#!/bin/sh

mkdir -m 0777 /dev/block

mknod -m 0666 /dev/block/loop0 b 7 0

mknod -m 0666 /dev/block/loop1 b 7 1

mknod -m 0666 /dev/block/loop2 b 7 2

#mknod -m 0666 /dev/block/mmcblk0 b 179 0

#mknod -m 0666 /dev/block/mmcblk0p1 b 179 1

#mknod -m 0666 /dev/block/mmcblk0p2 b 179 2

#mknod -m 0666 /dev/block/mmcblk0p3 b 179 3

#mknod -m 0666 /dev/block/mmcblk0p4 b 179 4

#mknod -m 0666 /dev/block/mmcblk0p5 b 179 5

#mknod -m 0666 /dev/block/mmcblk0p6 b 179 6

#mknod -m 0666 /dev/block/mmcblk0p7 b 179 7

#mknod -m 0666 /dev/block/mmcblk0p8 b 179 8

#mknod -m 0666 /dev/block/mmcblk0p9 b 179 9

#mknod -m 0666 /dev/block/mmcblk0p10 b 179 10

#mknod -m 0666 /dev/block/mmcblk0p11 b 179 11

#mknod -m 0666 /dev/block/mmcblk0p12 b 179 12

#mknod -m 0666 /dev/block/mmcblk0p13 b 179 13

#mknod -m 0666 /dev/block/mmcblk0p14 b 179 14

#mknod -m 0666 /dev/block/mmcblk0p15 b 179 15

#mknod -m 0666 /dev/block/mmcblk0p16 b 179 16

#mknod -m 0666 /dev/block/mmcblk0p17 b 179 17

#mknod -m 0666 /dev/block/mmcblk0p18 b 179 18

#mknod -m 0666 /dev/block/mmcblk0p19 b 179 19

#mknod -m 0666 /dev/block/mmcblk0p20 b 179 20

#mknod -m 0666 /dev/block/mmcblk0p21 b 179 21

#mknod -m 0666 /dev/block/mmcblk0p22 b 179 22

#mknod -m 0666 /dev/block/mmcblk0p23 b 179 23

#mknod -m 0666 /dev/block/mmcblk0p24 b 179 24

#mknod -m 0666 /dev/block/mmcblk0p25 b 179 25

#mknod -m 0666 /dev/block/mmcblk0p26 b 179 26

#mknod -m 0666 /dev/block/mmcblk0p27 b 179 27

#mknod -m 0666 /dev/block/mmcblk0p28 b 179 28

#mknod -m 0666 /dev/block/mmcblk0p29 b 179 29

mknod -m 0666 /dev/block/mmcblk1 b 179 32

mknod -m 0666 /dev/block/mmcblk1p1 b 179 33

mknod -m 0666 /dev/block/mmcblk1p2 b 179 34

mknod -m 0666 /dev/block/mmcblk1p3 b 179 35

mknod -m 0666 /dev/block/mmcblk1p4 b 179 36

mkdir -m 0777 /dev/input

mknod -m 0644 /dev/input/event0 c 13 64

mknod -m 0644 /dev/input/event1 c 13 65

mknod -m 0644 /dev/input/event2 c 13 66

mknod -m 0644 /dev/input/event3 c 13 67

mknod -m 0666 /dev/null c 1 3

mknod -m 0444 /dev/zero c 1 5

mknod -m 0644 /dev/ppp0 c 108 0

mknod -m 0644 /dev/smd0 c 253 0

mknod -m 0644 /dev/smd1 c 253 1

the more normal is that it differ for lg optimus black.

For launch ubuntu in lg optimus no need more. Only wifi drivers and touchscreen but we don´t know bcm driver. SGX drivers for 3d acceleration is offered in maverick 10.10. multitouch is possible that run with utouch driver. omap3 kernel images are ofered and it`s easy create img with rockstock and create ext2 file (http://androlinux.com/android-ubuntu-development/how-to-build-chroot-arm-ubuntu-images-for-android/)