Latest update... Console in qemu!

18 views
Skip to first unread message

Tim Ansell

unread,
Oct 30, 2017, 6:10:52 AM10/30/17
to linux...@googlegroups.com
Hi,

Thanks to work from Stafford, we have 'buildroot login:' on the qemu!


# cd HDMI2USB-litex-firmware
# export CPU=or1k
# ./scripts/download-env.sh
# source script/enter-env.sh
# ./scripts/build-linux.sh
# export FIRMWARE=linux
# ./scripts/build-qemu.sh
-----
e0001000.serial: ttyLX0 at MMIO 0xe0001000 (irq = 2, base_baud = 0) is a litex_uart
console [ttyLX0] enabled
console [ttyLX0] enabled
bootconsole [litex_uart_a0] disabled
bootconsole [litex_uart_a0] disabled
dummy-irq: no IRQ given.  Use irq=N
i2c-core: driver [at24] registered
slram: not enough parameters.
i2c /dev entries driver
i2c-core: driver [i2c-slave-eeprom] registered
Freeing unused kernel memory: 920K
This architecture does not have kernel memory protection.
Starting logging: OK
Initializing random number generator... done.
Starting network: ip: socket: Function not implemented
ip: socket: Function not implemented
FAIL

Welcome to Buildroot
buildroot login: 
-----

We are also getting closer to it running on hardware, I now get the following on the Arty;
-----
100.00 BogoMIPS (lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 1, 16384 bytes)
Mountpoint-cache hash table entries: 4096 (order: 1, 16384 bytes)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -2, 3072 bytes)
i2c-core: driver [dummy] registered
clocksource: Switched to clocksource openrisc_timer
workingset: timestamp_bits=30 max_order=13 bucket_order=0
romfs: ROMFS MTD (C) 2007 Red Hat, Inc.                 
random: fast init done                    
io scheduler noop registered
io scheduler cfq registered (default)
io scheduler kyber registered
gpio-mockup: probe of gpio-mockup failed with error -22
litex console: port=c03a017c; port->mapbase=e0001000
e0001000.serial: ttyLX0 at MMIO 0xe0001000 (irq = 2, base_baud = 0) is a litex_uart
console [ttyLconsole [ttyLX0] enabled
bebootconsole [litex_uart_a0] disabled
dummy-irq: no IRi2c-core: dri
slram: not enougi2c /dev entriesi2c-core: driverrandom: crng ini
-----

So, things might be getting closer....

Tim 'mithro' Ansell
Reply all
Reply to author
Forward
0 new messages