So with some care, I have a card booted into Redsleeve, but access only from the console.

Monitor is showing some startup messages, but no login prompt. Mouse is active and input works, but nothing seems to be listening.

Network is up, but not sshd:

# service sshd status
sshd: unrecognized service

I did do those ln commands:

ln -s /run/media/rgm/rootfs/etc/init.d/sshd /run/media/rgm/rootfs/etc/rc3.d/S55sshd ln -s /run/media/rgm/rootfs/etc/init.d/sshd /run/media/rgm/rootfs/etc/rc5.d/S55sshd

but no sshd.

The uboot partition is not mounted (your comment about Chromebook using a uboot is not supprising as I have been told it also uses the Allwinner A20 soc and thus SunXi).

and the label I gave the rootfs partition does not seem to be recognized:

# df -h
Filesystem Size Used Avail Use% Mounted on
UUID=33de6a91-2289-4ec7-9703-2b03a9d51725
13G 1.8G 11G 15% /
tmpfs 494M 152K 493M 1% /dev/shm

I need a good way to create the partitions on the card that line up properly on 'cylinder boundaries':

# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 15.6 GB, 15560867840 bytes
4 heads, 16 sectors/track, 474880 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cd80a

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 33 16416 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/mmcblk0p2 16417 49184 1048576 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/mmcblk0p3 49185 465184 13312000 83 Linux
Partition 3 does not end on cylinder boundary.

I used gparted on my F20 notebook. I need some 'nice' command lines to lay down the partitions and format them. No experience on this, pointers to some cookbook instructions would be appreciated.

Attached is the firstboot console capture:

U-Boot SPL 2013.10-rc2-00118-gbf62731 (Oct 13 2013 - 11:53:05)
Board: Cubieboard2
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2013.10-rc2-00118-gbf62731 (Oct 13 2013 - 11:53:05) Allwinner Technology

CPU: Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
260 bytes read in 6 ms (42 KiB/s)
Loaded environment from uEnv.txt
256 bytes read in 6 ms (41 KiB/s)
Jumping to boot.scr
## Executing script at 44000000
45384 bytes read in 7 ms (6.2 MiB/s)
3936816 bytes read in 184 ms (20.4 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
Image Name: Linux-3.4.61.sun7i+
Created: 2013-10-13 10:11:18 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3936752 Bytes = 3.8 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: sun7i
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
[ 0.000000] start_kernel(): bug: interrupts were enabled early
[ 0.103353] CPU1: Booted secondary processor
[ 0.343202] highmem bounce pool size: 64 pages
[ 0.352103] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.436861] [NAND] nand driver version: 0x2 0x9
[ 0.493311] Dev Sunxi softw311 nand magic does not match for MBR 1: ��������
[ 0.500423] Dev Sunxi softw311 nand magic does not match for MBR 2: ��������
[ 0.507497] Dev Sunxi softw311 nand magic does not match for MBR 3: ��������
[ 0.514550] Dev Sunxi softw311 nand magic does not match for MBR 4: ��������
[ 0.521612] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
[ 0.530426] Dev Sunxi softw411 nand magic does not match for MBR 1: ��������
[ 0.539345] Dev Sunxi softw411 nand magic does not match for MBR 2: ��������
[ 0.548204] Dev Sunxi softw411 nand magic does not match for MBR 3: ��������
[ 0.557067] Dev Sunxi softw411 nand magic does not match for MBR 4: ��������
[ 0.564146] Dev Sunxi softw411 nand header bad for all MBR copies, MBR corrupted or not present.
[ 0.573318] [NAND]nand driver, ok.
[ 0.577421] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[ 0.596614] emac_init fetch emac using configuration failed
[ 0.603116] [sw-ehci1]: open clock
[ 0.626534] [sw-ehci1]: Set USB Power ON
[ 0.648341] [sw-ohci1]: open clock
[ 0.732312] [sw-ehci2]: open clock
[ 0.755752] [sw-ehci2]: Set USB Power ON
[ 0.778327] [sw-ohci2]: open clock
[ 0.812810] ehci_irq: port change detect
[ 0.863472] sunxi-rtc sunxi-rtc: Error: Set LOSC to external failed.
[ 0.869908] sunxi-rtc sunxi-rtc: Warning: RTC time will be wrong!
[ 0.876583] config i2c gpio with gpio_config api
[ 0.883652] [AXP]axp driver uning configuration failed(340)
[ 0.889275] [AXP]power_start = 0
[ 0.913530] axp20_ldo2: Failed to create debugfs directory
[ 0.922978] [mmc_pm]: failed to fetch sdio card configuration!
[ 0.937697] axp20_buck2: Failed to create debugfs directory
[ 0.983591] disp_clk: Could not find a matching pll-freq for 74600000 pclk
[ 0.990525] disp_clk: Could not find a matching pll-freq for 146850000 pclk
[ 0.997506] disp_clk: Could not find a matching pll-freq for 172900000 pclk
[ 1.004474] disp_clk: Could not find a matching pll-freq for 78800000 pclk
[ 1.011369] disp_clk: Could not find a matching pll-freq for 53450000 pclk
[ 1.018272] disp_clk: Could not find a matching pll-freq for 27100000 pclk
[ 1.025154] disp_clk: Could not find a matching pll-freq for 26150000 pclk
[ 2.316491] axp20_buck3: incomplete constraints, leaving on
[ 2.322499] axp20_buck2: incomplete constraints, leaving on
[ 2.328478] axp20_ldo4: incomplete constraints, leaving on
[ 2.334353] axp20_ldo3: incomplete constraints, leaving on
[ 2.340241] axp20_ldo2: incomplete constraints, leaving on
[ 2.346116] axp20_ldo1: incomplete constraints, leaving on
[ 2.509555] [mmc-err] smc 0 err, cmd 52, RTO
[ 2.514885] [mmc-err] smc 0 err, cmd 52, RTO
[ 2.528952] [mmc-err] smc 0 err, cmd 5, RTO
[ 2.534172] [mmc-err] smc 0 err, cmd 5, RTO
[ 2.539389] [mmc-err] smc 0 err, cmd 5, RTO
[ 2.544597] [mmc-err] smc 0 err, cmd 5, RTO
Welcome to Red Sleeve Enterprise Linux
Starting udev: [ 4.326791] udevd (109): /proc/109/oom_adj is deprecated, please use /proc/109/oom_score_adj instead.
[ OK ]
Setting hostname redsleeve: [ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: mount: special device UUID=2cb94397-dc57-4276-bd81-0f30170f8cc1 does not exist
[FAILED]
Enabling /etc/fstab swaps: [ OK ]
Entering non-interactive startup
Bringing up loopback interface: [ OK ]
Starting rpcbind: [ OK ]
Starting system message bus: [ OK ]
Setting network parameters... [ OK ]
Starting NetworkManager daemon: [ OK ]
modem-manager: ModemManager (version 0.4.0-3.git20100628.el6) starting...
modem-manager: Loaded plugin SimTech
modem-manager: Loaded plugin Gobi
modem-manager: Loaded plugin AnyData
modem-manager: Loaded plugin Longcheer
modem-manager: Loaded plugin Sierra
modem-manager: Loaded plugin MotoC
modem-manager: Loaded plugin Generic
modem-manager: Loaded plugin Option
modem-manager: Loaded plugin Ericsson MBM
modem-manager: Loaded plugin Novatel
modem-manager: Loaded plugin Option High-Speed
modem-manager: Loaded plugin Huawei
modem-manager: Loaded plugin ZTE
modem-manager: Loaded plugin Nokia
modem-manager: (tty/ttyS1): port's parent platform driver is not whitelisted
modem-manager: (tty/ttyS2): port's parent platform driver is not whitelisted
modem-manager: (tty/ttyS3): port's parent platform driver is not whitelisted
modem-manager: (tty/ttyS0): port's parent platform driver is not whitelisted
modem-manager: (net/eth0): port's parent platform driver is not whitelisted
Starting NFS statd: [ OK ]
Starting RPC idmapd: [ OK ]
Starting HAL daemon: [ OK ]
Retrigger failed udev events[ OK ]
Adding udev persistent rules[ OK ]
Starting nscd: [ OK ]
nscd: 645 invalid persistent database file "/var/db/nscd/passwd": verification failed nscd: 645 invalid persistent database file "/var/db/nscd/group": verification failed nscd: 645 invalid persistent database file "/var/db/nscd/hosts": verification failed nscd: 645 invalid persistent database file "/var/db/nscd/services": verification failed
dnsdomainname: Unknown host
Starting dnsmasq: [ OK ]
Starting ntpd: [ OK ]
Starting console mouse services: [ OK ]

Red Sleeve Enterprise Linux release 6.1 (Leap)
Kernel 3.4.61.sun7i+ on an armv7l

redsleeve login: root
Password:


_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to