Hi, OK, I think I need to close the topic and drew a conclusion:
The conclusion is: my board in question, which is an IView435TPC, doesn't allow any hacking on NAND by doing something magic inside closed source boot1. The conclusion fis based on my following observations: 1. I have tried Installing to NAND sunxi wiki instructions, it works fine. just git checkout lichee-dev, make the CONFIG_BOOTCOMMAND changes with fatload inside include/configs/sun5i_a13.h, basically that is the line we put inside boot.cmd for boot.scr. No need to do any dram configurations as we want to do in sd card boot case. 2. when I was using nand-part tool to repartition the internal NAND, the last re-read partition table command returns -1 on the iview tablet, but return 0 on Olimex a13 board, which indicates something is going on in the iview nand. 3. I could see no debugging output from serial when hooking up with UART1 on the iview, but everything is OK on Olimex NAND, I can see boot0 loading messages, as well as lichee-dev uboot, and my uImage output. So, the lesson learned here is for some of the commercial tablets out there, they must have put some magic keys/encryptions to lock down their internal NAND to prevent any hacking or manipulations, no debug output from serial is a very good sign of such lock down. Hope these notes are helpful to someone, and my appreciations to all the help from you guys. Cheers, -Hunter On Friday, March 7, 2014 5:09:41 PM UTC-6, hunter hu wrote: > > Hi, > > I finally got the serial port working on my board, just a side note, we > need a pull up resistor at the Rx pin, and I am using UART1 with SD card > approach, anyone struggles with serial port, here is the thread that helped > me: https://www.olimex.com/forum/index.php?topic=1788.0 > > All goes well with the SD u-boot and I can stop at u-boot prompt and play > with it, booting up as usual too by typing boot. > > However when I set the NAND stuff up with lichee-dev u-boot built out of > sun5i_a13, there is no serial output at all upon boot and stuck at logo, > which indicates something is wrong with the u-boot image and it didn't run > as expected. > > I also tried just use the stock android u-boot, some posts say we can stop > android u-boot when booting up, I didn't see that happen either. > > Any ideas how to proceed from here would be greatly appreciated. > > Thanks in advance, > -Hunter > > > > On Wednesday, March 5, 2014 10:13:45 PM UTC-6, hunter hu wrote: >> >> Thanks Pat, >> >> I have used the correct syntax, but still, stuck at the SUNXI logo; at >> this moment I have a few questions: >> >> 1> my cpu is A13, your u-boot is for A20, I would think that is not >> working for me? >> >> 2> I have been using lichee-dev, sun5i_a13 board, trying to modify the >> configurations as shown before; when I was adding my board to the >> u-boot-sunxi, I had to add a dram_myboard.c to configure the DRAM by >> following the sunxi wiki instructions, I tried to do with and without the >> DRAM stuff, the same, stuck at the logo, I believe I have to get the serial >> port working first. >> >> Thank you very much for all help so far, I greatly appreciated. >> >> -Hunter >> >> On Wednesday, March 5, 2014 9:35:06 PM UTC-6, Patrick Wood wrote: >>> >>> fatload nand 0 kernel_address kernel_file >>> >>> Note that my u-boot is based on a heavily-modified version of the one >>> used by android. >>> >>> On Wednesday, March 5, 2014 10:10:03 PM UTC-5, hunter hu wrote: >>>> >>>> Hi Pat, >>>> >>>> I was not be able to get serial port access yet, work in progress. >>>> >>>> Regarding the syntax, what are the correct ones? >>>> >>>> thanks, >>>> -Hunter >>>> >>>> On Wednesday, March 5, 2014 8:51:22 PM UTC-6, Patrick Wood wrote: >>>>> >>>>> That's not the right syntax for file access. Don't you have a serial >>>>> port you can get boot logs from? >>>> >>>> -- 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/d/optout.
