.cm1_abe_timer8_clkctrl = 0x4a004580,
.cm1_abe_wdt3_clkctrl = 0x4a004588,
-
-
/* cm2.ckgen */
.cm_clksel_mpu_m3_iss_root = 0x4a008100,
.cm_clksel_usb_60mhz = 0x4a008104,
=============================================================================
-
##################################################
# Operation on the serial console (SMC1)
##############################
to hear from you if you succeed.
-
Details on the SPL
==================
remainder of u-boot and jumps to it.
-
The docg4's "reliable mode"
===========================
read in reliable mode, in the same fashion as the IPL.
-
Details on the IPL and its data format
======================================
of the IPL, and expects the image to be stored in the same format.
-
Instructions on Programming u-boot to flash
===========================================
flash using Linux running on the Treo.
-
Hardware Prerequisites
======================
to flash, you'll really want to use a Linux PC.
-
Treo-side Software Prerequisites
================================
parameters passed to the kernel.
-
Linux kernel:
The kernel on the Treo 680 is still a little rough around the edges, and the
and /dev/mtd2 for these partitions, respectively. Ensure that your root file
system at least has /dev/mtd1 if you are not running udev or mdev.
-
Userspace Utilities:
In addition to everything necessary to provide a useful userspace environment
from the mtd-utils package.
-
Desktop PC-side Software Prerequisites
======================================
Terminal emulator application:
minicom, kermit, etc.
-
Linux kernel:
Compiled with CONFIG_USB_SERIAL enabled. Build this as a module.
-
Recommended (Not directly related to u-boot)
============================================
mounting to avoid the need to run a portmapper like rpcbind.
-
Preliminaries
=============
If all of the above went well, you can now program u-boot.
-
Programming u-boot
==================
Shutdown linux, remove and re-insert the battery, hold your breath...
-
Enjoying u-boot
===============
corrected soon.
-
Customizing
===========
should be straightforward.
-
Restoring PalmOS
================
dd if=$1 bs=1 skip=$file_ofs count=540672 | nandwrite -o -n -s 0x80000 $2 - || exit 1
modprobe -r docg4
-
TODO
====
Thomas Koeller
-
-
The port was tested on a Sandpoint 8240 X3 board, with U-Boot
installed in the flash memory of the CPU card. Please use the
following DIP switch settings:
return f;
};
-
-
int clk_get(int clk)
{
return get_clk(&dpll_lcd_regs);
return 0;
}
-
-
#endif /* ifdef CONFIG_VIDEO */
#include "../common/board.c"
#
# SPDX-License-Identifier: GPL-2.0+
-
Glossary:
========
- UUID -(Universally Unique Identifier)
This document describes the GPT partition table format and usage of
the gpt command in u-boot.
-
UUID introduction:
====================
LBA -1 |Secondary GPT Header |
----------------------------------------------------------
-
For a legacy reasons, GPT's LBA 0 sector has a MBR structure. It is called
"protective MBR".
Its first partition entry ID has 0xEE value, and disk software, which is not
TOTAL: 512 B
-
IMPORTANT:
GPT headers and partition entries are protected by CRC32 (the POSIX CRC32).
Observe, how Secondary GPT is placed in the memory. It is NOT a mirror reflect
of the Primary.
-
Partition Entry Format:
----------------------
Offset Size Description
Bit 62 - Hidden
Bit 63 - Not mount
-
Creating GPT partitions in U-Boot:
==============
2. From u-boot prompt type:
gpt write mmc 0 $partitions
-
Useful info:
============
=> reset
-
Boot Linux from network using TFTP on P1010RDB
==============================================
Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
-pflash <filename> and erase mips_bios.bin.
-
Notes for the Qemu MIPS port
----------------------------
in near future.
-
III) Analysis of in-tree drivers
--------------------------------
* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause
*/
-
/*
* The Mass Storage Function acts as a USB Mass Storage device,
* appearing to the host as a disk drive or as a CD-ROM drive. In
* <http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf>.
*/
-
/*
* Driver Design
*
static const char fsg_string_interface[] = "Mass Storage";
-
#define FSG_NO_INTR_EP 1
#define FSG_NO_DEVICE_STRINGS 1
#define FSG_NO_OTG 1
return ret;
}
-
-
static void fsg_unbind(struct usb_configuration *c, struct usb_function *f)
{
struct fsg_dev *fsg = fsg_from_func(f);
#define CONFIG_DDR_CLK_FREQ 133333333
#define CONFIG_FSL_TBCLK_EXTRA_DIV 100
-
/*
* DDR Setup
*/
#define CONFIG_SYS_CS0_FTIM2 CONFIG_SYS_NOR_FTIM2
#define CONFIG_SYS_CS0_FTIM3 CONFIG_SYS_NOR_FTIM3
-
/* I2C */
#define CONFIG_SYS_FSL_I2C_SPEED 4000000 /* faster speed for emulator */
#define CONFIG_SYS_FSL_I2C2_SPEED 4000000
#define CONFIG_SYS_QE_FMAN_FW_LENGTH 0x10000
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
-
-
#define CONFIG_BOOTDELAY 0
/*
way around.
-
Simon Glass
sjg@chromium.org
Halloween 2012