Page 3 of 13

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Fri Dec 23, 2016 12:43 pm
by daz
caseycullen wrote:
xeno74 wrote:Please try it with mem=3500M.
Also, does this correspond to the physical memory in the system? Can it be edited to reflect the actual physical memory present?
This is due to the way the P5020 (and possibly the P5040 I don't know) map memory.

They map all the ram in a single block starting a 0x00000000 and anding at <RAM-SIZE> If you have more than 3568 M of Ram you will have RAM with physical addresses of 0xdf000000 - 0xffffffff

These addresses are reserved for registers and inbound windows in the PCI-e controllers, and therefore cannot be DMA'd to. The kernel will incorrectly allocate ring-buffers in this range if you don't limit the amount of RAM reported. There is a possible fix in the pipeline, but it looks like it either doesn't work or hasn't made it to mainline yet.

We are aware of the problem, and so are NXP, it is being worked on.

For now stick with MEM=3500M

Regards
Darren

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Tue Dec 27, 2016 2:30 am
by caseycullen
daz wrote: This is due to the way the P5020 (and possibly the P5040 I don't know) map memory.

They map all the ram in a single block starting a 0x00000000 and anding at <RAM-SIZE> If you have more than 3568 M of Ram you will have RAM with physical addresses of 0xdf000000 - 0xffffffff
Interesting, thanks for sharing the information. Hopefully a work-around can be determined.

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sat May 06, 2017 4:50 am
by daveyw
xeno74 wrote:
JohnFante wrote: I get an error after line 2 "fatload usb 0:1 1000000 uImage-cyrus" saying "** Bad device usb 0 **"
Hi JohnFante,

First, please run the command usb reset. After that try it again.

With usb info and usb tree you can see all USB devices including your flash drive. The best command is usb storage. It shows only USB storage devices. With ls usb 0:1 you can see the files in the partition. On usb 0:1 you should see the kernels, dtb files, and initrds. On usb 0:2 you should see the root file system of Linux.

Another questions: Which storage capacity does your USB flash drive have? Did you test it on all USB ports?

Cheers,
Christian
I am having the same problem. Neither usb reset or usb init make a difference. Sometimes I get a "timeout" error instead.

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sat May 06, 2017 6:04 am
by caseycullen
daveyw wrote:I am having the same problem. Neither usb reset or usb init make a difference. Sometimes I get a "timeout" error instead.
Have you tried using a different USB drive? I have one SanDisk drive that I can successfully boot from, and SanDisk Cruiser drive that I cannot, even though it works fine for everything else.

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sun May 07, 2017 12:30 am
by daveyw
caseycullen wrote:Have you tried using a different USB drive? I have one SanDisk drive that I can successfully boot from, and SanDisk Cruiser drive that I cannot, even though it works fine for everything else.
Yep, tried three different drives.

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sun May 07, 2017 3:52 pm
by xeno74
daveyw wrote:
caseycullen wrote:Have you tried using a different USB drive? I have one SanDisk drive that I can successfully boot from, and SanDisk Cruiser drive that I cannot, even though it works fine for everything else.
Yep, tried three different drives.
Have you seen any error messages? Does the Linux kernel load from the USB flash drive?

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sun May 14, 2017 1:11 am
by daveyw
xeno74 wrote:Have you seen any error messages? Does the Linux kernel load from the USB flash drive?
Got it working! Bought an 8GB Sandisk Cruzer Switch drive, and it worked great.

Currently writing this in Firebox on ubuntu.

Very trepidatious about installing it alongside OS4.1...

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Sun May 14, 2017 4:32 am
by xeno74
daveyw wrote:
xeno74 wrote:Have you seen any error messages? Does the Linux kernel load from the USB flash drive?
Got it working! Bought an 8GB Sandisk Cruzer Switch drive, and it worked great.

Currently writing this in Firebox on ubuntu.

Very trepidatious about installing it alongside OS4.1...
Well done! :-)

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Thu Jun 22, 2017 11:02 am
by xeno74
Hi All,

I successfully installed ubuntu MATE 16.04.2 LTS from the MATE PowerPC Remix 2017 on my AmigaOne X5000 today.

OK, here are the installation instructions:
  1. Download the image from the following link: Amigaone_Ubuntu_16.04-Base-1.img.7z
  2. Decompress the downloaded image with 7-Zip
  3. Copy it with dd to a USB flash drive.

    Code: Select all

    sudo dd if=Amigaone_Ubuntu_16.04-Base-1.img of=disk drive ID
    In my case /dev/sdb:

    Code: Select all

    sudo dd if=Amigaone_Ubuntu_16.04-Base-1.img of=/dev/sdb
  4. After that unplug the USB flash drive and reinsert it again.
  5. Copy the system partition from the USB flash drive with dd to another partition on your X5000.

    Code: Select all

    sudo dd if=system partition on the USB flash drive of=partition on your X5000
    In my case /dev/sdb2 to /dev/sda2:

    Code: Select all

    sudo dd if=/dev/sdb2 of=/dev/sda2
  6. The ROOT partition is very small (1.8GB). You have to increase it with GParted.
  7. Then reboot your X5000
    Ubuntu Xenial Xerus (development branch) Amigaone tty1

    Amigaone login:
  8. The login details are as follows:

    Username of amigaone has the password amigaone
  9. I installed the ubuntu MATE desktop with the following commands:

    Code: Select all

    sudo apt-get update

    Code: Select all

    sudo apt-get install ubuntu-mate-desktop
    - [this will take some time to complete depending on the speed of your internet connection]

    Code: Select all

    sudo apt-get upgrade
  10. After that reboot your X5000 with:

    Code: Select all

    sudo reboot
  11. The ubuntu MATE login screen appears. Please login.

    Username of amigaone has the password amigaone
Here you are. :-)

Image

Cheers,
Christian

Re: ubuntu MATE 16.04.1 LTS Live USB

Posted: Thu Jun 22, 2017 12:11 pm
by Spectre660
@Xeno74

Christian ,

There is also my debian based installer ramdisk for installing Ubuntu Mate 16.04 .
https://drive.google.com/open?id=0BxoZd ... 3RvbWpfeWc

usb init
setenv bootargs root=/dev/ramdisk mem=3500M radeon.pcie_gen2=1
fatload usb 0:1 1000000 uImage-cyrus
fatload usb 0:1 1c00000 cyrus_5020.dtb
fatload usb 0:1 2000000 uRamdisk_Ubuntu-Mate_16.04_net
bootm 1000000 2000000 1c00000

Regards
Julian