./mk_mmc.sh --mmc /dev/sdb -dtb omap3-beagle-xm --distro wheezy-armf

This seemed to all work fine but when I put it in to the BBxm nothing 
happened.

See attached.

Cheers
Charlie

On Wednesday, January 1, 2014 6:24:36 PM UTC, RobertCNelson wrote:
>
> On Wed, Jan 1, 2014 at 12:19 PM, charlie <[email protected]<javascript:>> 
> wrote: 
> > I have had my BBxm up and runnning for some months and yesterday whilst 
> > trying OpenHab it crashed and when rebooted it says: 
> > /bin/sh:cant access tty; job control turned off 
> > (initramfs) 
> > 
> > I tried creating another debian installation on a sd micro 8GB card 
> using 
> > RobertCNelson installation script which I used to create the original 
> but 
> > fails to even boot. 
>
> I don't have anything called "installation script"... Care to 
> re-phrase "exactly" what you did? 
>
> > Is my BBxm broken? 
>
> Of course it is! 
>
> So using "pastebin.com" show us your serial boot log.. 
>
> Regards, 
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
charles@charles-laptop:~/flash-omap/netinstall$ sudo ./mk_mmc.sh --mmc /dev/sdb 
--dtb omap3-beagle-xm --distro wheezy-armhf

I see...
fdisk -l:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
Disk /dev/sdb: 7822 MB, 7822376960 bytes

mount:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sdb1 on /media/boot type vfat 
(rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)

Are you 100% sure, on selecting [/dev/sdb] (y/n)? y


Script Version git: 3377322
-----------------------------

Downloading Device's Bootloader
-----------------------------
2014-01-01 17:59:46 URL:http://rcn-ee.net/deb/tools/latest//bootloader-ng 
[4877/4877] -> "/tmp/tmp.ubppHmQN8l/dl/bootloader-ng" [1]
2014-01-01 17:59:47 
URL:http://rcn-ee.net/deb/tools/omap3_beagle/MLO-omap3_beagle-v2013.07-r2 
[49148/49148] -> "/tmp/tmp.ubppHmQN8l/dl/MLO-omap3_beagle-v2013.07-r2" [1]
SPL Bootloader: MLO-omap3_beagle-v2013.07-r2
--2014-01-01 17:59:47--  
http://rcn-ee.net/deb/tools/omap3_beagle/u-boot-omap3_beagle-v2013.07-r2.img
Resolving rcn-ee.net (rcn-ee.net)... 69.163.128.251
Connecting to rcn-ee.net (rcn-ee.net)|69.163.128.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 348776 (341K) [text/plain]
Saving to: `/tmp/tmp.ubppHmQN8l/dl/u-boot-omap3_beagle-v2013.07-r2.img'

100%[======================================>] 348,776      126K/s   in 2.7s    

2014-01-01 17:59:50 (126 KB/s) - 
`/tmp/tmp.ubppHmQN8l/dl/u-boot-omap3_beagle-v2013.07-r2.img' saved 
[348776/348776]

UBOOT Bootloader: u-boot-omap3_beagle-v2013.07-r2.img

Downloading Device's Kernel Image
-----------------------------
2014-01-01 17:59:51 URL:http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap 
[230/230] -> "/tmp/tmp.ubppHmQN8l/dl/LATEST-omap" [1]
2014-01-01 17:59:51 URL:http://rcn-ee.net/deb/wheezy-armhf/v3.7.10-x13/ 
[1275/1275] -> "/tmp/tmp.ubppHmQN8l/dl/index.html" [1]
--2014-01-01 17:59:51--  
http://rcn-ee.net/deb/wheezy-armhf/v3.7.10-x13/linux-image-3.7.10-x13_1.0wheezy_armhf.deb
Resolving rcn-ee.net (rcn-ee.net)... 69.163.128.251
Connecting to rcn-ee.net (rcn-ee.net)|69.163.128.251|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

--2014-01-01 17:59:52--  
http://rcn-ee.net/deb/wheezy-armhf/v3.7.10-x13/3.7.10-x13-firmware.tar.gz
Resolving rcn-ee.net (rcn-ee.net)... 69.163.128.251
Connecting to rcn-ee.net (rcn-ee.net)|69.163.128.251|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

--2014-01-01 17:59:52--  
http://rcn-ee.net/deb/wheezy-armhf/v3.7.10-x13/3.7.10-x13-dtbs.tar.gz
Resolving rcn-ee.net (rcn-ee.net)... 69.163.128.251
Connecting to rcn-ee.net (rcn-ee.net)|69.163.128.251|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

Using Kernel: linux-image-3.7.10-x13_1.0wheezy_armhf.deb
Using DTBS: 3.7.10-x13-dtbs.tar.gz

Downloading NetInstall Image
-----------------------------
Note: NetInstall has u-boot header, removing...
-----------------------------
68710+1 records in
68710+1 records out
4397453 bytes (4.4 MB) copied, 0.459641 s, 9.6 MB/s
-----------------------------
md5sum of NetInstall: 46a4f9de68824c9852b89f3566b89a49

Clone/Pulling linux-firmware.git
-----------------------------
Already up-to-date.
-----------------------------
Adding Firmware for onboard WiFi/Bluetooth module
-----------------------------

NetInstall: Creating Custom Image
-----------------------------
NetInstall: Extracting Base initrd.gz
19645 blocks
NetInstall: Removing Optional Stuff to Save RAM Space
NetInstall: Adding Distro Tweaks and Preseed Configuration
`/home/charles/flash-omap/netinstall/scripts/debian-finish.sh' -> 
`/tmp/tmp.ubppHmQN8l/initrd-tree/etc/finish-install.sh'
`/home/charles/flash-omap/netinstall/scripts/wheezy-preseed.cfg' -> 
`/tmp/tmp.ubppHmQN8l/initrd-tree/preseed.cfg'
NetInstall: Extracting Kernel Boot Image
NetInstall: Adding Device Tweaks
NetInstall: Compressing initrd image
77791 blocks

Unmounting Partitions
-----------------------------

Using fdisk to create an omap compatible fatfs BOOT partition
-----------------------------

Command (m for help): Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): Partition number (1-4, default 1): First sector 
(2048-15278079, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): 
Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to e (W95 
FAT16 (LBA))

Command (m for help): 
Disk /dev/sdb: 7822 MB, 7822376960 bytes
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a4a53

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048      133119       65536    e  W95 FAT16 (LBA)

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
Setting Boot Partition's Boot Flag
-----------------------------
Formating Boot Partition
-----------------------------
mkfs.vfat 3.0.12 (29 Oct 2011)
Populating Boot Partition
-----------------------------
`/tmp/tmp.ubppHmQN8l/dl/MLO-omap3_beagle-v2013.07-r2' -> 
`/tmp/tmp.ubppHmQN8l/disk/MLO'
`/tmp/tmp.ubppHmQN8l/dl/MLO-omap3_beagle-v2013.07-r2' -> 
`/tmp/tmp.ubppHmQN8l/disk/backup/MLO'
-----------------------------
`/tmp/tmp.ubppHmQN8l/dl/u-boot-omap3_beagle-v2013.07-r2.img' -> 
`/tmp/tmp.ubppHmQN8l/disk/u-boot.img'
`/tmp/tmp.ubppHmQN8l/dl/u-boot-omap3_beagle-v2013.07-r2.img' -> 
`/tmp/tmp.ubppHmQN8l/disk/backup/u-boot.img'
-----------------------------
Copying Kernel image:
`/tmp/tmp.ubppHmQN8l/kernel/boot/vmlinuz-3.7.10-x13' -> 
`/tmp/tmp.ubppHmQN8l/disk/zImage.net'
`/tmp/tmp.ubppHmQN8l/kernel/boot/vmlinuz-3.7.10-x13' -> 
`/tmp/tmp.ubppHmQN8l/disk/vmlinuz'
-----------------------------
Copying Kernel initrd:
`/tmp/tmp.ubppHmQN8l/initrd.mod.gz' -> `/tmp/tmp.ubppHmQN8l/disk/initrd.net'
-----------------------------
Copying Device Tree Files:
am335x-bone.dtb
am335x-bonelt.dtb
am335x-evm.dtb
omap2420-h4.dtb
omap3-beagle-xm.dtb
omap3-evm.dtb
omap3-tobi.dtb
omap4-panda.dtb
omap4-pandaES.dtb
omap4-sdp.dtb
omap4-var_som.dtb
omap5-evm.dtb
`/home/charles/flash-omap/netinstall/dl/wheezy-armhf/3.7.10-x13-dtbs.tar.gz' -> 
`/tmp/tmp.ubppHmQN8l/disk/3.7.10-x13-dtbs.tar.gz'
-----------------------------
Copying uEnv.txt based boot scripts to Boot Partition
Net Install Boot Script:
`/tmp/tmp.ubppHmQN8l/bootscripts/netinstall.cmd' -> 
`/tmp/tmp.ubppHmQN8l/disk/uEnv.txt'
-----------------------------
kernel_file=zImage.net
initrd_file=initrd.net

#Video: Uncomment to override U-Boots value:
#defaultdisplay=dvi
#dvimode=1280x720MR-16@601
#vram=12MB

console=tty0

mmcroot=/dev/ram0 rw

xyz_load_image=fatload mmc 0:1 0x80300000 ${kernel_file}
xyz_load_initrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv initrd_size 
${filesize}
xyz_load_dtb=fatload mmc 0:1 0x815f0000 /dtbs/${dtb_file}

xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc ...

video_args=setenv video vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} 
omapdss.def_disp=${defaultdisplay}
device_args=run video_args; run expansion_args; run mmcargs
mmcargs=setenv bootargs console=${console} ${optargs} ${video} root=${mmcroot} 
${expansion}

expansion_args=setenv expansion buddy=${buddy} buddy2=${buddy2}
loaduimage=run xyz_mmcboot; run device_args; bootz 0x80300000 
0x81600000:${initrd_size}

-----------------------------
Normal Boot Script:
`/tmp/tmp.ubppHmQN8l/bootscripts/normal.cmd' -> 
`/tmp/tmp.ubppHmQN8l/disk/backup/normal.txt'
-----------------------------
kernel_file=zImage
initrd_file=initrd.img

#Video: Uncomment to override U-Boots value:
#defaultdisplay=dvi
#dvimode=1280x720MR-16@601
#vram=12MB

console=ttyO2,115200n8

mmcroot=FINAL_PART ro
mmcrootfstype=FINAL_FSTYPE rootwait fixrtc

xyz_load_image=fatload mmc 0:1 0x80300000 ${kernel_file}
xyz_load_initrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv initrd_size 
${filesize}
xyz_load_dtb=fatload mmc 0:1 0x815f0000 /dtbs/${dtb_file}

xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc ...

video_args=setenv video vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} 
omapdss.def_disp=${defaultdisplay}
device_args=run video_args; run expansion_args; run mmcargs
mmcargs=setenv bootargs console=${console} ${optargs} ${video} root=${mmcroot} 
rootfstype=${mmcrootfstype} ${expansion}

optargs=console=tty0
expansion_args=setenv expansion buddy=${buddy} buddy2=${buddy2}
loaduimage=run xyz_mmcboot; run device_args; bootz 0x80300000 
0x81600000:${initrd_size}

-----------------------------
`/home/charles/flash-omap/netinstall/dl/wheezy-armhf/linux-image-3.7.10-x13_1.0wheezy_armhf.deb'
 -> `/tmp/tmp.ubppHmQN8l/disk/linux-image-3.7.10-x13_1.0wheezy_armhf.deb'
Debug:
#!/bin/sh
format=1.0
board=BEAGLEBOARD_XM

bootloader_location=fatfs_boot
dd_spl_uboot_seek=
dd_spl_uboot_bs=
dd_uboot_seek=
dd_uboot_bs=

boot_image=bootz
boot_script=uEnv.txt
boot_fstype=fat

serial_tty=ttyO2
kernel_addr=0x80300000
initrd_addr=0x81600000
load_addr=0x80008000
dtb_addr=0x815f0000
dtb_file=

usbnet_mem=16384

Debug: Adding Useful scripts from: https://github.com/RobertCNelson/tools
-----------------------------
Cloning into '/tmp/tmp.ubppHmQN8l/disk/tools'...
remote: Reusing existing pack: 1114, done.
remote: Total 1114 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1114/1114), 175.50 KiB, done.
Resolving deltas: 100% (619/619), done.
-----------------------------
Debug: Contents of Boot Partition
-----------------------------
total 40M
-rwxr-xr-x  1 root root  16K Jan  1 18:01 3.7.10-x13-dtbs.tar.gz
drwxr-xr-x  2 root root 2.0K Jan  1 18:01 backup
drwxr-xr-x  2 root root 2.0K Jan  1 18:01 dtbs
-rwxr-xr-x  1 root root  16M Jan  1 18:01 initrd.net
-rwxr-xr-x  1 root root  18M Jan  1 18:01 
linux-image-3.7.10-x13_1.0wheezy_armhf.deb
-rwxr-xr-x  1 root root  48K Jan  1 18:01 MLO
-rwxr-xr-x  1 root root  327 Jan  1 18:01 SOC.sh
drwxr-xr-x 11 root root 2.0K Jan  1 18:01 tools
-rwxr-xr-x  1 root root 341K Jan  1 18:01 u-boot.img
-rwxr-xr-x  1 root root  892 Jan  1 18:01 uEnv.txt
-rwxr-xr-x  1 root root 3.3M Jan  1 18:01 vmlinuz
-rwxr-xr-x  1 root root 3.3M Jan  1 18:01 zImage.net
-----------------------------
Finished populating Boot Partition
-----------------------------
mk_mmc.sh script complete
Script Version git: 3377322
-----------------------------
Note: Ubuntu Releases
During Install, after proxy setup, there seems to be a LONG delay...
(worst case 5 minutes on my Beagle xM)...
Currently Investigating...
-----------------------------

Reply via email to