Re: MIPS64EL rootfs available for use and test
On 11/11/2013 09:57 AM, YunQiang Su wrote: Hi, folks, In the recent days, I figure out the mips64el rootfs and test it on Loongson 3A platform. It works well in general, it's time to release it. It can be download from: http://mips64el.debian.net/debian/rootfs/ Nice! I tested it on our OCTEON boards. Seems to be working. I had to enable CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT in my kernel and edit /etc/inittab to put gettys on my serial ports, and set the root password. But after that, it works seemingly without a hitch. To install it, what you need to do is just unpack it to a partition and configure kernel/bootloader/fstab by yourself. This is a more detailed instruction for Loongson 3A users: http://mips64el.debian.net/debian/rootfs/README Know issues: 1. MIPS64r2 ISA is required, while we have made a agree to downgrade the requirement to mips3 in future. 2. The permission is of /usr/bin/crontab is not correct, so you need to: apt-get install cron --reinstall 3. some files in /var/cache/man are not correct, you need to: rm -rf /var/cache/man/* ; mandb PS: we have 8500+ packages built now. Happy hacking, and I am wishing your feedback. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52841350.2010...@caviumnetworks.com
Re: MIPS64EL rootfs available for use and test
On 11/13/2013 04:32 PM, YunQiang Su wrote: On Thu, Nov 14, 2013 at 8:03 AM, David Daney wrote: On 11/11/2013 09:57 AM, YunQiang Su wrote: Hi, folks, In the recent days, I figure out the mips64el rootfs and test it on Loongson 3A platform. It works well in general, it's time to release it. It can be download from: http://mips64el.debian.net/debian/rootfs/ Nice! I tested it on our OCTEON boards. Seems to be working. I had to enable CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT in my kernel and edit /etc/inittab to put gettys on my serial ports, and set the root password. But after that, it works seemingly without a hitch. Great news, while wait... does OCTEON support little endian? Yes. The kernel.org kernel doesn't yet contain full little-endian support, but getting little-endian support merged is on our list of things to do. David Daney To install it, what you need to do is just unpack it to a partition and configure kernel/bootloader/fstab by yourself. This is a more detailed instruction for Loongson 3A users: http://mips64el.debian.net/debian/rootfs/README Know issues: 1. MIPS64r2 ISA is required, while we have made a agree to downgrade the requirement to mips3 in future. 2. The permission is of /usr/bin/crontab is not correct, so you need to: apt-get install cron --reinstall 3. some files in /var/cache/man are not correct, you need to: rm -rf /var/cache/man/* ; mandb PS: we have 8500+ packages built now. Happy hacking, and I am wishing your feedback. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52841d71.3090...@caviumnetworks.com
Re: MIPS64EL rootfs available for use and test
On 11/14/2013 03:31 AM, Graham Whaley wrote: [...] Hi David, out of interest, do you know if there are any commercially (ideally easily and cheaply ;-) available boards out there that can run Octeon little endian? I don't know... afaik things like the CN5020 based boards like the Erlite-3 and CAM-0100 only do big, and afaik there is no (documented) way to jumper them differently. On OCTEON, the endianess is under software control, it is *not* a hardware strapping option. With a suitable bootloader, we still start the system in big endian mode, but if a little-endian ELF image is loaded, we note the endianness, and switch to little endian mode as control is passed to the program entry point. It has only really been validated on OCTEON II and OCTEON III devices (cn6xxx and cn7xxx). Certianly the CPU cores on the cn5020 are capable of little endian operation. The I/O blocks on the other hand have not been validated for little endian operation on that part. It is known that the bootbus (where the NOR boot flash is connected) has problems in little endian mode on cn5020, so you probably wouldn't be able to use that from Linux. Also the USB controller on cn5020 has not been adapted and validated for little endian use, so there would be work there. My presumption is that the Cavium Octeon devboards from Cavium themselves (available I believe, but not too cheap) can do both? As I said above, it is under software control, so any board should be able to do it (given the proper software). David Daney -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52851c82.6080...@caviumnetworks.com