您尚未登录。

楼主 #1 2019-07-10 15:01:03

as86455011
会员
注册时间: 2018-11-20
已发帖子: 32
积分: 3

25元的矿渣BeagleBone Black_NAND版AM335x

前几天找了一下这款BeagleBone Black开发板,找着找着找到这玩意,买了2块回来,一块70元(带电源、原理图、补焊了USB),一块25元(缺usb外围原件)

CPU:AM3352
内存:256M
ROM: 256M NAND
百兆网口

跟中国版BeagleBone Black有什么区别?
1、阉割HDMI,保留RGB;
2、eMMC改为NAND,GPMC挂着NAND,GPMC挂并口设备爽啊!


我的用处:GPMC接口挂NAND和2片CH438 8串口芯片,一共16串口。
目标:
刷回原来的uboot以及内核,官方的SDK
挂上2片ch438,实现外挂16串口。

原理图
https://whycan.cn/files/members/1261/LS_BBB_SCH.pdf


实物图

BB1

BB2

TTL启动信息,启动内核后,省略了。

U-Boot SPL 2013.04-dirty (Aug 04 2014 - 11:06:44)
Control_status {00420313}
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
default->A335BNLT.
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
CONFIG_SYS_NAND_U_BOOT_OFFS:80000
CONFIG_SYS_NAND_PAGE_SIZE:800
spl_image.size:5cd2c
spl_image.load_addr:807fffc0
image entry point: 0x80800000


U-Boot 2013.04-dirty (Jan 04 2015 - 17:08:05)

I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Press ESC to abort autoboot in 1 seconds
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
No micro SD card found, setting mmcdev to 1
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc1(part 0) is current device
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x500000
 5242880 bytes read: OK
gpio: pin 54 (gpio 54) value is 1

NAND read: device 0 offset 0x800000, size 0x1400000
 20971520 bytes read: OK
gpio: pin 55 (gpio 55) value is 1

NAND read: device 0 offset 0x260000, size 0x20000
 131072 bytes read: OK
gpio: pin 56 (gpio 56) value is 1
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-3.8.13
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4403504 Bytes = 4.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81000000 ...
   Image Name:   Angstrom-antminer_mm-eglibc-ipk-
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    15146094 Bytes = 14.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 8e3c5000, end 8f236c6e ... OK
   Using Device Tree in place at 80f80000, end 80f886ed

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.8.13 (xxl@armdev01) (gcc version 4.7.4 20130626 (prerelease) (Linaro GCC 4.7-2013.07) ) #22 SMP Tue Dec 2 15:26:11 CST 2014
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (neon )
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0934000 s9408 r8192 d15168 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
[    0.000000] Kernel command line: console=ttyO0,115200n8 init=/sbin/init
[    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] __ex_table already sorted, skipping sort
[    0.000000] allocated 524288 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 255MB = 255MB total
[    0.000000] Memory: 236120k/236120k available, 26024k 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]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0612cf0   (6188 kB)
[    0.000000]       .init : 0xc0613000 - 0xc06554c0   ( 266 kB)
[    0.000000]       .data : 0xc0656000 - 0xc06cc020   ( 473 kB)
[    0.000000]        .bss : 0xc06cc020 - 0xc0725e3c   ( 360 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000354] Calibrating delay loop... 545.07 BogoMIPS (lpj=531968)
[    0.015410] pid_max: default: 32768 minimum: 301
[    0.015639] Security Framework initialized
[    0.015734] Mount-cache hash table entries: 512
[    0.025665] Initializing cgroup subsys cpuacct
[    0.025697] Initializing cgroup subsys memory
[    0.025761] Initializing cgroup subsys blkio
[    0.025907] CPU: Testing write buffer coherency: ok
[    0.026435] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.026510] Setting up static identity map for 0x8038c820 - 0x8038c86c
[    0.027897] Brought up 1 CPUs
[    0.027922] SMP: Total of 1 processors activated (545.07 BogoMIPS).
[    0.029221] devtmpfs: initialized
[    0.093751] pinctrl core: initialized pinctrl subsystem
[    0.093968] rstctl core: initialized rstctl subsystem
[    0.094459] regulator-dummy: no parameters
[    0.094968] NET: Registered protocol family 16
[    0.095734] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.105515] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.106286] platform 49000000.edma: alias fck already exists
[    0.106319] platform 49000000.edma: alias fck already exists
[    0.106347] platform 49000000.edma: alias fck already exists
[    0.107740] OMAP GPIO hardware version 0.1
[    0.112423] gpio-rctrl rstctl.3: loaded OK
[    0.117241] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.120488] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.122691] cpsw.0: No hwaddr in dt. Using 88:c2:55:85:c5:a7 from efuse
[    0.122723] cpsw.1: No hwaddr in dt. Using 88:c2:55:85:c5:a9 from efuse
[    0.138241] bio: create slab <bio-0> at 0
[    0.150432] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.150886] vmmcsd_fixed: 3300 mV 
[    0.153952] SCSI subsystem initialized
[    0.154443] usbcore: registered new interface driver usbfs
[    0.154576] usbcore: registered new interface driver hub
[    0.154849] usbcore: registered new device driver usb
[    0.156910] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    0.158434] input: tps65217_pwr_but as /devices/ocp.2/44e0b000.i2c/i2c-0/0-0024/input/input0
[    0.160657] DCDC1: at 1500 mV 
[    0.161801] vdd_mpu: 925 <--> 1325 mV at 1100 mV 
[    0.162990] vdd_core: 925 <--> 1150 mV at 1100 mV 
[    0.164095] LDO1: at 1800 mV 
[    0.165170] LDO2: at 3300 mV 
[    0.167113] LDO3: 1800 mV 
[    0.168231] LDO4: at 3300 mV 
[    0.169220] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    0.169970] omap_i2c 44e0b000.i2c: unable to select pin group
[    0.170702] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[    0.173047] omap_i2c 4819c000.i2c: unable to select pin group
[    0.173289] media: Linux media interface: v0.10
[    0.173393] Linux video capture interface: v2.00
[    0.173516] pps_core: LinuxPPS API ver. 1 registered
[    0.173532] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.174364] Advanced Linux Sound Architecture Driver Initialized.
[    0.175513] Switching to clocksource gp_timer
[    0.193853] NET: Registered protocol family 2
[    0.194864] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.194954] TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
[    0.195045] TCP: Hash tables configured (established 2048 bind 2048)
[    0.195139] TCP: reno registered
[    0.195233] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.195283] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.195701] NET: Registered protocol family 1
[    0.196264] RPC: Registered named UNIX socket transport module.
[    0.196285] RPC: Registered udp transport module.
[    0.196299] RPC: Registered tcp transport module.
[    0.196312] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.196687] Trying to unpack rootfs image as initramfs...
[    2.123757] Freeing initrd memory: 14788K
[    2.124427] CPU PMU: probing PMU on CPU 0
[    2.124460] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    2.125068] omap2_mbox_probe: platform not supported
[    2.128961] VFS: Disk quotas dquot_6.5.2
[    2.129197] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.130494] NFS: Registering the id_resolver key type
[    2.130588] Key type id_resolver registered
[    2.130606] Key type id_legacy registered
[    2.130674] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.131197] msgmni has been set to 490
[    2.133992] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.134017] io scheduler noop registered
[    2.134033] io scheduler deadline registered
[    2.134084] io scheduler cfq registered (default)
[    2.135885] tps65217-bl tps65217-bl: no platform data provided
[    2.135925] tps65217-bl: probe of tps65217-bl failed with error -22
[    2.136889] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.139518] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[    2.139808] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[    2.856985] console [ttyO0] enabled
[    2.861845] [drm] Initialized drm 1.1.0 20060810
[    2.880479] brd: module loaded
[    2.890794] loop: module loaded
[    2.894253] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.901541] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.908811] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.916079] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.923348] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.958895] bone-capemgr bone_capemgr.8: bone: scan failed (1 time)

最近编辑记录 as86455011 (2019-07-10 15:06:10)

离线

楼主 #2 2019-07-10 15:04:02

as86455011
会员
注册时间: 2018-11-20
已发帖子: 32
积分: 3

Re: 25元的矿渣BeagleBone Black_NAND版AM335x

25元 是在闲鱼买的,加上邮费35元。BB_Black_V1.6

不要买1.5的,不要买1.5的,不要买1.5的

另外好像是发错版块了,晕哥帮忙操作一下,谢谢!

最近编辑记录 as86455011 (2019-07-10 15:07:11)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn