ubuntu MATE 16.04.1 LTS Live USB

AmigaOne X5000 platform specific issues related to Linux only.

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby daz » Fri Dec 23, 2016 1:43 pm

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
daz
Beta Tester
Beta Tester
 
Posts: 299
Joined: Tue Dec 21, 2010 8:32 pm

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby caseycullen » Tue Dec 27, 2016 3:30 am

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.
caseycullen
 
Posts: 42
Joined: Sat Dec 17, 2016 8:12 am
Location: Madison, WI USA

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby daveyw » Sat May 06, 2017 5:50 am

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.
User avatar
daveyw
 
Posts: 114
Joined: Mon Sep 12, 2011 8:44 pm

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby caseycullen » Sat May 06, 2017 7:04 am

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.
caseycullen
 
Posts: 42
Joined: Sat Dec 17, 2016 8:12 am
Location: Madison, WI USA

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby daveyw » Sun May 07, 2017 1:30 am

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.
User avatar
daveyw
 
Posts: 114
Joined: Mon Sep 12, 2011 8:44 pm

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Sun May 07, 2017 4:52 pm

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?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 2693
Joined: Fri Mar 23, 2012 8:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby daveyw » Sun May 14, 2017 2:11 am

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...
User avatar
daveyw
 
Posts: 114
Joined: Mon Sep 12, 2011 8:44 pm

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Sun May 14, 2017 5:32 am

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! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 2693
Joined: Fri Mar 23, 2012 8:58 am

Previous

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 1 guest