Flash Failed then Can't Boot Anymore

OS : Ubuntu 12.04 64bit
Device : Cardhu
Flash package : Linux for Tegra release 16.3

I tried to flash ubuntu in Cradhu, but it always failed at send data to USB.
After several times trying, Cradhu can’t boot anymore, screen always show nothing, but it CAN enter APX mode.
How can I recover it!?
Thanks!

Recover it to what?

At least you should be able to flash the Ubuntu there after solving the USB problems since the APX mode works.

What error are you getting with USB? Did you try with sudo?

Recover to normal booting…

There is the same situation when I try to flash Android JB use windows.
The “NVIDIA USB Boot-recovery driver for Mobile devices” is checked in device manager, but can’t flash in image. the message is below. crash the partition? how to fix it? thanks!

================================================
[i]C:\NVPACK\Android_OS_Images\Cardhu\android_j_cardhu_os_image-16.0r0>nvflash.exe
–bct flash.bct --setbct --odmdata 0x40080000 --configfile flash.cfg --create –
bl bootloader.bin --go
Nvflash v2.3.105430 started
chip uid from BR is: 0x0000000000000000015c7b47e927fc14
rcm version 0X30001
System Information:
chip name: unknown
chip id: 0x30 major: 1 minor: 3
chip sku: 0x81
chip uid: 0x0000000000000000015c7b47e927fc14
macrovision: disabled
hdcp: enabled
jtag: enabled
sbk burned: false
board id: 0
dk burned: false
boot device: emmc
operating mode: 3
device config strap: 0
device config fuse: 0
sdram config strap: 1

sending file: flash.bct

  • 6128/6128 bytes sent
    flash.bct sent successfully
    odm data: 0x40080000
    downloading bootloader – load address: 0x80108000 entry point: 0x80108000
    sending file: bootloader.bin
    data send failed NvError 0x120002
    command failure: bootloader download failed (bad data)

C:\NVPACK\Android_OS_Images\Cardhu\android_j_cardhu_os_image-16.0r0>[/i]

Finally I got the device back to live! The root course is the correct memory type for flashing.

Nidia guy gave me a correct flash.bct file then it works! It;s running Android JB now. Thanks Nvidia.

But I am still trying to flash Ubuntu into Cardhu and not works now…><
It stock at mount filesystem failed…
And is there any one have reference ambient light driver for ubuntu?

THANKS!!!

Ubuntu needs to be flashed from Linux machine. Use Ubuntu 12.04 or 12.10. Follow the instructions on L4T page. Pay attention to the tar switches when unpacking rootfs to avoid boot failures

There is a number of ALS drivers in the Linux kernel. What device are you trying to support?

Thanks Alexfeinman!

Here is my configuration:

OS : Ubuntu 12.04 64bit
Device : Tegra 3 - Cardhu
Flash package : Linux for Tegra release 16.3 - can’t mount filesystem
Flash package : Linux for Tegra release 15 - stock on “tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM”

I want to build a sample Ambient Light Sensor driver for Ubuntu base on Cardhu, It has i2c interface to mount my IC for testing.
How should I getting start? reference driver code?
Can I mount ALS driver on runtime mode for testing? or I should build driver in kernel then flash in for trying?

Thanks!

update :

Flash package : Linux for Tegra release 15 - stock on


[7.492943] Freeing init memory : 380K
[8.801312] tegra-otg tegra-otg: PERIPHERAL --> SUSPEND

didn’t insert any peripheral into Cardhu…

Update Again :


[7.492943] Freeing init memory : 380K
[8.801312] tegra-otg tegra-otg: PERIPHERAL --> SUSPEND
[607.779587] tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM
[1386.xxxxx] tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM
[2330.xxxxx] tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM