Kiosk-style web browser

A. Craig West acraigwest at gmail.com
Thu Jan 5 06:01:49 CET 2017


I was correct about USB Keyboard support, I added USB HID support and
the keyboard works in the console. Don't know what the f2fs problem
is, though...


On Wed, Jan 4, 2017 at 11:22 PM, A. Craig West <acraigwest at gmail.com> wrote:
> I mostly have this part working now, although I have a few issues. I added:
> tty1::askfirst:/bin/cttyhack /bin/login
> to /etc/inittab, and it boots with the console, although I didn't have
> keyboard (I probably have to enable usb keyboard one way or another,
> and I don't really need it...)
> I will probably have to change it  anyways to make it automatically
> boot into the browser in any case, instead of running a login session.
>
> The problem I am having is the f2fs filesystem. dmesg gives:
> [    6.077160] F2FS-fs (mmcblk0p2): Magic Mismatch, valid(0xf2f52010)
> - read(0x65202d20)
> [    6.077177] F2FS-fs (mmcblk0p2): Can't find valid F2FS filesystem
> in 1th superblock
> [    6.101916] F2FS-fs (mmcblk0p2): Magic Mismatch, valid(0xf2f52010)
> - read(0x313a3830)
> [    6.101928] F2FS-fs (mmcblk0p2): Can't find valid F2FS filesystem
> in 2th superblock
>
> On Tue, Jan 3, 2017 at 5:18 PM, Ronny Nilsson
> <rln-nard at arbetsmyra.dyndns.org> wrote:
>> Hi
>> The standard Linux console works just fine at HDMI. The main issue is to
>> re-enable it in the kernel build configuration. Here is quick mini-guide:
>>
>> $ cd nard/apps/linux-kernel
>> $ make menuconfig
>>         enable Virtual Terminals
>>         enable Framebuffer Console support
>>         enable Map the console to the primary display device
>>
>> Add
>>         console=tty1
>> to /boot/cmdline.txt
>>
>> Add
>>         tty1::askfirst:/bin/login
>> to /etc/inittab
>>
>>
>> This is from the top of my head. I might have missed some minor detail.
>>
>> /Ronny
>>
>>
>>
>> -----------------------------------------
>>> I haven't tried it yet, but I would expect that standard linux
>>> framebuffer console output would work
>>>
>>> On Tue, Jan 3, 2017 at 4:48 PM, rbarreiros at gmail.com
>>>
>>> <rbarreiros at gmail.com> wrote:
>>> > How about console output through HDMI?
>>> >
>>> > On 3 Jan 2017 21:32, "Ronny Nilsson" <rln-nard at arbetsmyra.dyndns.org>
>> wrote:
>>> >> > Does nard output to HDMI ?? Last I heard it didn't! Is it hard to do
>>> >> > so? Just a kernel module compile?
>>> >>
>>> >> The framebuffer is available as default, but you need to provide
>>> >> something that draw to it yourself. The "fbi" image viewer is provided
>>> >> which can display JPEG images to the HDMI output. Just build the
>>> >> "mediaplayer" example
>>> >> product. There should be an image shown on the display when the system
>>> >> boots.
>>> >>
>>> >> /Ronny
>>
>>


More information about the Nard mailing list