All times are UTC-06:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Wed Nov 17, 2010 1:34 am 
Offline

Joined: Tue Nov 16, 2010 10:08 am
Posts: 3
Hi,

I want to re-install my Efica MX Smartbook to start from scratch.

I already managed to create an SD card uzing the installer-sd.img.lzma image.
Code:
lzma -dc installer-sd.img.lzma | sudo dcfldd of=/dev/sdc bs=4M status=on statusinterval=1

When I restasrt/reboot the smartbook however it keeps on running from internal flash and not from the sd card.

Should I press some buttons to get into the proper bootmode first ?

Thanks,


[


Last edited by ccarm on Wed Nov 17, 2010 2:31 am, edited 2 times in total.

Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 2:22 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Did you download this one?
Code:
SD Card Installer for Efika MX [TO2 ONLY]

» installer-sd.img.lzma (2009-12-22, 158 MB, LZMA archive)
This is for old smarttops only, not for the smartbook.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 2:29 am 
Offline

Joined: Tue Nov 16, 2010 10:08 am
Posts: 3
Indeed, I downloaded the installer-sd.img.


Should I use the 'maverick-minimal.tar.lzma' instead n?


EDIT:

I've flashed the maveric-minimal.tar.lzma however the Efika SmartBook still doesn't boot from SD card.


Any other hints ?


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 2:50 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
That's not an SD image, but you should be able to create one based on that. AFAIR http://blog.efikamx.info/ and the forums have enough information to do it. I plan to prepare an SD card this week, but most likely only during the weekend...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 7:34 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
post removed as it references an old installer SD

To update your Efika to the latest Maverick please use the SD image here:

http://www.powerdeveloper.org/platforms/efikamx/linux

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 8:03 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
I created an SD image using maverick-minimal.tar.lzma ( http://www.powerdeveloper.org/asset/by-id/107 ) and the latest available kernel (2.6.31.14.7-efikasb).

The image is available at http://genesi.hu/sb_rescue_2GB.dd.lzma

user/pass: oem

It's very basic, as the name of the source archive also suggests, but good enough to boot from and access your broken /dev/sda and edit some files.

Standard disclaimer: there is no warranty, use at your own risk, it works for me, etc. :-)
We have a new image for the Smartbook this week that will also update the Smarttop (one SD card, both boards, yay!) - but we're still fighting one last bug.

Target date is Friday or Saturday (depends on your timezone).

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 3:56 am 
Offline

Joined: Tue Nov 16, 2010 10:08 am
Posts: 3
Thanks.

I managed to boot with the minimal version on the sd card.

Did an fsck on the flash filesystem and it completely was corrupted (ran for 10 min spawning inode errors using fsck -y option)

Next step is to reinstall the whole thing.


Top
   
PostPosted: Thu Nov 18, 2010 3:43 pm 
Offline

Joined: Thu Nov 18, 2010 3:24 pm
Posts: 1
Thanks to this image I was able to get my efikasb to boot again (advice: do not try to install bootchart!)

In the hope this story could be useful to someone else, here is how I did it:

- plug sdcard then boot the sb (it wouldn't boot without the power cable for some reason)

- log in (oem/oem)

- mount the disk and chroot into it
Code:
sudo -s
cd /mnt
mkdir hd
mount -t ext4 /dev/sda2 hd
chroot hd
- mount other filesystems (not sure they are all necessary)
Code:
mount -t devtmpfs none /dev
mount -t ext2 /dev/sda1 /boot
mount -t proc none /proc
mount -t sysfs none /sys
mount -t devpts none /dev/pts
mount -t tmpfs none /dev/shm
mount -t tmpfs none /var/run
mount -t tmpfs none /var/lock
- "Fix" the root device to ensure the root= kernel option is correct in next step
Code:
cd /dev
rm root
ln -s sda2 root
- Reinstall the kernel (you may need to adjust the version number)
Code:
dpkg-reconfigure linux-image-2.6.31.14.2-ekikasb
- Reboot, it should be good

Thanks a lot for providing this sd image!


Top
   
 Post subject:
PostPosted: Wed Dec 29, 2010 7:57 pm 
Offline

Joined: Tue Feb 03, 2009 7:32 am
Posts: 19
Location: Toronto, Canada
All,

I read through this thread trying to get help for an issue which I have currently with my efika mx smartbook.

I recently updated the kernel on a working system to the latest version available at:
Code:
http://www.powerdeveloper.org/platforms/efikamx/kernel
kernel: linux-image-2.6.31.14.12-efikasb_10.08.00_armel.deb (2010-12-05, 8 MB, Debian package)
After doing so (dpkg --install linux-image...), my smartbook no longer boots. It appears to start booting, then hangs at the message:
Code:
[ ms ] Waiting for root device /dev/sda2...
In an attempt to rescue my system, I prepared an SD card from the maverick-installer.img taken from http://www.powerdeveloper.org/asset/by-id/113

Mouting the SD card on another Linux based system, the card appears to be ok:
Code:
/dev/sdb2 on /media/installer type ext4 (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/disk type ext2 (rw,noexec,nosuid,nodev)

[root@localhost ~]# parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: ChipsBnk Multi-Reader (scsi)
Disk /dev/sdb: 7959MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 128MB 127MB primary ext2
2 128MB 1700MB 1572MB primary ext3

[root@localhost disk]# cd /media/disk
[root@localhost disk]# ls -la
total 34257
drwxr-xr-x 3 root root 1024 Dec 7 19:57 .
drwxr-xr-x 4 root root 4096 Dec 29 19:03 ..
-rwxr-xr-x 1 root root 1704 Dec 2 20:25 boot.scr
-rw-r--r-- 1 root root 474 Dec 2 15:48 boot.scr-efikamx
-rw-r--r-- 1 root root 474 Dec 2 15:48 boot.scr-efikasb
-rwxr-xr-x 1 root root 1632 Dec 2 20:23 boot-script-installer
-rwxr-xr-x 1 root root 1646 Dec 2 20:23 boot-script-installer-debug
-rw-r--r-- 1 root root 65473 Dec 2 15:48 config-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 65601 Dec 2 15:48 config-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 6253539 Dec 2 16:12 initrd.img-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 6245283 Dec 2 20:24 initrd.img-2.6.31.14.12-efikasb
-rwxr-xr-x 1 root root 281 Dec 1 01:02 kernel-prep
drwx------ 2 root root 12288 Dec 7 19:43 lost+found
-rwxr-xr-x 1 root root 76 Dec 1 01:02 script-prep
-rw-r--r-- 1 root root 856891 Dec 2 15:48 System.map-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 864308 Dec 2 15:48 System.map-2.6.31.14.12-efikasb
-rwxr-xr-x 1 root root 149496 Dec 2 18:51 u-boot-2009.01-2.0.6-efikamx
-rwxr-xr-x 1 root root 165060 Dec 2 18:51 u-boot-2009.01-2.0.6-efikasb
-rw-r--r-- 1 root root 1926372 Dec 7 18:51 uImage-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 1934572 Dec 7 18:51 uImage-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 6253603 Dec 7 18:51 uInitrd-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 6245347 Dec 7 18:51 uInitrd-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 1926308 Dec 2 15:48 vmlinuz-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 1934508 Dec 2 15:48 vmlinuz-2.6.31.14.12-efikasb
However, with the SD card inserted, it appears to still boot from the internal *disk* (hangs with same error).

I have also unsuccessfully tried to boot the system from an SD card which was prepared with sb_rescue_2GB.dd.lzma. In this case, the system remains with a blank screen when powered up (I let it sit for 5 minutes or so).

Any pointers would be greatly appreciated.


Top
   
 Post subject:
PostPosted: Thu Dec 30, 2010 3:19 am 
Offline

Joined: Sun Oct 03, 2010 1:28 pm
Posts: 14
Location: France
I've the same problem on my smartbook. It never boot from SD!

Here:
http://www.powerdeveloper.org/forums/vi ... php?t=1907


Top
   
 Post subject:
PostPosted: Thu Dec 30, 2010 8:11 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
All,

I read through this thread trying to get help for an issue which I have currently with my efika mx smartbook.

I recently updated the kernel on a working system to the latest version available at:
Code:
http://www.powerdeveloper.org/platforms/efikamx/kernel
kernel: linux-image-2.6.31.14.12-efikasb_10.08.00_armel.deb (2010-12-05, 8 MB, Debian package)
After doing so (dpkg --install linux-image...), my smartbook no longer boots. It appears to start booting, then hangs at the message:
Code:
[ ms ] Waiting for root device /dev/sda2...
In an attempt to rescue my system, I prepared an SD card from the maverick-installer.img taken from http://www.powerdeveloper.org/asset/by-id/113

Mouting the SD card on another Linux based system, the card appears to be ok:
Code:
/dev/sdb2 on /media/installer type ext4 (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/disk type ext2 (rw,noexec,nosuid,nodev)

[root@localhost ~]# parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: ChipsBnk Multi-Reader (scsi)
Disk /dev/sdb: 7959MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 128MB 127MB primary ext2
2 128MB 1700MB 1572MB primary ext3

[root@localhost disk]# cd /media/disk
[root@localhost disk]# ls -la
total 34257
drwxr-xr-x 3 root root 1024 Dec 7 19:57 .
drwxr-xr-x 4 root root 4096 Dec 29 19:03 ..
-rwxr-xr-x 1 root root 1704 Dec 2 20:25 boot.scr
-rw-r--r-- 1 root root 474 Dec 2 15:48 boot.scr-efikamx
-rw-r--r-- 1 root root 474 Dec 2 15:48 boot.scr-efikasb
-rwxr-xr-x 1 root root 1632 Dec 2 20:23 boot-script-installer
-rwxr-xr-x 1 root root 1646 Dec 2 20:23 boot-script-installer-debug
-rw-r--r-- 1 root root 65473 Dec 2 15:48 config-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 65601 Dec 2 15:48 config-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 6253539 Dec 2 16:12 initrd.img-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 6245283 Dec 2 20:24 initrd.img-2.6.31.14.12-efikasb
-rwxr-xr-x 1 root root 281 Dec 1 01:02 kernel-prep
drwx------ 2 root root 12288 Dec 7 19:43 lost+found
-rwxr-xr-x 1 root root 76 Dec 1 01:02 script-prep
-rw-r--r-- 1 root root 856891 Dec 2 15:48 System.map-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 864308 Dec 2 15:48 System.map-2.6.31.14.12-efikasb
-rwxr-xr-x 1 root root 149496 Dec 2 18:51 u-boot-2009.01-2.0.6-efikamx
-rwxr-xr-x 1 root root 165060 Dec 2 18:51 u-boot-2009.01-2.0.6-efikasb
-rw-r--r-- 1 root root 1926372 Dec 7 18:51 uImage-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 1934572 Dec 7 18:51 uImage-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 6253603 Dec 7 18:51 uInitrd-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 6245347 Dec 7 18:51 uInitrd-2.6.31.14.12-efikasb
-rw-r--r-- 1 root root 1926308 Dec 2 15:48 vmlinuz-2.6.31.14.12-efikamx
-rw-r--r-- 1 root root 1934508 Dec 2 15:48 vmlinuz-2.6.31.14.12-efikasb
However, with the SD card inserted, it appears to still boot from the internal *disk* (hangs with same error).

I have also unsuccessfully tried to boot the system from an SD card which was prepared with sb_rescue_2GB.dd.lzma. In this case, the system remains with a blank screen when powered up (I let it sit for 5 minutes or so).

Any pointers would be greatly appreciated.
It seems at first it didn't update to the new U-Boot. Second of all please do not use Peter's rescue image (just edit the etc/rc.local on the Maverick SD to remove the /home/oem/install line)

When you're booting with the new kernel from an old system, since we modularized PATA and MMC subsystems to match the rest of Ubuntu, you MAY (if it didn't autodetect the need for it, sometimes it doesn't) need to add
Code:
pata_fsl
mx_sdhci
mmcblock
to /etc/initramfs-tools/modules

And then run
Code:
update-initramfs -c -k 2.6.31.14.12-efikamx
flash-kernel 2.6.31.14.12-efikamx
Before it is useful (or, add those lines and then remove and reinstall the kernel package).

flash-kernel should run automatically from update-initramfs but somehow it doesn't. It's always safer to run it manually if you update yourself. The packaging system will run it automatically though since we added the support for this in the new Maverick image.

Pretty much everything can be solved with an update to the new image. The number of changes we made aren't huge and they're all fiddly little config updates.

We'll be providing a new image very shortly which will allow updating to a system with the accelerated graphics and hopefully we will have solved some of these.

Apologies for how "quirky" it is, but without decent mainline support in Ubuntu this is how we have to live with the machine operaton. Some of the things we
"fixed" don't seem to fail for any good reason in the first place, and others that stay broken are because the defaults in Ubuntu are very hard to change when gconf is concerned..

First though let's make sure you're at the latest U-Boot..

_________________
Matt Sealey


Last edited by Neko on Thu Dec 30, 2010 8:16 am, edited 2 times in total.

Top
   
 Post subject:
PostPosted: Thu Dec 30, 2010 8:11 am 
Offline

Joined: Tue Feb 03, 2009 7:32 am
Posts: 19
Location: Toronto, Canada
I'll try with another SD card today (a 2 GB card rather than the 8 GB card that I've been testing with so far). We'll see if that makes any difference whatsoever.


Top
   
 Post subject:
PostPosted: Thu Dec 30, 2010 8:33 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
I'll try with another SD card today (a 2 GB card rather than the 8 GB card that I've been testing with so far). We'll see if that makes any difference whatsoever.
It's not the SD that is the problem I don't think.

The U-Boot SD card has been updated to image both boards. Unfortunately some of the Smartbook production would not boot from ext2 partitions so this U-Boot update is a required first step for these systems.

http://www.powerdeveloper.org/platforms/efikamx/linux

Due to a little quirk we didn't solve, the update operation on Smarttops is as follows:

[*] Boot SD card in Smarttop
[*] LED will go green and the system will flash the firmware
[*] LED will blink blue (dim, then bright) 3 times to count down the U-Boot timeout (you may insert an SD card before or during this time).
[*] It will then blink the red LED to denote hard disk or SD card activity for the boot process

At this point it will *hang* because it is not booting anything (boot.scr is written to power it off but power off doesn't seem to do anything). It is perfectly safe to turn the machine off using the power button (hold down for 4 seconds) or removing AC while the LED is solid blue.

It is not possible to boot the Smarttop again from this SD card, however it will work in any other Smarttop or Smartbook (no damage is caused but it's designed to bail out).

On Smartbook:

[*] Boot Smartbook from SD card
[*] After about 5 seconds, Caps Lock LED will blink 3 times for the U-Boot timeout, then shut down automatically. This SD card will now always just shut down the system.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Thu Dec 30, 2010 11:44 am 
Offline

Joined: Tue Feb 03, 2009 7:32 am
Posts: 19
Location: Toronto, Canada
Thanks Matt. I've updated the U-boot on my system with the efikamx-updater.img (written to a 2GB SD card). That appeared to work successfully on my smartbook.

Following this, I happened to have sb_rescue_2GB.dd on a second SD card. I confirmed that my smartbook can now boot from the SD card with this image.

Following your advise, I'm now preparing an SD card with the latest maverick-installer.img. I plan to run this later today.

Update:

I've booted the system from the SD card with the efikamx-updater.img. The update/install appears to be progressing normally. Thanks for helping me to unbrick my system.

Cheers,

Gabor


Top
   
 Post subject:
PostPosted: Tue Jan 04, 2011 7:40 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Thanks Matt. I've updated the U-boot on my system with the efikamx-updater.img (written to a 2GB SD card). That appeared to work successfully on my smartbook.

Following this, I happened to have sb_rescue_2GB.dd on a second SD card. I confirmed that my smartbook can now boot from the SD card with this image.

Following your advise, I'm now preparing an SD card with the latest maverick-installer.img. I plan to run this later today.

Update:

I've booted the system from the SD card with the efikamx-updater.img. The update/install appears to be progressing normally. Thanks for helping me to unbrick my system.

Cheers,

Gabor
Good! :)

_________________
Matt Sealey


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 15 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group