• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 [2] 3
Author Topic: I just got my Dreamplug  (Read 17445 times)
Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #15 on: February 24, 2011, 12:05:55 PM »

James,

Is there an official repo somewhere with factory Dreamplug images for uboot, kernel and rootfs?  There's nothing on the remository and I'm hesitant to buy one of these without it.
Logged

newitjames
Newbie
*

Karma: 2
Posts: 26



View Profile WWW
« Reply #16 on: February 24, 2011, 02:48:21 PM »

Fletch,

I believe Globalscales are currently working on it.

newitjames
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #17 on: February 24, 2011, 04:55:30 PM »

I am a bit of a newbie so please forgive any mistakes I might be making. I want to summarise what I think the current situation with the Dreamplug is.

Right now we can boot up the DreamPlug and

1) back up the uImage file in /media/usb to a USB drive (say /media/usb4)

2) do "dd if=/dev/sda2 of=/media/usb4/rootfs.img bs=4M" to back up the root file system as an image file

This backs up the uImage file and the root file system.

But we don't have a way of backing up u-boot and there doesn't seem to be a way of getting a backup u-boot image file (yet) from GS.

Right now we can install gcc and then download the latest u-boot sources and then compile a new u-boot. But right now we don't have a way of installing in onto the Dreamplug or restoring the old u-boot if the newer one does not work properly.

Did I understand the issues correctly?
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #18 on: February 24, 2011, 05:03:18 PM »

Just curious, where did you buy your Dreamplug?  I just noticed that the newit website says it ships with a 1GB uSD, but the GSI website says 2GB.
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #19 on: February 24, 2011, 05:25:47 PM »

The internal SD card is 1 GB.
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #20 on: February 24, 2011, 05:35:43 PM »

From what I read we can:

1) go to sheeva-with-linux.com and get an uImage file for kernel 2.6.37.1
2) get the modules.tar.gz for 2.6.37.1
3) load these onto a USB stick with the root.fs.img file that we generated from our dreamplugs internal sd card

then we could do something like (by changing our boot arguments)

usb start
fatload usb 1 0x6400000 uImage

I think this would allow us to boot with the newer kernel and then we would log in as root, cd / and extract modules.tar.gz from the USB stick using tar xvf

Is that correct?
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #21 on: March 16, 2011, 07:30:22 PM »

<http://code.google.com/p/dreamplug/downloads/list> has downloads with the Dreamplug kernel, uboot and rootfs

I was a bit confused though to see the rootfs separated into three ~ 99 MB files.

Why did they do that?
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #22 on: March 17, 2011, 12:12:19 PM »

I extracted the Dreamplug repository and found that etc/debian_version contains "5.0" but my Dreamplug shipped with "5.0.3"

The repository software seems different from what my Dreamplug shipped with.

Does anyone know exactly how to use the repository? Do I just take a USB flash drive and then create two partitions on it and then install uImage into the FAT partition and then copy the repository files into an ext2 partition and then run the dreamplug using boot parameters set to read from the USB drive?

Is it that easy?
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #23 on: March 17, 2011, 12:28:00 PM »

I just got mine yesterday. but I think the process you descibe is about right. kernel need to be on fat partition since u-boot does not support ext2load. as long as you set the root=sdb2 or better yet, label the second partition after your format it then you can use root=LABEL=your_lable_name to boot.

have you try 'saveenv' in your u-boot yet?


Good luck Smiley
Logged

Good Luck Smiley

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #24 on: March 17, 2011, 02:48:08 PM »

I've used saveenv and set it to boot off an 16 GB SD card. I want to use the unit as a squeezeboxserver using its wireless network. So far I haven't gotten it to work.
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #25 on: March 17, 2011, 03:01:08 PM »

Good I was little bit of worry about the "saveenv" not working because the dreamplug is base on spi/NOR which the main stream u-boot is not clear on supporting kirkwood. you sure when you boot up u-boot did not said something about environment CRC error using default?

I will start working on my u-boot Wink

Thanks.
Logged

Good Luck Smiley

newitjames
Newbie
*

Karma: 2
Posts: 26



View Profile WWW
« Reply #26 on: March 17, 2011, 06:13:17 PM »

I extracted the Dreamplug repository and found that etc/debian_version contains "5.0" but my Dreamplug shipped with "5.0.3"

The repository software seems different from what my Dreamplug shipped with.


If you look in /etc/apt/sources.list you will notice that it's Ubuntu and not Debian.

Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #27 on: March 17, 2011, 07:35:57 PM »

Do you know where there might be a repository for the Debian distro that came with the Dreamplug? I think I have messed up the files on my internal SD card.

Thanks for any help.
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #28 on: March 17, 2011, 07:48:50 PM »

I tried to use the files in the Dreamplug repository but I could not get it to work. This is what I did:

1) formatted a USB drive with a fat partition and an ext2 partition
2) copied the uImage file into the fat partition
3) copied the files from the dreeamplug_rootfs archive into the ext2 partition
4) changed uboot to fatload the uImage from the usb stick
5) changed uboot to boot from the usb drives ext2 partition

Booting starts but ends with a kernel panic that says:
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Does anyone know what might be wrong? Thanks for any help.
Logged

bwooster0
Newbie
*

Karma: 0
Posts: 44


View Profile
« Reply #29 on: March 18, 2011, 03:22:07 AM »

I haven't done much with my dreamplug but the rootfs is 99% full! I thought deleting stuff in /var/log would help but it didn't help much. Anyone know what might be using up disk space?

Thanks for any help
Logged

Pages: 1 [2] 3
Print
Jump to: