New flashing and SD-boot procedures

397 views
Skip to first unread message

ffxx68

unread,
Sep 25, 2012, 10:55:30 AM9/25/12
to renesas-...@googlegroups.com
You can find here:

 https://github.com/Renesas-EMEV2/RenesasEV2-bootloader/blob/MyPad/README-Renesas

the descriptions of the procedures to create an SD card for firmware update, or a bootable one, and the scripts to automate them: fwupd/fwupd.sh and testsd/testsd.sh, respectively.

With JB, which has a larger filesystem than GB, the internal NAND needs a re-partitioning as well, which is missing in the script. So, fwupd/fwupd.sh fails with JB, as of now, leaving the NAND flashing incompete. This script works for GB only, as of now.

I'm presently using
testsd/testsd.sh for my tests with JB, so that I don't even need to touch the NAND at all and I can leave the stock firmware over there.

Felipe Morales

unread,
Dec 2, 2013, 4:24:23 PM12/2/13
to renesas-...@googlegroups.com
Hi, thanks for all your work
(sorry for my bad english)
I tried to boot my tablet from sd (it doesn't boot from nand) but i read every steps in this group and github (the link above is broken by the way), without success.
i got errors with the files (create_sd.sh, create_bootsd.sh, part_sd.sh) in lubuntu 12.10.
Please i need help, i don't know what to do and my knowledge in programming is really poor

ffxx68

unread,
Dec 3, 2013, 4:13:08 AM12/3/13
to renesas-...@googlegroups.com
If you give the exact step-by-step procedure you followed and errors you got, we can try to help.

A copy/paste of the terminal window might help.

Good to hear anyhow that someone is still working on this ! Very glad to get you onboard.

Felipe Morales

unread,
Dec 3, 2013, 3:14:33 PM12/3/13
to renesas-...@googlegroups.com
First i tried with this method:
and
https://github.com/Renesas-EMEV2/Bootloader/tree/emev-4.1/testsd

1. I modified the intit.rc from original files (versions 0712 and 1220)
2. i used Lubuntu 12.10 live, microSD 2gb
3. to execute part_sd.sh i wrote: sudo sh part_sd.sh /dev/sdc1 , Instead of: sudo ./part_sd.sh /dev/sdc1 (this don't work for me, don't execute it) 4. the terminal: 

root@lubuntu:/home/lubuntu/Desktop/tmp# sudo sh part_sd.sh /dev/sdb1
(1) Partioning sd card ...
root@lubuntu:/home/lubuntu/Desktop/tmp# 

5. And here stops. I execute create_sd.sh to see what hapend:

root@lubuntu:/home/lubuntu/Desktop/tmp# sudo sh create_sd.sh /dev/sdb1
(1) Checking file availabilities ...
-rw-rw-r-- 1 lubuntu 8,4K sep 26  2012 ./sdboot.bin
-rw-r--r-- 1 lubuntu 118K jun  9  2011 ./uboot-sd.bin
-rw-rw-r-- 1 lubuntu 1,2K sep 26  2012 vold.fstab
-rw-r--r-- 1 lubuntu 4,4M jul 12  2011 ./uImage4
-rw-r--r-- 1 lubuntu 75M sep 29  2012 ./android-fs4.tar.gz
mount: el dispositivo especial /dev/sdb11 no existe     (mount: the special device /dev/sdb11 don't exist)
root@lubuntu:/home/lubuntu/Desktop/tmp# 


El martes, 25 de septiembre de 2012 11:55:30 UTC-3, ffxx68 escribió:

ffxx68

unread,
Dec 4, 2013, 11:02:24 AM12/4/13
to renesas-...@googlegroups.com
Ok. First of all, forget first method "Renesas-BootSD", being obsolete. I should remove it from repository...
About running the scripts, you should give /dev/sdb (omit the "1") as input parameter. That's the  "disk" device label, while /dev/sdb1 is the file system already present onto it. We're going to re-create file systems on disk with these scripts.

Felipe Morales

unread,
Dec 26, 2013, 4:48:22 PM12/26/13
to renesas-...@googlegroups.com
wifislax tmp # sudo sh part_sd.sh /dev/sdb

(1) Partioning sd card ...
.
(2) Creating file systems ... will take a while!
wifislax tmp # sudo sh create_sd.sh /dev/sdb

(1) Checking file availabilities ...
-rw-r--r-- 1 root 8,0K oct 12  2011 ./sdboot.bin
-rw-r--r-- 1 root 118K oct 12  2011 ./uboot-sd.bin
-rw-r--r-- 1 root 1,2K sep 26  2012 vold.fstab
-rw-r--r-- 1 root 4,5M dic 20  2011 ./uImage4
-rw-r--r-- 1 root 75M dic 26 18:31 ./android-fs4.tar.gz
(2) Copying boot files
«./sdboot.bin» -> «./_tmp_/pboot/sdboot.bin»
«./uImage4» -> «./_tmp_/pboot/uImage»
«./uboot-sd.bin» -> «./_tmp_/pboot/uboot-sd.bin»
(3) Extracting Android fs
«./vold.fstab» -> «./_tmp_/pandroid/system/etc/vold.fstab»
«./_tmp_/pandroid/init.rc.fix» -> «./_tmp_/pandroid/init.rc»
(3) Cleaning up /data partition
(4) Cleaning up env
(5) Sync ...
DONE.
wifislax tmp #

works, but doesn't work on the tablet

Felipe Morales

unread,
Dec 27, 2013, 3:11:17 PM12/27/13
to renesas-...@googlegroups.com
wifislax tmp # sudo sh part_sd.sh /dev/sdb
(1) Partioning sd card ...
.
(2) Creating file systems ... will take a while!
DONE.

wifislax tmp # sudo sh create_sd.sh /dev/sdb
(1) Checking file availabilities ...
-rwxrwxrwx 1 root 8,0K oct 12  2011 ./sdboot.bin
-rwxrwxrwx 1 root 118K oct 12  2011 ./uboot-sd.bin
-rwxrwxrwx 1 root 4,5M dic 20  2011 ./uImage
-rw-r--r-- 1 root 75M dic 27 15:58 ./android-fs4.tar.gz

(2) Copying boot files
«./sdboot.bin» -> «./_tmp_/pboot/sdboot.bin»
«./uImage» -> «./_tmp_/pboot/uImage»

«./uboot-sd.bin» -> «./_tmp_/pboot/uboot-sd.bin»
(3) Extracting Android fs
(3) Cleaning up /data partition
(4) Cleaning up env
(5) Sync ...
DONE.
wifislax tmp #

Everything is ok, but nothing happend. I uploaded the scripts used. And firmware is M9_20111220
create_sd.sh.zip

ffxx68

unread,
Jan 7, 2014, 8:11:14 AM1/7/14
to renesas-...@googlegroups.com
"nothing happend"... means? You started with SD card in, using Vol+ & Pwr and nothing appeared on screen?
How long did you wait? It takes up to 20 seconds sometimes to make the "android" logo appear...
We should look at the serial output dump (not easy to do...).

Felipe Morales

unread,
Jan 7, 2014, 12:23:58 PM1/7/14
to renesas-...@googlegroups.com
Sd card, vol+ & Pwr, 20 sec, 30 sec, 1 min, 2 min .... nothing on screen.
The same with vol- & Pwr combination.
Reply all
Reply to author
Forward
0 new messages