Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] Beagle Bone: Gentoo Startup Fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 476
Location: Salem, OR

PostPosted: Tue Aug 28, 2012 12:33 pm    Post subject: [RESOLVED] Beagle Bone: Gentoo Startup Fails Reply with quote

I have a new Beagle Bone (rev. A6) and I am trying to install Gentoo on it.

I followed the instructions at http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml with a slight variance on using the supplied script (which did not work, I've contacted the author with the details).

The log of what happened on the startup is at http://pastebin.com/e2mwP4AK. The more salient part is this:
Quote:
...
[ 1.239269] _regulator_get: mpu.0 supply mpu not found, using dummy regulator
[ 1.246937] omap2_set_init_voltage: Fail set voltage-dpll_mpu_ck(f=500000000 v=1100000)on vddmpu
[ 1.256201] omap2_set_init_voltage: unable to set vdd_mpu
[ 1.267559] Detected MACID=50:56:63:c6:f9:b1
[ 1.274164] omap_rtc omap_rtc: setting system clock to 2000-01-01 08:01:29 UTC (946713689)
[ 1.283588] Waiting for root device /dev/mmcblk0p2...
[ 1.324143] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.335217] mmc0: new high speed SDHC card at address 1234
[ 1.341811] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.349179] mmcblk0: p1 p2
[ 1.399071] kjournald starting. Commit interval 5 seconds
[ 1.415095] EXT3-fs (mmcblk0p2): using internal journal
[ 1.420610] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 1.427930] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.434735] Freeing init memory: 224K
[ 1.440459] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 1.453582] Backtrace:
[ 1.456209] [<c0017e90>] (dump_backtrace+0x0/0x10c) from [<c03d8e98>] (dump_stack+0x18/0x1c)
[ 1.465110] r6:c05b2120 r5:c055ac88 r4:c05b2120 r3:c057c2d0
[ 1.471100] [<c03d8e80>] (dump_stack+0x0/0x1c) from [<c03d8f00>] (panic+0x64/0x198)
[ 1.479189] [<c03d8e9c>] (panic+0x0/0x198) from [<c0008704>] (init_post+0x84/0xd4)
[ 1.487164] r3:cf816b80 r2:00000012 r1:0000fa98 r0:c049f2dc
[ 1.493158] r7:00000013
[ 1.495846] [<c0008680>] (init_post+0x0/0xd4) from [<c05238d0>] (kernel_init+0xf4/0x124)
[ 1.504376] r4:c05b1140 r3:00000018
[ 1.508174] [<c05237dc>] (kernel_init+0x0/0x124) from [<c00408a4>] (do_exit+0x0/0x6a8)


I tried this with and with/out having external 5v power. The results were the same. I just wanted to remove the possibility that the problem I encountered, namely a lack of an "init", was not a result of which power mode I started up with.

The Angstrom disk that shipped with the Bone has in its first and second partitions:
Quote:
themis beagle # ls -la /mnt/p1
total 3952
drwxr-xr-x 6 root root 16384 Dec 31 1969 .
drwxr-xr-x 12 root root 4096 Aug 27 22:04 ..
-rwxr-xr-x 1 root root 250 May 21 08:04 .apdisk
-rwxr-xr-x 1 root root 178 May 15 23:48 autorun.inf
drwxr-xr-x 4 root root 2048 May 16 08:29 Docs
drwxr-xr-x 5 root root 2048 May 16 08:29 Drivers
-rwxr-xr-x 1 root root 171 May 15 23:48 info.txt
-rwxr-xr-x 1 root root 5829 May 15 23:48 LICENSE.txt
-rwxr-xr-x 1 root root 37151 May 8 01:16 MLO
-rwxr-xr-x 1 root root 13901 May 15 23:48 README.htm
drwxr-xr-x 4 root root 2048 May 9 04:38 .Spotlight-V100
-rwxr-xr-x 1 root root 524288 Jun 18 04:04 test-file
drwxr-xr-x 2 root root 2048 May 9 04:38 .Trashes
-rwxr-xr-x 1 root root 4096 May 9 04:38 ._.Trashes
-rwxr-xr-x 1 root root 239744 May 8 01:16 u-boot.img
-rwxr-xr-x 1 root root 33 May 8 01:16 uEnv.txt
-rwxr-xr-x 1 root root 3179944 May 8 01:16 uImage
themis beagle #
themis beagle # ls -la /mnt/p2
total 88
drwxr-xr-x 19 root root 4096 May 8 00:16 .
drwxr-xr-x 12 root root 4096 Aug 27 22:04 ..
drwxr-xr-x 2 root root 4096 May 31 09:04 bin
drwxr-xr-x 2 root root 4096 Jun 18 02:51 boot
drwxr-xr-x 3 root root 4096 May 1 04:22 dev
drwxr-xr-x 60 root root 4096 Jun 18 02:52 etc
drwxr-sr-x 3 root root 4096 May 8 00:15 home
drwxr-xr-x 8 root root 4096 Jun 14 14:40 lib
drwx------ 2 root root 16384 May 8 03:42 lost+found
drwxr-xr-x 11 root root 4096 Jun 18 04:00 media
drwxr-xr-x 2 root root 4096 May 8 00:15 mnt
drwxr-xr-x 3 root root 4096 May 8 00:16 opt
drwxr-xr-x 2 root root 4096 May 1 04:22 proc
drwxr-xr-x 2 root root 4096 May 1 04:22 run
drwxr-xr-x 2 root root 4096 May 8 00:18 sbin
drwxr-xr-x 2 root root 4096 May 1 04:22 sys
drwxrwxrwt 2 root root 4096 May 15 14:12 tmp
drwxr-xr-x 12 root root 4096 Jun 14 12:27 usr
drwxr-xr-x 13 root root 4096 Jun 14 15:10 var
themis beagle #



So I'll read up on "init" in the Linux Documentation as the error message suggests. If anyone has any suggestions of pointers, please reply to this post.


Last edited by jlpoole on Tue Aug 28, 2012 12:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 476
Location: Salem, OR

PostPosted: Tue Aug 28, 2012 12:39 pm    Post subject: Reply with quote

The contents of the working shipped /etc/fstab are:
Quote:
themis beagle # cat /mnt/p2/etc/fstab
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
tmpfs /tmp tmpfs defaults 0 0
themis beagle #


I'm not sure if the above bears on the problem, but I thought it might be helpful to know about just in case it does.
Back to top
View user's profile Send private message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 476
Location: Salem, OR

PostPosted: Tue Aug 28, 2012 12:52 pm    Post subject: Reply with quote

I found the problem: my 2nd partition (which I had staged elsewhere at first and then copied) is not what it should be:
Quote:
themis beagle # mount /dev/sdb1 /mnt/p1
themis beagle # mount /dev/sdb2 /mnt/p2
themis beagle # ls -la /mnt/p2
total 28
drwxr-xr-x 4 root root 4096 Aug 27 22:05 .
drwxr-xr-x 12 root root 4096 Aug 27 22:04 ..
drwx------ 2 root root 16384 Aug 27 22:00 lost+found
drwxr-xr-x 19 root root 4096 Aug 27 22:02 p2
themis beagle #


The contents under "p2" are what should be at the top level. I'll fix and update this topic, marking as RESOLVED, if I succeed.
Back to top
View user's profile Send private message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 476
Location: Salem, OR

PostPosted: Tue Aug 28, 2012 12:59 pm    Post subject: Sample of Boot That Works Reply with quote

I moved the root directory up to the top of the 2nd partition and popped the modified SDHC card into the Beagle Bone and it booted up. For propriety, I'm included the boot sequence here for the curious:

Quote:

U-Boot SPL 2011.09-00047-g5c0406d (Aug 24 2012 - 11:17:04)
Texas Instruments Revision detection unimplemented
No daughter card present
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.09-00047-g5c0406d (Aug 24 2012 - 11:17:04)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt

15 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading uImage

2918112 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.1.0-00010-g66bfbd2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2918048 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.1.0-00010-g66bfbd2 (root@hermes) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.5, pie-0.4.7) ) #1 Fri Aug 24 11:29:42 PDT 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253796k/253796k available, 8348k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0523000 (5228 kB)
[ 0.000000] .init : 0xc0523000 - 0xc055b000 ( 224 kB)
[ 0.000000] .data : 0xc055c000 - 0xc05b1100 ( 341 kB)
[ 0.000000] .bss : 0xc05b1124 - 0xc05eb6a0 ( 234 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000192] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.059028] pid_max: default: 32768 minimum: 301
[ 0.059155] Security Framework initialized
[ 0.059258] Mount-cache hash table entries: 512
[ 0.059632] CPU: Testing write buffer coherency: ok
[ 0.064306] print_constraints: dummy:
[ 0.064681] NET: Registered protocol family 16
[ 0.065022] GPMC revision 6.0
[ 0.067072] OMAP GPIO hardware version 0.1
[ 0.069539] omap_l3_smx omap_l3_smx.0: couldn't find resource
[ 0.070037] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.073084] omap_i2c.1: alias fck already exists
[ 0.074607] omap2_mcspi.1: alias fck already exists
[ 0.074827] omap2_mcspi.2: alias fck already exists
[ 0.097743] bio: create slab <bio-0> at 0
[ 0.100243] SCSI subsystem initialized
[ 0.101929] usbcore: registered new interface driver usbfs
[ 0.102270] usbcore: registered new interface driver hub
[ 0.102485] usbcore: registered new device driver usb
[ 0.102840] registerd cppi-dma Intr @ IRQ 17
[ 0.102856] Cppi41 Init Done Qmgr-base(d083a000) dma-base(d0838000)
[ 0.102866] Cppi41 Init Done
[ 0.119152] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
[ 0.121204] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.122266] Switching to clocksource gp timer
[ 0.129108] Switched to NOHz mode on CPU #0
[ 0.137982] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.138183] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.139370] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using DMA, IRQ 18
[ 0.139558] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.140572] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using DMA, IRQ 19
[ 0.140982] NET: Registered protocol family 2
[ 0.141188] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.141491] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.141649] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.141743] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.141755] TCP reno registered
[ 0.141768] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.141791] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.141976] NET: Registered protocol family 1
[ 0.142265] RPC: Registered named UNIX socket transport module.
[ 0.142279] RPC: Registered udp transport module.
[ 0.142371] RPC: Registered tcp transport module.
[ 0.142382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.142606] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.155556] VFS: Disk quotas dquot_6.5.2
[ 0.155624] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.156188] msgmni has been set to 495
[ 0.156961] io scheduler noop registered
[ 0.156975] io scheduler deadline registered
[ 0.157039] io scheduler cfq registered (default)
[ 0.158010] Could not set LED4 to fully on
[ 0.173521] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.175224] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.660289] console [ttyO0] enabled
[ 0.664462] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.672162] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.679914] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.687637] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.695334] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.711552] brd: module loaded
[ 0.719819] loop: module loaded
[ 0.723559] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.730013] i2c-core: driver [tsl2550] using legacy resume method
[ 0.736483] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.802309] No daughter card found
[ 0.805898] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.821110] Board name: A335BONE
[ 0.824489] Board version: 00A6
[ 0.827762] The board is a AM335x Beaglebone.
[ 0.832652] omap_hsmmc.0: alias fck already exists
[ 0.840227] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.847293] omap2-nand driver initializing
[ 0.851809] OneNAND driver initializing
[ 0.902323] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 0.908781] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 0.915988] davinci_mdio.0: probed
[ 0.919541] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 0.928263] CAN device driver interface
[ 0.932263] CAN bus driver for Bosch D_CAN controller 1.0
[ 0.938616] usbcore: registered new interface driver cdc_ether
[ 0.944917] usbcore: registered new interface driver cdc_subset
[ 0.951139] Initializing USB Mass Storage driver...
[ 0.956436] usbcore: registered new interface driver usb-storage
[ 0.962728] USB Mass Storage support registered.
[ 0.967600] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.973257] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.981095] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.988202] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.995751] usb usb1: Product: MUSB HDRC host driver
[ 1.000929] usb usb1: Manufacturer: Linux 3.1.0-00010-g66bfbd2 musb-hcd
[ 1.007846] usb usb1: SerialNumber: musb-hdrc.1
[ 1.013399] hub 1-0:1.0: USB hub found
[ 1.017332] hub 1-0:1.0: 1 port detected
[ 1.022540] mousedev: PS/2 mouse device common for all mice
[ 1.029456] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.036168] omap_rtc: already running
[ 1.040220] i2c /dev entries driver
[ 1.083569] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.090287] cpuidle: using governor ladder
[ 1.095097] cpuidle: using governor menu
[ 1.102949] usbcore: registered new interface driver usbhid
[ 1.108773] usbhid: USB HID core driver
[ 1.113824] usbcore: registered new interface driver snd-usb-audio
[ 1.121931] ALSA device list:
[ 1.125092] No soundcards found.
[ 1.128638] oprofile: hardware counters not available
[ 1.133920] oprofile: using timer interrupt.
[ 1.138403] nf_conntrack version 0.5.0 (3965 buckets, 15860 max)
[ 1.145180] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.150838] TCP cubic registered
[ 1.154243] NET: Registered protocol family 17
[ 1.158888] can: controller area network core (rev 20090105 abi 8)
[ 1.165433] NET: Registered protocol family 29
[ 1.170069] can: raw protocol (rev 20090105)
[ 1.174535] can: broadcast manager protocol (rev 20090105 t)
[ 1.180481] Registering the dns_resolver key type
[ 1.185473] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.193491] ThumbEE CPU extension supported.
[ 1.198695] _regulator_get: mpu.0 supply mpu not found, using dummy regulator
[ 1.206265] omap2_set_init_voltage: Fail set voltage-dpll_mpu_ck(f=720000000 v=1260000)on vddmpu
[ 1.215452] omap2_set_init_voltage: unable to set vdd_mpu
[ 1.223106] Detected MACID=50:56:63:c6:f9:b1
[ 1.232255] omap_rtc omap_rtc: setting system clock to 2000-01-01 08:50:14 UTC (946716614)
[ 1.241533] Waiting for root device /dev/mmcblk0p2...
[ 1.273369] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.284342] mmc0: new high speed SDHC card at address 1234
[ 1.290743] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.297826] mmcblk0: p1 p2
[ 1.358049] kjournald starting. Commit interval 5 seconds
[ 1.374004] EXT3-fs (mmcblk0p2): using internal journal
[ 1.379469] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 1.386714] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.393319] Freeing init memory: 224K
INIT: version 2.88 booting

OpenRC 0.9.8.4 is starting up Gentoo Linux (armv7l)

* Mounting /proc ...
[ ok ]
* Mounting /run ...
[ ok ]
* /run/lock: creating directory
* /run/lock: correcting owner
* WARNING: rc_sys not defined in rc.conf. Falling back to automatic detection
* Caching service dependencies ...
[ ok ]
* Caching service dependencies ...
[ ok ]
* Clock skew detected with `/etc/conf.d/net'
* Adjusting mtime of `/lib/rc/init.d/deptree' to Tue Aug 28 02:11:33 2012
* Mounting /sys ...
[ ok ]
* Mounting debug filesystem ...
[ ok ]
* Mounting /dev ...
[ ok ]
* Starting udev ...
[ ok ]
* Populating /dev with existing devices through uevents ...
[ ok ]
* Waiting for uevents to be processed ...
[ ok ]
* Mounting /dev/pts ...
[ ok ]
* Mounting /dev/shm ...
[ ok ]
* WARNING: clock skew detected!
* Setting system clock using the hardware clock [UTC] ...
[ ok ]
* Autoloaded 0 module(s)
* Checking local filesystems ...
[ ok ]
* Updating /etc/mtab ...
[ ok ]
* Mounting local filesystems ...
[ ok ]
* Configuring kernel parameters ...
[ ok ]
* Creating user login records ...
[ ok ]
* Cleaning /var/run ...
[ ok ]
* Wiping /tmp directory ...
[ ok ]
* Setting hostname to localhost ...
[ ok ]
* Setting terminal encoding [UTF-8] ...
[ ok ]
* Setting keyboard mode [UTF-8] ...
[ ok ]
* Loading key mappings [us] ...
[ ok ]
* Bringing up interface lo
* Caching network module dependencies
* 127.0.0.1/8 ...
[ ok ]
* Adding routes
* 127.0.0.0/8 via 127.0.0.1 ...
[ ok ]
* Mounting USB device filesystem [usbfs] ...
[ ok ]
* Mounting misc binary format filesystem ...
[ ok ]
* Loading custom binary format handlers ...
[ ok ]
* Activating swap devices ...
[ ok ]
INIT: Entering runlevel: 3
* WARNING: clock skew detected!
* Mounting network filesystems ...
[ ok ]
* Doing udev cleanups
* Starting local
[ ok ]


This is localhost.unknown_domain (Linux armv7l 3.1.0-00010-g66bfbd2) 08:50:31

localhost login:


Thank you, armin76, for the helpful HowTo!
Back to top
View user's profile Send private message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 476
Location: Salem, OR

PostPosted: Tue Aug 28, 2012 7:24 pm    Post subject: Reply with quote

An update.

I'm now running Gentoo on the Beagle Bone:
Code:
bone ~ # uname -a
Linux bone 3.1.0-00010-g66bfbd2 #1 Fri Aug 24 11:29:42 PDT 2012 armv7l ARMv7 Processor rev 2 (v7l) am335xevm GNU/Linux
bone ~ #

I've been having some problems with the mini USB interface used for the serial console monitor, I had to get the interface working with the shipped Angstrom release first. (Note I have the Adafruit plexiglass mounting board which really is not far enough away from the Beagle Bone board to accommodate the black casing surrounding the USB Mini-B connector end of the USB cable -- I had to really nudge the Mini-B end into the board's socket... this could explain possibly an intermittent problem with the mini USB serial connection (weakened solder joint?). Windows 7 didn't work as a console source despite using their 64 bit drivers, the tutorial at Adafruit was outdated and did not apply to Windows 7. So I returned to my Inspiron laptop running Gentoo that was having problems identifying which /dev/ttyUSB0 or /dev/ttyUSB1 (or /dev/ttyUSB2) port would work with picocom or minicom. I finally got the connection to work.My most solid connection is via SSH.

Here's my minicom settings that work:
Quote:
themis ~ # cat .minirc.beagleboard
# Machine-generated file - use setup menu in minicom to change parameters.
pu port /dev/ttyUSB1
pu rtscts No
themis ~ #


The default installation plus app-misc/tmux consumes about 40% of a Kingston 4 GB SDHC card:
Code:
bone ~ # df
Filesystem     1K-blocks    Used Available Use% Mounted on
rootfs           3676352 1377316   2112284  40% /
/dev/root        3676352 1377316   2112284  40% /
tmpfs             127008     140    126868   1% /run
rc-svcdir           1024      44       980   5% /lib/rc/init.d
udev               10240       0     10240   0% /dev
shm               127008       0    127008   0% /dev/shm
bone ~ #


My research into the SD card specifications and the current Texas Instruments processor, 3359, on the Beagle Bone causes me to conclude that 32 GB Class 4 cards should work. I used the same model of Kingston Cards for my Gentoo installation as was shipped with the working Angstrom distribution in order to eliminate any card incompatibilities. I will try creating a card for Gentoo with a Kingston 16GB card, as well. The Class rating is limited to 4 as the ARM 3359 Processor will not accept anything higher than 48 Mhz, so Class 10 would exceed specifications. In theory, the classes should be backward compatible. Kingston does not make a 32 GB card with a Class 4 rating.

The May 2012 specifications from the ARM 3359 processor provide:
Quote:
Up to 48-MHz Data Transfer Rate
Complies with MMC4.3 and SD/SDIO 2.0 Specifications


For further reference on the SD card specifications, see http://en.wikipedia.org/wiki/Secure_Digital#SDIO

The forums for the Beagle Bone contained posting that described problems with various SD cards with no definitive statements as to what works and what doesn't. So I decided to take a close look at the specifications and determine what the critical parameters are for SD card selection.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum