Hello, Yes, this is the tablet.
It works fine when booting over USB but for some reason fails to boot from SD card. There is an issue that if kernel crashes and does not properly shut down the MMC controller BROM fails to initialize it unless the board is powered off completely (which might not be possible with battery powered device) . This is not the issue at hand since then the tablet would boot android right away. Also the u-boot probably reads the kernel correctly since removing the card causes the tablet to boot android again. Since that can normally happen only as the panic timeout in kernel the kernel is probably loaded and fails to mount root. When the card is kept in the tablet it keeps not doing anything obvious so it is probably looping trying to boot linux and failing. The other option is that it crashes and locks up but then android would not boot when the card is removed. I wonder what console_index=2 means and if some device connected somewhere could disturb the console and cause u-boot to stop. Still this is probably not the issue since the tablet reboots itself eventually which suggests that u-boot does not stop but actually loads the kernel. I will try to remove the camera and find some other flexible cable that would fit in the connector since the console pins are supposedly routed there. Thanks Michal On 11 February 2014 20:31, Hans de Goede <[email protected]> wrote: > Hi Michal, > > Thanks for the patch! > > AFAIK this is the tablet which you had with you at devconf, which > does not work properly yet, correct? > > I think it is best to leave this out of u-boot-sunxi until we sort > out the not working issue. When you've it working let me know, > and I'll merge the (updated) patch for it. > > Regards, > > Hans > > > On 01/16/2014 12:25 AM, Michal Suchanek wrote: >> From d8d50b936a98f94f5a216bb99d6b519530778193 Mon Sep 17 00:00:00 2001 >> >> Signed-off-by: Michal Suchanek <[email protected]> >> --- >> board/sunxi/Makefile | 1 + >> board/sunxi/dram_inet86vs.c | 29 +++++++++++++++++++++++++++++ >> boards.cfg | 2 ++ >> 3 files changed, 32 insertions(+) >> create mode 100644 board/sunxi/dram_inet86vs.c >> >> diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile >> index e431653..e2327a9 100644 >> --- a/board/sunxi/Makefile >> +++ b/board/sunxi/Makefile >> @@ -32,6 +32,7 @@ obj-$(CONFIG_A10S_OLINUXINO_M) += >> dram_a10s_olinuxino_m.o >> obj-$(CONFIG_A13_OLINUXINO) += dram_a13_olinuxino.o >> obj-$(CONFIG_A13_OLINUXINOM) += dram_a13_oli_micro.o >> obj-$(CONFIG_A13_MID) += dram_a13_mid.o >> +obj-$(CONFIG_INET86VS) += dram_inet86vs.o >> obj-$(CONFIG_A20_OLINUXINO_M) += dram_a20_olinuxino_m.o >> obj-$(CONFIG_AUXTEK_T003) += dram_auxtek_t003.o >> # This is not a typo, uses the same mem settings as the a10s-olinuxino-m >> diff --git a/board/sunxi/dram_inet86vs.c b/board/sunxi/dram_inet86vs.c >> new file mode 100644 >> index 0000000..80d1a8e >> --- /dev/null >> +++ b/board/sunxi/dram_inet86vs.c >> @@ -0,0 +1,29 @@ >> +/* this file is generated, don't edit it yourself */ >> + >> +#include <common.h> >> +#include <asm/arch/dram.h> >> + >> +static struct dram_para dram_para = { >> + .clock = 408, >> + .type = 3, >> + .rank_num = 1, >> + .density = 4096, >> + .io_width = 16, >> + .bus_width = 16, >> + .cas = 9, >> + .zq = 0x56b9697b, >> + .odt_en = 0, >> + .size = 512, >> + .tpr0 = 0x42d899b7, >> + .tpr1 = 0xa090, >> + .tpr2 = 0x22a00, >> + .tpr3 = 0x0, >> + .emr1 = 0x4, >> + .emr2 = 0x10, >> + .emr3 = 0x0, >> +}; >> + >> +unsigned long sunxi_dram_init(void) >> +{ >> + return dramc_init(&dram_para); >> +} >> diff --git a/boards.cfg b/boards.cfg >> index ef986a7..d04ba31 100644 >> --- a/boards.cfg >> +++ b/boards.cfg >> @@ -354,6 +354,8 @@ Active arm armv7 sunxi - >> sunxi >> Active arm armv7 sunxi - sunxi >> A13-OLinuXinoM >> sun5i:A13_OLINUXINOM,SPL,NO_AXP,STATUSLED=201,CONS_INDEX=2 >> - >> Active arm armv7 sunxi - sunxi >> A13-OLinuXinoM_FEL >> sun5i:A13_OLINUXINOM,SPL_FEL,NO_AXP,STATUSLED=201,CONS_INDEX=2 >> - >> Active arm armv7 sunxi - sunxi >> A13_MID sun5i:A13_MID,SPL,CONS_INDEX=2 >> >> - >> +Active arm armv7 sunxi - sunxi >> INET86VS sun5i:INET86VS,SPL,CONS_INDEX=2 >> >> - >> +Active arm armv7 sunxi - sunxi >> INET86VS_FEL >> sun5i:INET86VS,SPL_FEL,UART0_PORT_F >> - >> Active arm armv7 sunxi - sunxi >> A20-OLinuXino_MICRO >> sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL,SUNXI_EMAC >> - >> Active arm armv7 sunxi - sunxi >> A20-OLinuXino_MICRO_FEL >> sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL_FEL,SUNXI_EMAC >> - >> Active arm armv7 sunxi - sunxi >> Auxtek-T003 >> sun5i:AUXTEK_T003,SPL,AXP152_POWER,STATUSLED=34 >> - >> > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
