Linux on MIPS JZ4770
OK, im doing this just for the sake of doing it, since a have a Novo 7 Basic with a broken touchscreen and i have no intentention od reemplacing it.
I have a USB UART, im i starting to figure all this out, (its the first time i ever attempt something like this),
What i did is to get u-boot source, toolchain and flash tool from ingenic for the dev board
and a JZ4770 android kernel i found around (it looks like pinkflozd kernel)
make ARCH=mips npm702_pinkflozd_defconfig
And compiled it with the toolchain from ingenic, since the incluided toolchain was giving a error.
What i did with the u-boot source is to:
#define CONFIG_MSC_TYPE_SD 1
And change include/configs/pisces.h
#define LINUX_CMDLINE3 \
"mem=256M console=ttyS2,57600n8 ip=off root=/dev/mmcblk2p1 rw"
What tells the kernel to look the rootfs on the first partition on SD card.
Flashed the tablet, and generated a mipsel debian rootfs using debootstrap on a ext2 partion sd card.
The result is this:
Well thats the thing, there are constant random Kernel unaligned instruction access panics after picking up the rootfs, only once in about 20 attempts managed to load up the console on serial, and it panic shortly after, now, im not sure if this is because i dont have the proper ram configuration for uboot (thats why it detects 256mb and no 1GB), the ram are "hy5ps1g831cfp-s6", so it may be memory errors causing that, or it has something to do with the rootfs, or maybe its caused because of the toolchain that is old?