Show Posts
|
|
Pages: 1 [2] 3
|
|
16
|
Linux Stuff / Linux distributions / Re: The alternative Debian install method.
|
on: February 15, 2013, 06:55:05 AM
|
I'll add a reply since there's no Edit option: On Mint logged on as root, after running the script as root, I tried copying the /debian directory to a USB keydrive connect to the PC, but it fails with "Cannot create symbolic link: "/media/USBKeydrive/debian/bin/<some program>': Operation not permitted". So I targzed the script + ./debian directory, unplugged the USB keydrive, plugged it into the SheevaPlug, SSHed to it, untargzed the file, re-ran the script for Stage2, and I'm prompted to install some packages: root@debian:/tmp# ./DebianSheeva1-6.sh Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils wget Suggested packages: binutils-doc The following NEW packages will be installed: binutils debootstrap wget 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1706kB of archives. After this operation, 10.1MB of additional disk space will be used. Do you want to continue [Y/n]? Y
... at which point I prefered to hit CTRL+C to make sure I'm not about to break it: What does the Alternative Debian install method really do? Does it replace Ubuntu 9.04 with Debian Squeeze? Does it take care of upgrading the boot loader as well? Or is it meant to get used with the SheevaPlug Installer? Thank you.
|
|
|
|
|
19
|
Linux Stuff / Linux distributions / Re: The alternative Debian install method.
|
on: February 14, 2013, 08:13:38 AM
|
Hello Just a couple of questions before I try this solution to upgrade my SheevaPlug from Ubuntu 9.04 to Debian 6.0.6 Squeeze: 1. I assume the SheevaPlug 003-SP1001 (bought from New IT) only has internal memory, no SD card. Should I buy one to upgrade to Debian? 2. I'm not sure how this alternative method works: Is there a script I should first on an Ubuntu or Debian PC which will generate a root filesystem, copy that filesystem on the SheevaPlug, and run a second script that will take care of upgrading everything? Thank you.
|
|
|
|
|
22
|
Linux Stuff / General Linux questions / Re: [SheevaPlug] Which distro to upgrade to? Running Freeswitch?
|
on: February 14, 2012, 08:13:19 AM
|
I also am running Freeswitch on a Sheevaplug for my home PBX. I origonally compiled version 1.0.4 but I think I am now running 1.0.8. I am using Debian Wheezy with a kernel 3.0.3. I natively compiled with the latest gcc available at the time. Thanks guys for the feedback. I'll order the book on Freeswitch. I'd rather cross-compile the distro (Debian, I guess) + Freeswitch on an x86 running Ubuntu 11.04. Is there a tutorial on setting things up?
|
|
|
|
|
24
|
Linux Stuff / General Linux questions / [SheevaPlug] Which distro to upgrade to? Running Freeswitch?
|
on: February 02, 2012, 06:15:57 AM
|
Hello I'm currently running the stock Ubuntu 9.04 on a SheevaPlug (CPU is ARM926EJ-S rev 1 (v5l)), and have a couple of questions: - Which distributions are recommended for an upgrade, since newer releases of Ubuntu won't run on that CPU? It looks like most people go for Debian: Is this the case, or should I check other distros?
- After upgrading the device, I'd like to run Freeswitch: If you use that application, does it run well on the Sheevaplug? If that's the case, any tip on compiling/installing/running Freeswitch is appreciated
Thank you.
|
|
|
|
|
25
|
General Category / General Discussion / USB handset with SheevaPlug?
|
on: July 26, 2011, 01:17:30 AM
|
Hello Last year, I bought a SheevaPlug (a.k.a. Plug Computer Basic), which has a regular USB port. To turn the SheevaPlug into a telephony solution with Asterisk, I was wondering if someone had successfully connected a USB handset to the SheevaPlug's USB port. That would make a simpler design than adding an IP phone to the mix. Thank you.
|
|
|
|
|
28
|
Linux Stuff / General Linux questions / "UBI device does not have free logical eraseblocks"?
|
on: May 31, 2011, 05:53:19 AM
|
Hello I'm quite new to embedded Linux, and don't know how to compile a Ubifs root filesystem + Ubi volume so that it'll work on a 256MiB NAND flash with 248 MiB available in the second partition to hold the root filesystem. Here's what I used: On the workstation # mkfs.ubifs -v --squash-uids -m 2048 -e 204800 -c 1024 -d ./romfs -D ./vendors/mfg/board/device_table-min.txt -o ./images/rootfs.ubifs
On the appliance # cat /proc/mtd dev: size erasesize name mtd0: 00800000 00001000 "ROMfs" mtd1: 00800000 00020000 "linux kernel(nand)" mtd2: 0f800000 00020000 "file system(nand)"
# ubiattach /dev/ubi_ctrl -m 2 UBI: attaching mtd2 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: volume 0 ("rootfs") re-sized from 1626 to 1961 LEBs UBI: attached mtd2 to ubi0 UBI: MTD device name: "file system(nand)" UBI: MTD device size: 248 MiB UBI: number of good PEBs: 1984 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 1984 UBI: number of PEBs reserved for bad PEB handling: 19 UBI: max/mean erase counter: 10/5 UBI: image sequence number: 364645537 mtd: Giving out device 3 to rootfs UBI: background thread "ubi_bgt0d" started, PID 69 UBI device number 0, total 1984 LEBs (255983616 bytes, 244.1 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
# mdev -s
# ubinfo /dev/ubi0 -a ubi0: Volumes count: 1 Logical eraseblock size: 129024 Total amount of logical eraseblocks: 1984 (255983616 bytes, 244.1 MiB) Amount of available logical eraseblocks: 0 (0 bytes) Maximum count of volumes 128 Count of bad physical eraseblocks: 0 Count of reserved physical eraseblocks: 19 Current maximum erase counter value: 11 Minimum input/output unit size: 2048 bytes Character device major/minor: 251:0 Present volumes: 0
Volume ID: 0 (on ubi0) Type: dynamic Alignment: 1 Size: 1961 LEBs (253016064 bytes, 241.3 MiB) State: OK Name: rootfs Character device major/minor: 251:1
# ubimkvol /dev/ubi0 -N test --lebs=51 ubimkvol: error!: UBI device does not have free logical eraseblocks
Could someone tell me what numbers to use in mkfs.ubifs and ubimkvol so that I can proceed with "mount"? Thank you.
|
|
|
|
|
30
|
Linux Stuff / Linux distributions / Recommended distros to upgrade SheevaPlug?
|
on: November 10, 2010, 07:20:07 AM
|
|
Hello
I read the first post in this forum where it explains that it's not possible to upgrade the Ubuntu 9.04 that comes with the SheevaPlug to a more recent version of Ubuntu due to differences in compiling options.
As of November 2010, what are the recommended distributions to bring the SheevaPlug up to date?
Thank you.
|
|
|
|
|