-------- Original Message --------
Subject: Fwd: Fwd: Cross-Compiling for Armv7
Date: Wed, 09 Apr 2014 22:15:14 +1000
From: Robert Brown <rebrown(a)exemail.com.au>
To: luv-beginners(a)luv.asn.au
Following some research on the later kernels and the role of u-boot and
dtsb I have used the following - but again without a successful boot:
make -j5 ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- menuconfig
make -j5 ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
LOADADDR=0x40008000 uImage dtbs
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -j5
INSTALL_MOD_PATH=output modules
make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -j5
INSTALL_MOD_PATH=output modules_install
put a copy of the created uImage and arch/arm/boot/sun4i-a10-a1000.dtb
into the boot partition of the sdcard
copy the created modules to the /lib/modules on the rootfs partition
In case the existing boot.scr has some inconsistency I save this to
boot.cmd:
setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootwait ro
earlyprintk debug
ext2load mmc 0 0x46000000 uImage
ext2load mmc 0 0x49000000 sun4i-a10-a1000.dtb
env set fdt_high ffffffff
bootm 0x46000000 - 0x49000000
and run:
mkimage -C none -A arm -T script -d boot.cmd boot.scr
copy this boot.scr to the boot partition of the sdcard
When it fails to boot there's not much chance of troubleshooting as I
have not been able to get to the uboot prompt.
Anyone got any thoughts?
Thanks
Rob
-------- Original Message --------
Subject: Fwd: Cross-Compiling for Armv7
Date: Sat, 22 Mar 2014 11:02:26 +1100
From: Robert Brown <rebrown(a)exemail.com.au>
To: luv-beginners(a)luv.asn.au
Do I need to use u-boot to start uImage or can I just put a copy of it
in the boot partition? Maybe that is where the failure to boot arises.
Thanks
-------- Original Message --------
Subject: Cross-Compiling for Armv7
Date: Thu, 20 Mar 2014 21:46:03 +1100
From: Robert Brown <rebrown(a)exemail.com.au>
To: luv-beginners(a)luv.asn.au
Hi
Is anyone able to offer helpful tips or new directions with this:
I am wanting to use a usb device with ID 0bda:2838 Realtek Semiconductor
Corp. RTL2838 DVB-T on a MK802II mini pc using the Allwinner A10 cpu.
This device requires modules rtl2830.ko, rtl2832.ko and dvb_usb_rtl28xxu.
The second of these modules does not seem to exist without patches on
kernel 3.4 but on a raspberry pi I have been successful using kernel
3.10.25+.
Here is the relevant lsmod from the pi:
r820t 16279 1
rtl2832 8020 1
dvb_usb_rtl28xxu 14333 1
dvb_usb_v2 14860 1 dvb_usb_rtl28xxu
rc_core 16313 3 dvb_usb_rtl28xxu,dvb_usb_v2
rtl2830 7378 1 dvb_usb_rtl28xxu
dvb_core 92797 3 rtl2830,rtl2832,dvb_usb_v2
However when I try to compile a kernel for the A10 with 3.10.25+ I have
no success.
If I use the raspi sources for the cross-compile:
https://github.com/raspberrypi/linux/archive/rpi-3.10.y.tar.gz
I get errors that seem unresolvable:
e.g.: undefined reference to `v6wbi_flush_kern_tlb_range'
If I use the sunxi kernel source:
https://github.com/linux-sunxi/linux-sunxi/tree/reference-3.10
the compile completes without error and I get modules and a uImage file
but the device won't boot
I am using this as a guide:
http://jas-hacks.blogspot.com.au/2012/10/hackberry-a10-compiling-kernel-arm…
I have tried using various .config files as a starting point including
the pi and from the earlier 3.4 kernel without success
Does anyone have any experience in this area? Any help would be much
appreciated.
Thanks
Rob
I'm trying to find a simple way to parse squid logfiles looking for cryptolocker (http://en.wikipedia.org/wiki/CryptoLocker) URL's. The proxy in question denies these anyway because the current version of cryptolocker doesn't authenticate and this proxy requires authentication, so right now it's a useful trigger to notice an infection after the fact but before it has downloaded enough to start infecting user files.
The url's in question are <something>.net/com/biz/etc, and some examples of the something are:
qoemswifeitgetscytkircyfq
diqkbihifambsnvbylvtdcyyd
tlfmwcyfikzcuqoqgpzdpz
so they are random strings of varying length. The challenge is to find a way to identify them without an excessive amount of CPU time (eg not dictionary lookups).
Any suggestions?
Thanks
James
Still running 3.10-3-rpi alas because there isn't a 3.14.15 :) version of
the pi kernel yet, but is an increasing latency as the uptime increases,
expected? Reboot the kernel, and I go back to having 0.1second latency on
my SD card in the pi. But after a few weeks, it will be back to 2
second latencies:
http://rather.puzzling.org/munin-cgi/pi/pi/diskstats_latency/mmcblk0.html
(it started exhibiting this behaviour after the last reboot in January
because that's when I installed a btrfs capable kernel and ran ext3tobtrfs
over it. Yes, I've deleted the ext3 image snapshot)
--
Tim Connors
Without starting an editor war [ :-) ], I'd like some help in getting
xemacs to play ball.
I'd like to give xemacs a try, but I can't get it to recognise the font
I want to use (dejavu sans mono) doesn't appear in the "available" list.
Liberation mono does, however.
Here are their entries in their font.scale files:
LiberationMono-Regular.ttf -misc-liberation
mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
DejaVuSansMono.ttf -misc-dejavu sans
mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
As far as I can see from the docos they both have the right form.
Btw, there is a message "Warning: Missing charsets in String to FontSet
conversion"
Any suggestions?
TIA.
Hi,
Does anyone know of some high-level management software for running
LXC (preferably Docker) containers across clusters of machines?
Eg. So you can have a central control centre to see what's running,
what resources it has allocated, and an API to spin up new app
instances. Basically private cloud stuff, but lightweight rather than
enterprisey..
Closest I've seen so far has been Flynn, but that's still a way off.
-Toby
Just did an install of Debian 7.0 from DVD's onto a system using an ASUS
X79 Sabertooth motherboard. Now the bios is set to IDE mode (NOT AHCI),
this is due to Windows xp as an alternate OS
Had some trouble until I disabled secure boot (uefi or what ever they call
it). On completion of install system failed to boot, it was clear though
that the reason was the installed kernel was using the AHCI drivers.
After setting the bios to AHCI mode system booted OK.
A couple of questions.....
Why during the install did the installer set the intial ramdisk up for AHCI
drivers when they were not enabled in the bios.
Can Debian 7.0 be installed on a system with ide mode enabled, if so how
does one do this. A search on the net was not enlightening.
This is not any kind of disaster, I will be compiling my own kernel for
this machine (in fact I have already done so) so one can easily get around
this issue.
Note 1, Sometime back I did a comparison on an ASUS P6X58D Premium MB
between IDE and AHCI modes, a good deal of testing showed neither mode was
head and shoulders over the other.
Lindsay
Hi All,
I'm trying to upgrade my LibreOffice from 4.0.2.2 to 4.2.2, on my Ubuntu
10.4 Desktop.
(Yes, yes, I'll upgrade to Ubuntu 14.4 as soon as I get more powerful
hardware and it comes out stable in April.)
I followed the instructions here, which seems the most authoritative (it
said nothing about upgrading, just installing):
> https://wiki.ubuntu.com/LibreOffice#Installing_a_newer_version_of_LibreOffi…
(I followed the steps in the above-cited section, as normal Synaptic
updates stopped a long time ago on my system.)
But when I executed this command...
sudo apt-get update
...I got (among others) this message:
W: Failed to fetch
http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu/dists/lucid/mai…
404 Not Found
So am I correct in assuming that I can't upgrade LibreOffice to 4.2.2 on
my Ubuntu Lucid?
Thanks very much,
Carl Turney
Bayswater
Hi all,
I am using "throttle" for snapshot backups. It is a small utility reading
from stdin and writing to stdout and used to limit the speed (to avoid
"hammering" of disks and networks)
E.g. "throttle -1M" reads 1 MByte/sec.
Unfortunately this utility was removed from the FreeBSD ports. I do not
know the background. It is nowhere maintained anymore, it seems (if I get
the change log right, it was part of a "bulk retirement commit" in
FreeBSD)
I am exploring and considering options..
Do you know any alternatives?
Regards
Peter
From: "hannah commodore" <hannah(a)tinfoilhat.net>
> On 1 Apr 2014, at 09:30, Peter Ross <Petros.Listig(a)fdrive.com.au> wrote:
>
>> Hi all,
>>
>> I am using "throttle" for snapshot backups. It is a small utility
>> reading
>> from stdin and writing to stdout and used to limit the speed (to avoid
>> "hammering" of disks and networks)
>>
>> E.g. "throttle -1M" reads 1 MByte/sec.
>
> pipeviewer (pv) has a rate-limit option as well:
> http://www.ivarch.com/programs/pv.shtml
>
> Though it's primary function is to show how fast the pipe is moving data
>
> The page has FreeBSD support listed in FreshPorts
Yes, it's in the ports:-)
Thanks, that will do.
Peter