Re: [DNG] Booting devuan on a rasberry pi

2019-07-30 Thread Andreas Messer
On Sun, Jul 28, 2019 at 07:37:26PM -0500, hal wrote:
> On 7/28/19 3:57 PM, hal wrote:
> 
> > 
> > Some searching says to add "core_freq=250" or "enable_uart=1" but
> > so far still nothing. Any suggestions are appreciated.
> 
> I got the serial port working. It's a bit of a task. Apparently the
> bluetooth integration messed up the serial port configuration so
> when you boot, you're actually connected to the bluetooth chip
> on /dev/ttyAMA0.  You have to fiddle with /boot/config.txt and
> /boot/cmdline.txt to restore the serial functionality.

Nice to hear that you got it working! As you mention, I remind that 
there was something :-) Some time ago, I was going to use the 
serial port with an LTE shield. I remind I also had to fiddle 
with it to get it working. 

Actually,  RPi 3 B+ has two UARTs. The usual/default UART is 
connected with Bluetooth chip by default, thus the Pins on the 
header are not working - as you already found out.

If you want to use Bluetooth and UART: There is another UART 
in RPi 3 B+ which can be mapped to Bluetooth instead.

you could be using
core_freq=250
dtoverlay=pi3-miniuart-bt
instead of
dtoverlay=pi3-disable-bt

This additional uart does not support full speed / handshake but fast enough
for bluetooth in any case. I think it only works with fixed clock freq.

cheers,
Andreas


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-28 Thread hal



On 7/28/19 3:57 PM, hal wrote:



Some searching says to add "core_freq=250" or "enable_uart=1" but
so far still nothing. Any suggestions are appreciated.


Hi,
I got the serial port working. It's a bit of a task. Apparently the
bluetooth integration messed up the serial port configuration so
when you boot, you're actually connected to the bluetooth chip
on /dev/ttyAMA0.  You have to fiddle with /boot/config.txt and
/boot/cmdline.txt to restore the serial functionality.

Additionally, I had to launch a getty on /dev/ttyS0 since
the default starts on /dev/ttyAMA0.

Below is what I changed to get a serial port back on the UART
pins:


root@devuan:~# cat /boot/config.txt
## memory shared with the GPU
gpu_mem=128

## always audio
dtparam=audio=on

## maximum amps on usb ports
max_usb_current=1

## enable hardware-accelerated graphics
dtoverlay=vc4-kms-v3d

## kernel
kernel=kernel8.img

enable_uart=1
# core_freq=250  << not needed anymore when using enable_uart=1

# 2019-07-28 - disable bluetooth
dtoverlay=pi3-disable-bt


root@devuan:~# cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 console=serial0,115200 
root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes 
rootwait



root@devuan:~# tail -2 /etc/inittab
# T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100
T0:23:respawn:/sbin/agetty -L ttyS0 115200 vt100


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-28 Thread Gregory Nowak
On Sun, Jul 28, 2019 at 03:57:47PM -0500, hal wrote:
> Do you use a serial port on your PI 3?  I purchased one last week
> on Ebay but have no serial output on the UART0_TXD + UART0_RXD pins.
> 
> Some searching says to add "core_freq=250" or "enable_uart=1" but
> so far still nothing. Any suggestions are appreciated.
> 
> Thank you

See if this helps you:


Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-28 Thread hal



On 7/17/19 3:50 PM, Andreas Messer wrote:

On Tue, Jul 16, 2019 at 08:02:43PM -0500, hal wrote:

Hello,
Thank you. Here is the boot output from
devuan_ascii_2.0.0_armel_raspi1.img.xz and setting emmc clock to 50Mhz in
config.txt

The same sdcard will boot my Raspi A+ fine so maybe it's hardware?

https://pastebin.com/gtcVxqRd


I can confirm the image booting successfully on my RPI 3 Model B+
with 2A USB Powersupply. (USB Keyboard/Mice attached through Hub not
working, but I see a login screen)

So I think your hardware seems to be broken somehow.

cheers,
Andreas



Hi,
I think it was the power adapter. I have a new 2.5A and got the
Pi to boot. It's weird because I thought I used a 2A adapter to
boot these before. Maybe the adapter is bad.

Do you use a serial port on your PI 3?  I purchased one last week
on Ebay but have no serial output on the UART0_TXD + UART0_RXD pins.

Some searching says to add "core_freq=250" or "enable_uart=1" but
so far still nothing. Any suggestions are appreciated.

Thank you
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-17 Thread Andreas Messer
On Tue, Jul 16, 2019 at 08:02:43PM -0500, hal wrote:
> Hello,
> Thank you. Here is the boot output from
> devuan_ascii_2.0.0_armel_raspi1.img.xz and setting emmc clock to 50Mhz in
> config.txt
> 
> The same sdcard will boot my Raspi A+ fine so maybe it's hardware?
> 
> https://pastebin.com/gtcVxqRd

I can confirm the image booting successfully on my RPI 3 Model B+
with 2A USB Powersupply. (USB Keyboard/Mice attached through Hub not
working, but I see a login screen)

So I think your hardware seems to be broken somehow.

cheers,
Andreas


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-16 Thread hal



On 7/11/19 3:02 PM, s@po wrote:



If you had already tried,
The best Option, would be to try to fix sdcard frequency to start with a fix 
*Default* speed and then try to Boot-Up..
This value bellow is the default( its what I have in my Board since the 
beguining... I am an Early Owner :) )

In /boot/config.txt
# First try with initial emmc clock of 50Mhz... ( should be the default .. but 
still, try to force it..you could have a diferent sdcard.. )
init_emmc_clock (5000)

After that, if can't boot, please give us some bootup data like previously :)

Good Luck,
Regards



Hello,
Thank you. Here is the boot output from 
devuan_ascii_2.0.0_armel_raspi1.img.xz and setting emmc clock to 50Mhz 
in config.txt


The same sdcard will boot my Raspi A+ fine so maybe it's hardware?

https://pastebin.com/gtcVxqRd
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-11 Thread s
Hello,
I think you own a RaspberryPi 1st version( or a derivative.. )..

The 'bcm2835' could be found in:
. Raspberry Pi Model A,
. Raspberry Pi Model B, B+
. The Compute Module
. Raspberry Pi Zero

At least the frequency Scheduler reports a fixed value of 700Mhz,
Your BogoMIPS report is also inline with 'bcm2835'( Single core, 32bit 
ARMv11@700Mhz )..

I think you should try with:
https://mirror.leaseweb.com/devuan/devuan_ascii/embedded/devuan_ascii_2.0.0_armel_raspi1.img.xz

If you had already tried,
The best Option, would be to try to fix sdcard frequency to start with a fix 
*Default* speed and then try to Boot-Up..
This value bellow is the default( its what I have in my Board since the 
beguining... I am an Early Owner :) )

In /boot/config.txt
# First try with initial emmc clock of 50Mhz... ( should be the default .. but 
still, try to force it..you could have a diferent sdcard.. )
init_emmc_clock (5000)

After that, if can't boot, please give us some bootup data like previously :)

Good Luck,
Regards

-- 
s@po 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-11 Thread Arnt Karlsen
On Thu, 11 Jul 2019 07:09:09 -0400, Hendrik wrote in message 
<2019070909.qnbodivhax7mw...@topoi.pooq.com>:

> On Thu, Jul 11, 2019 at 05:36:02AM -0500, hal wrote:
> > Hi,
> > I don't think the sdcard is a problem as I can mount it on my
> > desktop system fine. Sometimes I see weird things like this when
> > there isn't enough power (< 1 amp) but I wonder now if my rasberry
> > pi has just gone bad.  
> 
> I seem to remember that the raspberry pi 4 needed more than 1A power.
> 
> And maybe more than the raspberry pi 3.

..try give it 5-5.2V on one of the 5V pins, off e.g. a 4 cell 
"4.8V" NiMh or NiCd battery, charged up to no more than 5.2V.


..beware that both "4.8V" NiMh and NiCd 4 cell batteries can be 
charged up beyond 5.3V, so you wanna discharge your battery to 
5.2V or use a voltage regulator between your battery and your 
RPi4, to protect your RPi4.


..by all means stay below 5.25V (or whatever it is on the RPi4) 
on those 5V pins, or you might burn up your RPi4.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-11 Thread Hendrik Boom
On Thu, Jul 11, 2019 at 05:36:02AM -0500, hal wrote:
> Hi,
> I don't think the sdcard is a problem as I can mount it on my desktop system
> fine. Sometimes I see weird things like this when there isn't enough power
> (< 1 amp) but I wonder now if my rasberry pi has just gone bad.

I seem to remember that the raspberry pi 4 needed more than 1A power.

And maybe more than the raspberry pi 3.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-11 Thread hal

Hi,
I don't think the sdcard is a problem as I can mount it on my desktop 
system fine. Sometimes I see weird things like this when there isn't 
enough power (< 1 amp) but I wonder now if my rasberry pi has just gone 
bad.


On 7/6/19 10:08 PM, s@po wrote:

Hello Again..
"
[0.912573] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
"
Does you have any problems with your sdcard?
Shutdown and clean the contacts, then insert it again boot, and wait some time, 
to check if it will resize disk partition to mazx size..
Or if mmc clock is lower, it will take a lot more time to load..


Hello,
Were is your


Hi,
I'm trying to boot a Raspberry PI B+ on devuan_ascii_2.0.0_armhf_raspi2.img

I'm getting a boot loop with this output: https://pastebin.com/ALTzdJxW
Any thoughts?

Should I be using the raspi1 image instead?


What is your RaspberryPi version?

In the logs I see:
"
[2.014566] Waiting for root device /dev/mmcblk0p2...
"

Does you waited enough time?
I don' know that image,
But some do a resize of /dev/mmcblk0p2( and that could take some time.. )

--
s@po 




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-06 Thread s
Hello Again..
"
[0.912573] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
"
Does you have any problems with your sdcard?
Shutdown and clean the contacts, then insert it again boot, and wait some time, 
to check if it will resize disk partition to mazx size..
Or if mmc clock is lower, it will take a lot more time to load..

> Hello,
> Were is your
> 
> > Hi,
> > I'm trying to boot a Raspberry PI B+ on devuan_ascii_2.0.0_armhf_raspi2.img
> > 
> > I'm getting a boot loop with this output: https://pastebin.com/ALTzdJxW
> > Any thoughts?
> > 
> > Should I be using the raspi1 image instead?
> 
> What is your RaspberryPi version?
> 
> In the logs I see:
> "
> [2.014566] Waiting for root device /dev/mmcblk0p2...
> "
> 
> Does you waited enough time?
> I don' know that image,
> But some do a resize of /dev/mmcblk0p2( and that could take some time.. )
> 
> -- 
> s@po 


-- 
s@po 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Booting devuan on a rasberry pi

2019-07-06 Thread s
Hello,
Were is your

> Hi,
> I'm trying to boot a Raspberry PI B+ on devuan_ascii_2.0.0_armhf_raspi2.img
> 
> I'm getting a boot loop with this output: https://pastebin.com/ALTzdJxW
> Any thoughts?
> 
> Should I be using the raspi1 image instead?

What is your RaspberryPi version?

In the logs I see:
"
[2.014566] Waiting for root device /dev/mmcblk0p2...
"

Does you waited enough time?
I don' know that image,
But some do a resize of /dev/mmcblk0p2( and that could take some time.. )

-- 
s@po 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Booting devuan on a rasberry pi

2019-07-06 Thread hal

Hi,
I'm trying to boot a Raspberry PI B+ on devuan_ascii_2.0.0_armhf_raspi2.img

I'm getting a boot loop with this output: https://pastebin.com/ALTzdJxW
Any thoughts?

Should I be using the raspi1 image instead?

Thanks
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng