RetroBSD
http://retrobsd.org/

LiteBSD bug list
http://retrobsd.org/viewtopic.php?f=16&t=37324
Page 3 of 3

Author:  Pito [ Sat Oct 17, 2015 3:03 pm ]
Post subject:  Re: LiteBSD bug list

Why this LiteBSD bug list is put inside the Unix for simple mcu's?
Also too many bugs in a single thread :)

Author:  majenko [ Sat Oct 17, 2015 4:57 pm ]
Post subject:  Re: LiteBSD bug list

It's not :P

And there's no such thing as too many bugs in one thread.

Author:  Pito [ Sat Oct 17, 2015 6:05 pm ]
Post subject:  Re: LiteBSD bug list

I've pulled your changes - let me ask you - in SDZL.pic32 -
1. what is the wifi config there (for what module)
2. buttons - for what is the butt1 and butt2?
3. what is the def for baudrate? "UART_BAUD=115200" ? (nope it does not work)

Author:  majenko [ Sat Oct 17, 2015 8:16 pm ]
Post subject:  Re: LiteBSD bug list

1. No idea
2. No idea
3. No idea

Author:  vak [ Sat Oct 17, 2015 8:32 pm ]
Post subject:  Re: LiteBSD bug list

Pito wrote:
I've pulled your changes - let me ask you - in SDZL.pic32 -
1. what is the wifi config there (for what module)
The wifi config is commented out.
It's an unfinished driver for Microchip MRF24WG0MA Wi-Fi module, available on chipKIT Wi-Fire board. See the wifi-driver branch.

Pito wrote:
2. buttons - for what is the butt1 and butt2?
Buttons are commented out as well.
On chipKIT Wi-Fire board, button 1, when pressed at kernel startup, forces /sbin/init to bypass the /etc/rc script and directly enter the single user mode (no login: prompt). Button 2 has no assigned action yet.

Pito wrote:
3. what is the def for baudrate? "UART_BAUD=115200" ? (nope it does not work)
Default baud rate is TTYDEF_SPEED=B115200, defined in sys/sys/ttydefaults.h. For console, it's better not to modify it here, but to change the consinit() routine in sys/mips/pic32/cons.c.

Author:  Pito [ Sat Oct 17, 2015 9:27 pm ]
Post subject:  Re: LiteBSD bug list

In this way?
Code:
    cterm.c_cflag = CS8;
    cterm.c_ospeed = B921600;
    cterm.c_ispeed = B921600;
    uartparam(&ctty, &cterm);

/mips/pic32/cons.c:85:22: error: 'B921600' undeclared

Author:  vak [ Sun Oct 18, 2015 2:30 am ]
Post subject:  Re: LiteBSD bug list

I added a kernel option UART_BAUD to change the default speed of UART ports. For example:
Code:
options "UART_BAUD=921600"
See commit 3dbde3b.

Author:  Pito [ Sun Oct 18, 2015 6:46 am ]
Post subject:  Re: LiteBSD bug list

Thanks!
Splash screen works 921k, but from login up I have to switch to 115k to see something.
Pulled git.
Build - kernel, build, fs,
reflashed - kernel, card img.

In ttydefaults.h
Code:
#define TTYDEF_SPEED    (B115200)

Commented out but still 115k at login.

Author:  vak [ Sun Oct 18, 2015 7:10 pm ]
Post subject:  Re: LiteBSD bug list

Need to modify /etc/ttys and /etc/gettytab.
This should solve the task:

Code:
console "/usr/libexec/getty std.921600" xterm   on secure

Code:
9|std.921600|921600-baud:\
        :sp#921600:

Author:  Pito [ Mon Oct 19, 2015 6:04 am ]
Post subject:  Re: LiteBSD bug list

It seems it works. Interestingly in retrobsd there is a "standard" def which works with any baud speed set in kernel..

Page 3 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/