mirror of https://github.com/xemu-project/xemu.git
hw/arm: Remove 'n800' and 'n810' machines
Remove the 'n800' and 'n810' machine types, which modelled Nokia internet tablets. These were deprecated in 9.0 and so we can remove them for 9.2. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240903160751.4100218-26-peter.maydell@linaro.org [PMM: added removal of arm-n800-machine.c post-review]
This commit is contained in:
parent
435e87a227
commit
2406e1e79f
|
@ -874,7 +874,6 @@ nSeries
|
|||
M: Peter Maydell <peter.maydell@linaro.org>
|
||||
L: qemu-arm@nongnu.org
|
||||
S: Odd Fixes
|
||||
F: hw/arm/nseries.c
|
||||
F: hw/display/blizzard.c
|
||||
F: hw/input/lm832x.c
|
||||
F: hw/input/tsc2005.c
|
||||
|
@ -885,8 +884,6 @@ F: include/hw/display/blizzard.h
|
|||
F: include/hw/input/lm832x.h
|
||||
F: include/hw/input/tsc2xxx.h
|
||||
F: include/hw/misc/cbus.h
|
||||
F: tests/avocado/machine_arm_n8x0.py
|
||||
F: docs/system/arm/nseries.rst
|
||||
|
||||
Raspberry Pi
|
||||
M: Peter Maydell <peter.maydell@linaro.org>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
# CONFIG_MPS3R=n
|
||||
# CONFIG_MUSCA=n
|
||||
# CONFIG_SX1=n
|
||||
# CONFIG_NSERIES=n
|
||||
# CONFIG_STELLARIS=n
|
||||
# CONFIG_STM32VLDISCOVERY=n
|
||||
# CONFIG_B_L475E_IOT01A=n
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
Nokia N800 and N810 tablets (``n800``, ``n810``)
|
||||
================================================
|
||||
|
||||
Nokia N800 and N810 internet tablets (known also as RX-34 and RX-44 /
|
||||
48) emulation supports the following elements:
|
||||
|
||||
- Texas Instruments OMAP2420 System-on-chip (ARM1136 core)
|
||||
|
||||
- RAM and non-volatile OneNAND Flash memories
|
||||
|
||||
- Display connected to EPSON remote framebuffer chip and OMAP on-chip
|
||||
display controller and a LS041y3 MIPI DBI-C controller
|
||||
|
||||
- TI TSC2301 (in N800) and TI TSC2005 (in N810) touchscreen
|
||||
controllers driven through SPI bus
|
||||
|
||||
- National Semiconductor LM8323-controlled qwerty keyboard driven
|
||||
through |I2C| bus
|
||||
|
||||
- Secure Digital card connected to OMAP MMC/SD host
|
||||
|
||||
- Three OMAP on-chip UARTs and on-chip STI debugging console
|
||||
|
||||
- Mentor Graphics \"Inventra\" dual-role USB controller embedded in a
|
||||
TI TUSB6010 chip - only USB host mode is supported
|
||||
|
||||
- TI TMP105 temperature sensor driven through |I2C| bus
|
||||
|
||||
- TI TWL92230C power management companion with an RTC on
|
||||
|I2C| bus
|
||||
|
||||
- Nokia RETU and TAHVO multi-purpose chips with an RTC, connected
|
||||
through CBUS
|
|
@ -92,7 +92,6 @@ undocumented; you can get a complete list by running
|
|||
arm/emcraft-sf2
|
||||
arm/musicpal
|
||||
arm/kzm
|
||||
arm/nseries
|
||||
arm/nrf
|
||||
arm/nuvoton
|
||||
arm/imx25-pdk
|
||||
|
|
|
@ -12,7 +12,6 @@ arm_ss.add(when: 'CONFIG_MUSICPAL', if_true: files('musicpal.c'))
|
|||
arm_ss.add(when: 'CONFIG_NETDUINOPLUS2', if_true: files('netduinoplus2.c'))
|
||||
arm_ss.add(when: 'CONFIG_OLIMEX_STM32_H405', if_true: files('olimex-stm32-h405.c'))
|
||||
arm_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx.c', 'npcm7xx_boards.c'))
|
||||
arm_ss.add(when: 'CONFIG_NSERIES', if_true: files('nseries.c'))
|
||||
arm_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview.c'))
|
||||
arm_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa-ref.c'))
|
||||
arm_ss.add(when: 'CONFIG_STELLARIS', if_true: files('stellaris.c'))
|
||||
|
|
1473
hw/arm/nseries.c
1473
hw/arm/nseries.c
File diff suppressed because it is too large
Load Diff
|
@ -1,49 +0,0 @@
|
|||
# Functional test that boots a Linux kernel and checks the console
|
||||
#
|
||||
# Copyright (c) 2020 Red Hat, Inc.
|
||||
#
|
||||
# Author:
|
||||
# Thomas Huth <thuth@redhat.com>
|
||||
#
|
||||
# This work is licensed under the terms of the GNU GPL, version 2 or
|
||||
# later. See the COPYING file in the top-level directory.
|
||||
|
||||
import os
|
||||
|
||||
from avocado import skipUnless
|
||||
from avocado_qemu import QemuSystemTest
|
||||
from avocado_qemu import wait_for_console_pattern
|
||||
|
||||
class N8x0Machine(QemuSystemTest):
|
||||
"""Boots the Linux kernel and checks that the console is operational"""
|
||||
|
||||
timeout = 90
|
||||
|
||||
def __do_test_n8x0(self):
|
||||
kernel_url = ('http://stskeeps.subnetmask.net/meego-n8x0/'
|
||||
'meego-arm-n8x0-1.0.80.20100712.1431-'
|
||||
'vmlinuz-2.6.35~rc4-129.1-n8x0')
|
||||
kernel_hash = 'e9d5ab8d7548923a0061b6fbf601465e479ed269'
|
||||
kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
|
||||
|
||||
self.vm.set_console(console_index=1)
|
||||
self.vm.add_args('-kernel', kernel_path,
|
||||
'-append', 'printk.time=0 console=ttyS1')
|
||||
self.vm.launch()
|
||||
wait_for_console_pattern(self, 'TSC2005 driver initializing')
|
||||
|
||||
@skipUnless(os.getenv('AVOCADO_ALLOW_UNTRUSTED_CODE'), 'untrusted code')
|
||||
def test_n800(self):
|
||||
"""
|
||||
:avocado: tags=arch:arm
|
||||
:avocado: tags=machine:n800
|
||||
"""
|
||||
self.__do_test_n8x0()
|
||||
|
||||
@skipUnless(os.getenv('AVOCADO_ALLOW_UNTRUSTED_CODE'), 'untrusted code')
|
||||
def test_n810(self):
|
||||
"""
|
||||
:avocado: tags=arch:arm
|
||||
:avocado: tags=machine:n810
|
||||
"""
|
||||
self.__do_test_n8x0()
|
|
@ -1,92 +0,0 @@
|
|||
/*
|
||||
* libqos driver framework
|
||||
*
|
||||
* Copyright (c) 2019 Red Hat, Inc.
|
||||
*
|
||||
* Author: Paolo Bonzini <pbonzini@redhat.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License version 2.1 as published by the Free Software Foundation.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "../libqtest.h"
|
||||
#include "libqos-malloc.h"
|
||||
#include "qgraph.h"
|
||||
#include "i2c.h"
|
||||
|
||||
#define ARM_PAGE_SIZE 4096
|
||||
#define N800_RAM_START 0x80000000
|
||||
#define N800_RAM_END 0x88000000
|
||||
|
||||
typedef struct QN800Machine QN800Machine;
|
||||
|
||||
struct QN800Machine {
|
||||
QOSGraphObject obj;
|
||||
QGuestAllocator alloc;
|
||||
OMAPI2C i2c_1;
|
||||
};
|
||||
|
||||
static void *n800_get_driver(void *object, const char *interface)
|
||||
{
|
||||
QN800Machine *machine = object;
|
||||
if (!g_strcmp0(interface, "memory")) {
|
||||
return &machine->alloc;
|
||||
}
|
||||
|
||||
fprintf(stderr, "%s not present in arm/n800\n", interface);
|
||||
g_assert_not_reached();
|
||||
}
|
||||
|
||||
static QOSGraphObject *n800_get_device(void *obj, const char *device)
|
||||
{
|
||||
QN800Machine *machine = obj;
|
||||
if (!g_strcmp0(device, "omap_i2c")) {
|
||||
return &machine->i2c_1.obj;
|
||||
}
|
||||
|
||||
fprintf(stderr, "%s not present in arm/n800\n", device);
|
||||
g_assert_not_reached();
|
||||
}
|
||||
|
||||
static void n800_destructor(QOSGraphObject *obj)
|
||||
{
|
||||
QN800Machine *machine = (QN800Machine *) obj;
|
||||
alloc_destroy(&machine->alloc);
|
||||
}
|
||||
|
||||
static void *qos_create_machine_arm_n800(QTestState *qts)
|
||||
{
|
||||
QN800Machine *machine = g_new0(QN800Machine, 1);
|
||||
|
||||
alloc_init(&machine->alloc, 0,
|
||||
N800_RAM_START,
|
||||
N800_RAM_END,
|
||||
ARM_PAGE_SIZE);
|
||||
machine->obj.get_device = n800_get_device;
|
||||
machine->obj.get_driver = n800_get_driver;
|
||||
machine->obj.destructor = n800_destructor;
|
||||
|
||||
omap_i2c_init(&machine->i2c_1, qts, 0x48070000);
|
||||
return &machine->obj;
|
||||
}
|
||||
|
||||
static void n800_register_nodes(void)
|
||||
{
|
||||
QOSGraphEdgeOptions edge = {
|
||||
.extra_device_opts = "bus=i2c-bus.0"
|
||||
};
|
||||
qos_node_create_machine("arm/n800", qos_create_machine_arm_n800);
|
||||
qos_node_contains("arm/n800", "omap_i2c", &edge, NULL);
|
||||
}
|
||||
|
||||
libqos_init(n800_register_nodes);
|
|
@ -52,7 +52,6 @@ libqos_srcs = files(
|
|||
# qgraph machines:
|
||||
'aarch64-xlnx-zcu102-machine.c',
|
||||
'arm-imx25-pdk-machine.c',
|
||||
'arm-n800-machine.c',
|
||||
'arm-raspi2-machine.c',
|
||||
'arm-sabrelite-machine.c',
|
||||
'arm-smdkc210-machine.c',
|
||||
|
|
Loading…
Reference in New Issue